From nobody Sun Apr 16 22:44:55 2023 X-Original-To: fortran@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q04xz4n4Pz44qQn for ; Sun, 16 Apr 2023 22:44:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q04xz2YVLz3q4m for ; Sun, 16 Apr 2023 22:44:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681685095; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ms3dNcF9njxlrvT7iBC6ZGRPbEZ/R1H+pjMyFvSOupQ=; b=YfgNtzbrf6s+EDfKarlnhCyPk2FPNQkX/ALhk1dtGcLLCS5x++Lu1fbhtjyxNuKK5sGMfW dKyEa8BmUM7S3z/VeRWvewwp7wjH11TBUFcWO1sKJ4+VnIKkBnBs96Y72JvjF8S059XP// BIswKkzaOlxe/VcQ5cH7oVvOTc2f7OPNXqnEWSgwLtDu42QabfF9ZJ1nVmROk4nsebLYx1 +GZhej/0X32hrkf0ynWjwXuCXiyMzg4dKId/Q8u0IXvGKZAEBSjxXIqT3CxVZBkbBrYU1C DAYSp8m3F/fVk7ojERxfjhngr4Qnq24FVCDhb1RN0tdI+oh/jQWceHimJkbpMA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681685095; a=rsa-sha256; cv=none; b=nLadNxMYCsxIikErvIHadQSbYI+iMEFkgAPgMB0nE8m0fTfqu2YWpi4FqVDstrjepWi+mm DfWlTXfGzzUkauRJ8FJvFB5tAR7LS466/0Q5xRHm+zygVxw4N4DF+Z1UP5quKvK3NpepRm i3SPCj+JWXmSaRw8WRBxeJXC7op++a9StjfAuxDC7EcJhSwDl35hlfaOPKA/yV5UtGOrHh yfjumSCRAoByw2HVgEyGYeA99Akrym/ZEIVzGzdHVOo0fZghAbbM4+MkJBiFZFt0hldsLV GrRaevkaWAxlC5DHBe3iqZ7KjhMuGJfgWIfmGHMiddaizoMXfZvotvtnqQF74A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q04xz1fWHz156k for ; Sun, 16 Apr 2023 22:44:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 33GMitSn062706 for ; Sun, 16 Apr 2023 22:44:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33GMitjL062705 for fortran@FreeBSD.org; Sun, 16 Apr 2023 22:44:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: fortran@FreeBSD.org Subject: maintainer-feedback requested: [Bug 270890] lang/f2c getarg_.c:17:14: error: unknown type name 'ftnint' Date: Sun, 16 Apr 2023 22:44:55 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fortran@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Fortran on FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-fortran List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fortran@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N Bugzilla Automation has asked freebsd-fortran (Nobod= y) for maintainer-feedback: Bug 270890: lang/f2c getarg_.c:17:14: error: unknown type name 'ftnint' https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270890 --- Description --- 13.2 amd64, both in poudriere and live system building last major dependency to finish upgrading some ports, but i cannot get it built. It has this same set of failures in poudriere and from ports. not su= re what is causing the issue, seems to be a header problem, but the f2c.h head= er exists and is defining the missing types. cc -c -O2 -pipe -march=3Dwestmere -fstack-protector-strong -fno-strict-ali= asing=20 -fPIC -Donexit=3Don_exit -DSkip_f2c_Undefs main.c cc -c -DSkip_f2c_Undefs -O2 -pipe -march=3Dwestmere -fstack-protector-stro= ng -fno-strict-aliasing -fPIC s_rnge.c cc -c -DSkip_f2c_Undefs -O2 -pipe -march=3Dwestmere -fstack-protector-stro= ng -fno-strict-aliasing -fPIC abort_.c cc -c -DSkip_f2c_Undefs -O2 -pipe -march=3Dwestmere -fstack-protector-stro= ng -fno-strict-aliasing -fPIC exit_.c cc -c -DSkip_f2c_Undefs -O2 -pipe -march=3Dwestmere -fstack-protector-stro= ng -fno-strict-aliasing -fPIC getarg_.c cc -c -DSkip_f2c_Undefs -O2 -pipe -march=3Dwestmere -fstack-protector-stro= ng -fno-strict-aliasing -fPIC iargc_.c cc -c -DSkip_f2c_Undefs -O2 -pipe -march=3Dwestmere -fstack-protector-stro= ng -fno-strict-aliasing -fPIC getenv_.c cc -c -DSkip_f2c_Undefs -O2 -pipe -march=3Dwestmere -fstack-protector-stro= ng -fno-strict-aliasing -fPIC signal_.c cc -c -DSkip_f2c_Undefs -O2 -pipe -march=3Dwestmere -fstack-protector-stro= ng -fno-strict-aliasing -fPIC s_stop.c getarg_.c:17:14: error: unknown type name 'ftnint' void getarg_(ftnint *n, char *s, ftnlen ls) ^ getarg_.c:17:34: error: unknown type name 'ftnlen' void getarg_(ftnint *n, char *s, ftnlen ls) ^ 2 errors generated. s_rnge.c:13:8: error: unknown type name 'VOID' extern VOID sig_die(const char*,int); ^ gmake[1]: *** [Makefile:22: getarg_.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... s_rnge.c:14:1: error: unknown type name 'integer' integer s_rnge(char *varn, ftnint offset, char *procn, ftnint line) ^ iargc_.c:9:1: error: unknown type name 'ftnint' ftnint iargc_(void) ^ s_rnge.c:14:28: error: unknown type name 'ftnint' integer s_rnge(char *varn, ftnint offset, char *procn, ftnint line) ^ 1 error generated. s_rnge.c:14:56: error: unknown type name 'ftnint' integer s_rnge(char *varn, ftnint offset, char *procn, ftnint line) ^ 4 errors generated. exit_.c:30:7: error: unknown type name 'integer' exit_(integer *rc) ^ gmake[1]: *** [Makefile:22: iargc_.o] Error 1 1 error generated. gmake[1]: *** [Makefile:22: s_rnge.o] Error 1 gmake[1]: *** [Makefile:22: exit_.o] Error 1 ld -r -x -o abort_.xxx abort_.o getenv_.c:11:31: error: expected identifier extern char *F77_aloc(ftnlen, const char*); ^ getenv_.c:31:35: error: unknown type name 'ftnlen' getenv_(char *fname, char *value, ftnlen flen, ftnlen vlen) ^ signal_.c:7:2: error: getenv_.c:unknown type name 'ftnint'31: 48: error: unknown type name 'ftnlen' ftnint ^ getenv_(char *fname, char *value, ftnlen flen, ftnlen vlen) ^ getenv_.c:35:2: error: use of undeclared identifier 'integer' integer i; ^ signal_.c:11:9: error: unknown type name 'integer' signal_(integer *sigp, sig_pf proc) ^ getenv_.c:39:6: error: use of undeclared identifier 'i' for(i =3D 0; i < sizeof(buf); i++) { ^ s_stop.c:20:21: error: unknown type name 'ftnlen' int s_stop(char *s, ftnlen n) ^ getenv_.c:39:13: error: use of undeclared identifier 'i' for(i =3D 0; i < sizeof(buf); i++) { ^ getenv_.c:39:30: error: use of undeclared identifier 'i' for(i =3D 0; i < sizeof(buf); i++) { ^ signal_.c:17:10: error: use of undeclared identifier 'ftnint' return (ftnint)signal(sig, proc); ^ getenv_.c:40:7: error: use of undeclared identifier 'i' if (i =3D=3D flen || (buf[i] =3D fname[i]) =3D=3D ' ') { ^ 3 errors generated. getenv_.c:40:25: error: use of undeclared identifier 'i' 1gmake[1]: *** [Makefile:23: signal_.o] Error 1 error generated. if (i =3D=3D flen || (buf[i] =3D fname[i]) =3D=3D ' ') { ^ getenv_.c:40:36: error: use of undeclared identifier 'i' if (i =3D=3D flen || (buf[i] =3D fname[i]) =3D=3D ' ') { ^ getenv_.c:41:8: error: use of undeclared identifier 'i' buf[i] =3D 0; ^ getenv_.c:46:8: error: use of undeclared identifier 'i' while(i < flen && fname[i] !=3D ' ') ^ getenv_.c:46:26: error: use of undeclared identifier 'i' while(i < flen && fname[i] !=3D ' ') ^ mv abort_.xxx abort_.o getenv_.c:47:3: error: use of undeclared identifier 'i' i++; ^ getenv_.c:48:53: error: use of undeclared identifier 'i' strncpy(fp =3D F77_aloc(i+1, "getenv_"), fname, (int)i); ^ getenv_.c:48:24: error: use of undeclared identifier 'i' strncpy(fp =3D F77_aloc(i+1, "getenv_"), fname, (int)i); ^ getenv_.c:49:5: error: use of undeclared identifier 'i' fp[i] =3D 0; ^ 17 errors generated. gmake[1]: *** [Makefile:22: s_stop.o] Error 1 gmake[1]: *** [Makefile:22: getenv_.o] Error 1 gmake[1]: Leaving directory '/usr/ports/lang/f2c/work/f2c-20200916/libf2c' *** Error code 2