[Pkg-electronics-devel] Bug#1074973: fungw: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:27:01 BST 2024
Package: src:fungw
Version: 1.2.1-3
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14
[This bug is targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/fungw_1.2.1-3_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-14/porting_to.html
[...]
| ^~~
In function ‘fawk_str_new_from_literal’,
inlined from ‘fawk_cast_to_str.isra’ at libfawk_sc/libfawk_sc_all.c:705:19:
libfawk_sc/libfawk_sc_all.c:1663:16: warning: ‘res’ may be used uninitialized [-Wmaybe-uninitialized]
1663 | size_t slen = strlen(s), len = (len_limit == -1) ? slen : ((slen < len_limit) ? slen : len_limit);
| ^~~~~~~~~
libfawk_sc/libfawk_sc_all.c: In function ‘fawk_cast_to_str.isra’:
libfawk_sc/libfawk_sc_all.c:680:14: note: ‘res’ was declared here
680 | const char *res;
| ^~~
../..//scconfig/sccbox rm -f fungw_fawk.a
ar: creating fungw_fawk.a
cc fungw_fawk.o -o fungw_fawk.so -dynamic -shared -Wl,-soname,libfungw_fawk.so.1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/fawk'
cd lua && make all
make[3]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind/lua'
cc -c -Wall -g -I../../ -I../../src_3rd -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/lua5.3 -o fungw_lua.o fungw_lua.c
../..//scconfig/sccbox rm -f fungw_lua.a
ar: creating fungw_lua.a
cc fungw_lua.o -o fungw_lua.so -llua5.3 -lm -dynamic -shared -Wl,-soname,libfungw_lua.so.1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/lua'
cd mawk && make all
make[3]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind/mawk'
cc -c -Wall -g -I../../ -I../../src_3rd -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o fungw_mawk.o fungw_mawk.c
../..//scconfig/sccbox rm -f fungw_mawk.a
ar: creating fungw_mawk.a
cc fungw_mawk.o -o fungw_mawk.so -lmawk -dynamic -shared -Wl,-soname,libfungw_mawk.so.1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/mawk'
cd tcl && make all
make[3]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind/tcl'
cc -c -Wall -g -I../../ -I../../src_3rd -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/tcl8.6 -o fungw_tcl.o fungw_tcl.c
../..//scconfig/sccbox rm -f fungw_tcl.a
ar: creating fungw_tcl.a
cc fungw_tcl.o -o fungw_tcl.so -ltcl8.6 -dynamic -shared -Wl,-soname,libfungw_tcl.so.1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/tcl'
cd picol && make all
make[3]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind/picol'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/picol'
cd python && make all
make[3]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind/python'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/python'
cd python3 && make all
make[3]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind/python3'
cc -c -Wall -g -I../../ -I../../src_3rd -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.12 -o fungw_python3.o fungw_python3.c
../..//scconfig/sccbox rm -f fungw_python3.a
ar: creating fungw_python3.a
cc fungw_python3.o -o fungw_python3.so -L/usr/bin -L/usr/local/bin -lpython3.12 -dynamic -shared -Wl,-soname,libfungw_python3.so.1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/python3'
cd mruby && make all
make[3]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind/mruby'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/mruby'
cd perl && make all
make[3]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind/perl'
cc -c -Wall -g -I../../ -I../../src_3rd -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/x86_64-linux-gnu/perl/5.38/CORE -o fungw_perl.o fungw_perl.c
fungw_perl.c: In function ‘fgws_perl_init’:
fungw_perl.c:286:37: error: assignment to ‘XPV *’ {aka ‘struct xpv *’} from incompatible pointer type ‘perl_ctx_t *’ [-Wincompatible-pointer-types]
286 | ctx->interp->perl_user_data = ctx;
| ^
make[3]: *** [Makefile:36: fungw_perl.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/perl'
make[2]: *** [Makefile:13: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind'
make[1]: *** [Makefile:3: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:9: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Pkg-electronics-devel
mailing list