Package: src:snacc Version: 1.3.1-10 Severity: important Tags: sid trixie User: debian-...@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/snacc_1.3.1-10_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 [...] Making all in compiler make[4]: Entering directory '/<<PKGBUILDDIR>>/compiler' Making all in core make[5]: Entering directory '/<<PKGBUILDDIR>>/compiler/core' test -f parse-asn1.c || /bin/bash ../../ylwrap parse-asn1.y y.tab.c parse-asn1.c y.tab.h `echo parse-asn1.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output parse-asn1.output -- bison -y -d /<<PKGBUILDDIR>>/compiler/core/parse-asn1.y: warning: 61 shift/reduce conflicts [-Wconflicts-sr] /<<PKGBUILDDIR>>/compiler/core/parse-asn1.y: warning: 2 reduce/reduce conflicts [-Wconflicts-rr] /<<PKGBUILDDIR>>/compiler/core/parse-asn1.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples updating parse-asn1.h gcc -DHAVE_CONFIG_H -I. -I../.. -DCOMPILER -DUSE_NIBBLE_MEMORY=0 -DUSE_EXP_BUF -I../../c-lib/inc -I../../c-lib/boot -I../../compiler/back-ends -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O0 -DFLEX_IN_USE -c -o parse-asn1.o parse-asn1.c gcc -DHAVE_CONFIG_H -I. -I../.. -DCOMPILER -DUSE_NIBBLE_MEMORY=0 -DUSE_EXP_BUF -I../../c-lib/inc -I../../c-lib/boot -I../../compiler/back-ends -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O0 -DFLEX_IN_USE -c -o lex-asn1.o lex-asn1.c gcc -DHAVE_CONFIG_H -I. -I../.. -DCOMPILER -DUSE_NIBBLE_MEMORY=0 -DUSE_EXP_BUF -I../../c-lib/inc -I../../c-lib/boot -I../../compiler/back-ends -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O0 -DFLEX_IN_USE -c -o define.o define.c gcc -DHAVE_CONFIG_H -I. -I../.. -DCOMPILER -DUSE_NIBBLE_MEMORY=0 -DUSE_EXP_BUF -I../../c-lib/inc -I../../c-lib/boot -I../../compiler/back-ends -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O0 -DFLEX_IN_USE -c -o dependency.o dependency.c gcc -DHAVE_CONFIG_H -I. -I../.. -DCOMPILER -DUSE_NIBBLE_MEMORY=0 -DUSE_EXP_BUF -I../../c-lib/inc -I../../c-lib/boot -I../../compiler/back-ends -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O0 -DFLEX_IN_USE -c -o do-macros.o do-macros.c gcc -DHAVE_CONFIG_H -I. -I../.. -DCOMPILER -DUSE_NIBBLE_MEMORY=0 -DUSE_EXP_BUF -I../../c-lib/inc -I../../c-lib/boot -I../../compiler/back-ends -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O0 -DFLEX_IN_USE -c -o err-chk.o err-chk.c gcc -DHAVE_CONFIG_H -I. -I../.. -DCOMPILER -DUSE_NIBBLE_MEMORY=0 -DUSE_EXP_BUF -I../../c-lib/inc -I../../c-lib/boot -I../../compiler/back-ends -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O0 -DFLEX_IN_USE -c -o exports.o exports.c gcc -DHAVE_CONFIG_H -I. -I../.. -DCOMPILER -DUSE_NIBBLE_MEMORY=0 -DUSE_EXP_BUF -I../../c-lib/inc -I../../c-lib/boot -I../../compiler/back-ends -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O0 -DFLEX_IN_USE -c -o gen-tbls.o gen-tbls.c gcc -DHAVE_CONFIG_H -I. -I../.. -DCOMPILER -DUSE_NIBBLE_MEMORY=0 -DUSE_EXP_BUF -I../../c-lib/inc -I../../c-lib/boot -I../../compiler/back-ends -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O0 -DFLEX_IN_USE -c -o lib-types.o lib-types.c gcc -DHAVE_CONFIG_H -I. -I../.. -DCOMPILER -DUSE_NIBBLE_MEMORY=0 -DUSE_EXP_BUF -I../../c-lib/inc -I../../c-lib/boot -I../../compiler/back-ends -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O0 -DFLEX_IN_USE -c -o link-types.o link-types.c gcc -DHAVE_CONFIG_H -I. -I../.. -DCOMPILER -DUSE_NIBBLE_MEMORY=0 -DUSE_EXP_BUF -I../../c-lib/inc -I../../c-lib/boot -I../../compiler/back-ends -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O0 -DFLEX_IN_USE -c -o link-values.o link-values.c gcc -DHAVE_CONFIG_H -I. -I../.. -DCOMPILER -DUSE_NIBBLE_MEMORY=0 -DUSE_EXP_BUF -I../../c-lib/inc -I../../c-lib/boot -I../../compiler/back-ends -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O0 -DFLEX_IN_USE -c -o mem.o mem.c gcc -DHAVE_CONFIG_H -I. -I../.. -DCOMPILER -DUSE_NIBBLE_MEMORY=0 -DUSE_EXP_BUF -I../../c-lib/inc -I../../c-lib/boot -I../../compiler/back-ends -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O0 -DFLEX_IN_USE -c -o meta.o meta.c gcc -DHAVE_CONFIG_H -I. -I../.. -DCOMPILER -DUSE_NIBBLE_MEMORY=0 -DUSE_EXP_BUF -I../../c-lib/inc -I../../c-lib/boot -I../../compiler/back-ends -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O0 -DFLEX_IN_USE -c -o normalize.o normalize.c gcc -DHAVE_CONFIG_H -I. -I../.. -DCOMPILER -DUSE_NIBBLE_MEMORY=0 -DUSE_EXP_BUF -I../../c-lib/inc -I../../c-lib/boot -I../../compiler/back-ends -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O0 -DFLEX_IN_USE -c -o oid.o oid.c gcc -DHAVE_CONFIG_H -I. -I../.. -DCOMPILER -DUSE_NIBBLE_MEMORY=0 -DUSE_EXP_BUF -I../../c-lib/inc -I../../c-lib/boot -I../../compiler/back-ends -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O0 -DFLEX_IN_USE -c -o print.o print.c gcc -DHAVE_CONFIG_H -I. -I../.. -DCOMPILER -DUSE_NIBBLE_MEMORY=0 -DUSE_EXP_BUF -I../../c-lib/inc -I../../c-lib/boot -I../../compiler/back-ends -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O0 -DFLEX_IN_USE -c -o recursive.o recursive.c gcc -DHAVE_CONFIG_H -I. -I../.. -DCOMPILER -DUSE_NIBBLE_MEMORY=0 -DUSE_EXP_BUF -I../../c-lib/inc -I../../c-lib/boot -I../../compiler/back-ends -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O0 -DFLEX_IN_USE -c -o snacc.o snacc.c gcc -DHAVE_CONFIG_H -I. -I../.. -DCOMPILER -DUSE_NIBBLE_MEMORY=0 -DUSE_EXP_BUF -I../../c-lib/inc -I../../c-lib/boot -I../../compiler/back-ends -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O0 -DFLEX_IN_USE -c -o snacc-util.o snacc-util.c gcc -DHAVE_CONFIG_H -I. -I../.. -DCOMPILER -DUSE_NIBBLE_MEMORY=0 -DUSE_EXP_BUF -I../../c-lib/inc -I../../c-lib/boot -I../../compiler/back-ends -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O0 -DFLEX_IN_USE -c -o val-parser.o val-parser.c gcc -DHAVE_CONFIG_H -I. -I../.. -DCOMPILER -DUSE_NIBBLE_MEMORY=0 -DUSE_EXP_BUF -I../../c-lib/inc -I../../c-lib/boot -I../../compiler/back-ends -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O0 -DFLEX_IN_USE -c -o tbl-boot.o tbl-boot.c tbl-boot.c: In function ‘BEncTBLTagContent’: tbl-boot.c:155:43: error: passing argument 2 of ‘BEncAsnIntContent’ from incompatible pointer type [-Wincompatible-pointer-types] 155 | itemLen = BEncTBLTagClassContent (b, (&v->tclass)); | ~^~~~~~~~~~~ | | | TBLTagClass * In file included from ../../c-lib/inc/asn-config.h:52, from ../../c-lib/inc/asn-incl.h:29, from tbl-boot.c:15: ../../c-lib/inc/asn-int.h:58:54: note: expected ‘AsnInt *’ {aka ‘int *’} but argument is of type ‘TBLTagClass *’ 58 | AsnLen BEncAsnIntContent PROTO ((BUF_TYPE b, AsnInt *data)); | ~~~~~~~~^~~~ ../../snacc.h:91:41: note: in definition of macro ‘PROTO’ 91 | #define PROTO( X) X | ^ tbl-boot.c: In function ‘BEncTBLTypeContent’: tbl-boot.c:286:41: error: passing argument 2 of ‘BEncAsnIntContent’ from incompatible pointer type [-Wincompatible-pointer-types] 286 | itemLen = BEncTBLTypeIdContent (b, (&v->typeId)); | ~^~~~~~~~~~~ | | | TBLTypeId * ../../c-lib/inc/asn-int.h:58:54: note: expected ‘AsnInt *’ {aka ‘int *’} but argument is of type ‘TBLTypeId *’ 58 | AsnLen BEncAsnIntContent PROTO ((BUF_TYPE b, AsnInt *data)); | ~~~~~~~~^~~~ ../../snacc.h:91:41: note: in definition of macro ‘PROTO’ 91 | #define PROTO( X) X | ^ make[5]: *** [Makefile:538: tbl-boot.o] Error 1 make[5]: Leaving directory '/<<PKGBUILDDIR>>/compiler/core' make[4]: *** [Makefile:381: all-recursive] Error 1 make[4]: Leaving directory '/<<PKGBUILDDIR>>/compiler' make[3]: *** [Makefile:603: all-recursive] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>' make[2]: *** [Makefile:410: all] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j1 returned exit code 2 make[1]: *** [debian/rules:18: override_dh_auto_build] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:13: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2