Date: Sat, 16 Nov 2024 08:33:36 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 281238] lang/gforth: Fails to build with GCC 14: prim:2157:5: error: implicit declaration of function 'ecvt' [-Wimplicit-function-declaration] Message-ID: <bug-281238-7788-X9ZKox1hqm@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-281238-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-281238-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281238 Lorenzo Salvadore <salvadore@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #255192|0 |1 is obsolete| | --- Comment #8 from Lorenzo Salvadore <salvadore@freebsd.org> --- Created attachment 255211 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D255211&action= =3Dedit gforth poudriere log Still broken, with the following error (full log attached): or i in libffi.fs fflib.fs cstr.fs unix/socket.fs; do ./gforth -e "s\" `pwd`/lib/gforth/0.7.3/libcc-named/\" libcc-named-dir-v 2! libcc-path clear-path libcc-named-dir libcc-path also-path :noname 2drop s\" /usr/local/lib/gforth/0.7.3/libcc-named/\" ; is replace-rpath" ./$i -e bye; done /wrkdirs/usr/ports/lang/gforth/work/gforth-0.7.3/lib/gforth/0.7.3/libcc-nam= ed/libffi.c: In function 'libffi_LTX_gforth_c_ffi_prep_closure1_aaa_n': /wrkdirs/usr/ports/lang/gforth/work/gforth-0.7.3/lib/gforth/0.7.3/libcc-nam= ed/libffi.c:95:3: warning: 'ffi_prep_closure' is deprecated: use ffi_prep_closure_loc instead [-Wdeprecated-declarations] 95 | sp[2]=3Dffi_prep_closure1((void *)(sp[2]),(void *)(sp[1]),(void *)(sp[0])); | ^~ In file included from /wrkdirs/usr/ports/lang/gforth/work/gforth-0.7.3/lib/gforth/0.7.3/libcc-nam= ed/libffi.c:3: /usr/local/include/ffi.h:356:1: note: declared here 356 | ffi_prep_closure (ffi_closure*, | ^~~~~~~~~~~~~~~~ file not found in file included from *OS command line*:-1 libffi.fs:159: open-lib failed >>>end-c-library<<< Backtrace: $1FF3B4004990 throw=20 $1FF3B4040B68 c(abort")=20 $1FF3B4041418 compile-wrapper-function1=20 file not found in file included from *OS command line*:-1 fflib.fs:136: open-lib failed >>>end-c-library<<< Backtrace: $356E0BE04990 throw=20 $356E0BE40B68 c(abort")=20 $356E0BE41418 compile-wrapper-function1=20 file not found in file included from *OS command line*:-1 cstr.fs:23: open-lib failed >>>end-c-library<<< Backtrace: $1A51F0604990 throw=20 $1A51F0640B68 c(abort")=20 $1A51F0641418 compile-wrapper-function1=20 file not found in file included from *OS command line*:-1 unix/socket.fs:48: open-lib failed >>>end-c-library<<< Backtrace: $15EF3BC04990 throw=20 $15EF3BC40B68 c(abort")=20 $15EF3BC41418 compile-wrapper-function1=20 gmake: *** [Makefile:653: build-libcc-named] Error 1 *** Error code 1 Stop. make: stopped in /usr/ports/lang/gforth build of lang/gforth | gforth-0.7.3_15 ended at Sat Nov 16 09:11:43 CET 2024 build time: 00:01:14 !!! build failure encountered !!! However -fpermissive this time works fine. Of course I agree that a real fi= x is better, but I believe a workaround such as -fpermissive is fine for a tempo= rary solution or even for unmaintained ports or software unmaintained upstream. In case it is still useful, those were the issues I had with pkg-plist using -fpermissive, but they are now solved: =3D=3D=3D=3D> Running Q/A tests (stage-qa) =3D=3D=3D=3D> Checking for pkg-plist issues (check-plist) =3D=3D=3D> Parsing plist =3D=3D=3D> Checking for items in STAGEDIR missing from pkg-plist =3D=3D=3D> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: lib/gforth/%%PORTVERSION%%/libcc-named/fflib.a Error: Missing: lib/gforth/%%PORTVERSION%%/libcc-named/fflib.so Error: Missing: lib/gforth/%%PORTVERSION%%/libcc-named/fflib.so.0 Error: Missing: lib/gforth/%%PORTVERSION%%/libcc-named/fflib.so.0.0.0 =3D=3D=3D> Error: Plist issues found. *** Error code 1 Stop. make: stopped in /usr/ports/lang/gforth =3D>> Error: check-plist failures detected --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281238-7788-X9ZKox1hqm>