From nobody Fri Nov 15 12:44:56 2024 X-Original-To: ports-bugs@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 4XqcDS5CJ8z5d5gH for ; Fri, 15 Nov 2024 12:44:56 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XqcDS2hdgz4mb6 for ; Fri, 15 Nov 2024 12:44:56 +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=1731674696; 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=KpI+ekX54TiEcuzrpfzX7164iXx5a/Q6RqUKTqVd8f8=; b=uXHwqvAu7wBR1VUqtLSM+wrWLrvx8EMI2PZiAkirGdoI8fP0Bv83DHB9vZLh++0R++cLq8 R+qKKlIy1pws95xQ9jYkwkAlHeXxWVo1W/ei/kGBYUdvq0+7Q6gpwe8rPAeFrW9uv7pvsL u9kTWWX8IlGuSLJ/Q/UJtrbqPk7JAgNAnK8SV1/iK/mBCkftH29MDDWUnCVkZyOOvk0us5 /c44RWdN8C5e/Dsp3nn+KhIq5DAPB96qQbT30s7FjSMPqmqd0wA5FZEuSogytrwVtNMRlt NKgsgN39CuGLXxvWjUEHH76oUqyTNSXWUi3t9e6kQ9MzYW3HFwylVmgFGuXJ8g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731674696; a=rsa-sha256; cv=none; b=Zu+lT7Tc2vZ9vXI0dmCc4RBjwS5OxUwszRdrkatorWQlMHT4OxOw4GedMJRl2xq2mqdmf5 vP4RVnITBn8JBARM9MCMgE7AYH5jOI620aSM/mKT+Joge7ZgvTrXkdOuyPlfTJQyIw+KPH KIAZysjdT109+8UciHRCn22R+gBOWsAghkPXrNsErlP1MBK+AdkvdUXhzCsh5OueXdzzF8 /kRWeCSYEvmJceSj83HXIIpycDqX6cgNmwRaE0NX1pfm4EQgOxABT7rg7U5jHrXMvZTrTt 9I1N7IML28YgOZbVvIcp/LEqFQ9RZn3KSySw+cxdd5ZRTmEf08oP1cgSmATjpg== 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 4XqcDS2B7szNmb for ; Fri, 15 Nov 2024 12:44:56 +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 4AFCiu05080098 for ; Fri, 15 Nov 2024 12:44:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AFCiu9q080097 for ports-bugs@FreeBSD.org; Fri, 15 Nov 2024 12:44:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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] Date: Fri, 15 Nov 2024 12:44:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: salvadore@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: danfe@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281238 --- Comment #5 from Lorenzo Salvadore --- Created attachment 255192 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D255192&action= =3Dedit gforth poudriere log I get a new error: gcc14 -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc14 -L/usr/local/lib/gcc14 engine-fast-ll.o engine-fast2-ll.o main-fast-ll.o i= o.o signals.o support-ll.o pow10.o ecvt.o -lavcall -lffi -lltdl -lm -L/usr/local/lib -o gforth-fast-ll gmake[3]: Leaving directory '/wrkdirs/usr/ports/lang/gforth/work/gforth-0.7.3/engine' gmake[2]: Leaving directory '/wrkdirs/usr/ports/lang/gforth/work/gforth-0.7= .3' gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/gforth/work/gforth-0.7= .3' rm -rf lib/gforth/0.7.3/libcc-named/ for 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: $D3E2C04990 throw=20 $D3E2C40B68 c(abort")=20 $D3E2C41418 compile-wrapper-function1=20 /wrkdirs/usr/ports/lang/gforth/work/gforth-0.7.3/lib/gforth/0.7.3/libcc-nam= ed/fflib.c: In function 'fflib_LTX_gforth_c_alloc_callback1_a_a': /wrkdirs/usr/ports/lang/gforth/work/gforth-0.7.3/lib/gforth/0.7.3/libcc-nam= ed/fflib.c:177:46: error: passing argument 1 of 'alloc_callback' from incompatible pointer type [-Wincompatible-pointer-types] 177 | #define alloc_callback1(a_ip) alloc_callback(gforth_callback_ffcall, (Xt *)a_ip) | ^~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void ***, voi= d *) /wrkdirs/usr/ports/lang/gforth/work/gforth-0.7.3/lib/gforth/0.7.3/libcc-nam= ed/fflib.c:182:15: note: in expansion of macro 'alloc_callback1' 182 | sp[0]=3D(Cell)alloc_callback1((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/fflib.c:3: /usr/local/include/callback.h:58:35: note: expected 'callback_function_t' {= aka 'void (*)(void *, struct vacall_alist *)'} but argument is of type 'void (*)(void ***, void *)' 58 | extern callback_t alloc_callback (callback_function_t /* ADDRESS */, void* /* DATA */); | ^~~~~~~~~~~~~~~~~~~ in file included from *OS command line*:-1 fflib.fs:136: libtool compile failed >>>end-c-library<<< Backtrace: $3AC710804990 throw=20 $3AC7108407E8 c(abort")=20 $3AC710841418 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: $2DCBEAC04990 throw=20 $2DCBEAC40B68 c(abort")=20 $2DCBEAC41418 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: $2D68D3E04990 throw=20 $2D68D3E40B68 c(abort")=20 $2D68D3E41418 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 Fri Nov 15 13:29:45 CET 2024 build time: 00:01:11 !!! build failure encountered !!! Please see attachment for the full log. I have tried adding CFLAGS+=3D-fpermissive as it is working with many other ports: the build completes successfully, however I then get issues with mis= sing files in pkg-plist. --=20 You are receiving this mail because: You are on the CC list for the bug.=