Package: src:parser Version: 3.5.1-2 Severity: important Tags: sid forky User: [email protected] Usertags: ftbfs-gcc-15
[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The severity of this report will be raised before the forky release. The full build log can be found at: http://qa-logs.debian.net/2025/02/16/amd64exp/parser_3.5.1-2_unstable_gccexp.log.gz The last lines of the build log are at the end of this report. To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t=experimental install g++ GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS. Other 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-15/porting_to.html [...] make[4]: Leaving directory '/build/reproducible-path/parser-3.5.1/src/lib/sdbm' Making all in json make[4]: Entering directory '/build/reproducible-path/parser-3.5.1/src/lib/json' /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o pa_json.lo pa_json.C libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c pa_json.C -fPIC -DPIC -o .libs/pa_json.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c pa_json.C -fPIC -DPIC -o pa_json.o >/dev/null 2>&1 /bin/bash ../../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o libjson.la pa_json.lo -lcrypt -lm libtool: link: ar cr .libs/libjson.a .libs/pa_json.o libtool: link: ranlib .libs/libjson.a libtool: link: ( cd ".libs" && rm -f "libjson.la" && ln -s "../libjson.la" "libjson.la" ) make[4]: Leaving directory '/build/reproducible-path/parser-3.5.1/src/lib/json' Making all in curl make[4]: Entering directory '/build/reproducible-path/parser-3.5.1/src/lib/curl' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/build/reproducible-path/parser-3.5.1/src/lib/curl' Making all in punycode make[4]: Entering directory '/build/reproducible-path/parser-3.5.1/src/lib/punycode' /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGEFILE64_SOURCE -c -o pa_idna.lo pa_idna.c /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGEFILE64_SOURCE -c -o pa_punycode.lo pa_punycode.c /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGEFILE64_SOURCE -c -o pa_convert_utf.lo pa_convert_utf.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGEFILE64_SOURCE -c pa_convert_utf.c -fPIC -DPIC -o .libs/pa_convert_utf.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGEFILE64_SOURCE -c pa_idna.c -fPIC -DPIC -o .libs/pa_idna.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGEFILE64_SOURCE -c pa_punycode.c -fPIC -DPIC -o .libs/pa_punycode.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGEFILE64_SOURCE -c pa_idna.c -fPIC -DPIC -o pa_idna.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGEFILE64_SOURCE -c pa_punycode.c -fPIC -DPIC -o pa_punycode.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGEFILE64_SOURCE -c pa_convert_utf.c -fPIC -DPIC -o pa_convert_utf.o >/dev/null 2>&1 /bin/bash ../../../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGEFILE64_SOURCE -Wl,-z,relro -Wl,-z,now -o libpunycode.la pa_idna.lo pa_punycode.lo pa_convert_utf.lo -lcrypt -lm libtool: link: ar cr .libs/libpunycode.a .libs/pa_idna.o .libs/pa_punycode.o .libs/pa_convert_utf.o libtool: link: ranlib .libs/libpunycode.a libtool: link: ( cd ".libs" && rm -f "libpunycode.la" && ln -s "../libpunycode.la" "libpunycode.la" ) make[4]: Leaving directory '/build/reproducible-path/parser-3.5.1/src/lib/punycode' Making all in memcached make[4]: Entering directory '/build/reproducible-path/parser-3.5.1/src/lib/memcached' /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o pa_memcached.lo pa_memcached.C libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c pa_memcached.C -fPIC -DPIC -o .libs/pa_memcached.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c pa_memcached.C -fPIC -DPIC -o pa_memcached.o >/dev/null 2>&1 /bin/bash ../../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o libmemcached.la pa_memcached.lo -lcrypt -lm libtool: link: ar cr .libs/libmemcached.a .libs/pa_memcached.o libtool: link: ranlib .libs/libmemcached.a libtool: link: ( cd ".libs" && rm -f "libmemcached.la" && ln -s "../libmemcached.la" "libmemcached.la" ) make[4]: Leaving directory '/build/reproducible-path/parser-3.5.1/src/lib/memcached' make[4]: Entering directory '/build/reproducible-path/parser-3.5.1/src/lib' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/build/reproducible-path/parser-3.5.1/src/lib' make[3]: Leaving directory '/build/reproducible-path/parser-3.5.1/src/lib' Making all in targets make[3]: Entering directory '/build/reproducible-path/parser-3.5.1/src/targets' Making all in apache make[4]: Entering directory '/build/reproducible-path/parser-3.5.1/src/targets/apache' /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1.0 -I/usr/include -I./ -I../../classes -I../../types -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o mod_parser3_core.lo mod_parser3_core.C /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1.0 -I/usr/include -I./ -I../../classes -I../../types -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -g -O2 -Werror=implicit-function-declaration -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGEFILE64_SOURCE -c -o mod_parser3_la-mod_parser3.lo `test -f 'mod_parser3.c' || echo './'`mod_parser3.c libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1.0 -I/usr/include -I./ -I../../classes -I../../types -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c mod_parser3_core.C -fPIC -DPIC -o .libs/mod_parser3_core.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1.0 -I/usr/include -I./ -I../../classes -I../../types -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -g -O2 -Werror=implicit-function-declaration -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGEFILE64_SOURCE -c mod_parser3.c -fPIC -DPIC -o .libs/mod_parser3_la-mod_parser3.o mod_parser3.c:160:26: error: initialization of 'const char * (*)(cmd_parms *, void *)' {aka 'const char * (*)(struct cmd_parms_struct *, void *)'} from incompatible pointer type 'const char * (*)(void)' [-Wincompatible-pointer-types] 160 | {"ParserConfig", (const char *(*)())cmd_parser_config, 0, OR_OPTIONS, TAKE1, "Parser config filespec"}, | ^ mod_parser3.c:160:26: note: (near initialization for 'parser_cmds[0].func.no_args') make[4]: *** [Makefile:535: mod_parser3_la-mod_parser3.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1.0 -I/usr/include -I./ -I../../classes -I../../types -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c mod_parser3_core.C -fPIC -DPIC -o mod_parser3_core.o >/dev/null 2>&1 make[4]: Leaving directory '/build/reproducible-path/parser-3.5.1/src/targets/apache' make[3]: *** [Makefile:396: all-recursive] Error 1 make[3]: Leaving directory '/build/reproducible-path/parser-3.5.1/src/targets' make[2]: *** [Makefile:394: all-recursive] Error 1 make[2]: Leaving directory '/build/reproducible-path/parser-3.5.1/src' make[1]: *** [Makefile:428: all-recursive] Error 1 make[1]: Leaving directory '/build/reproducible-path/parser-3.5.1' dh_auto_build: error: make -j8 returned exit code 2 make: *** [debian/rules:7: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

