Package: src:microdc2 Version: 0.15.6-7 Severity: important Tags: sid forky User: debian-...@lists.debian.org 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/microdc2_0.15.6-7_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 [...] gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o xasprintf.o xasprintf.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o strftime.o strftime.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o dirname.o dirname.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o exitfail.o exitfail.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o human.o human.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o quote.o quote.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o quotearg.o quotearg.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o safe-read.o safe-read.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o safe-write.o safe-write.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o sig2str.o sig2str.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o vasnprintf.o vasnprintf.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o printf-args.o printf-args.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o printf-parse.o printf-parse.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o asnprintf.o asnprintf.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o xmalloc.o xmalloc.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o xstrtol.o xstrtol.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o xstrtoul.o xstrtoul.c rm -f libgnu.a ar cr libgnu.a argmatch.o basename.o stripslash.o full-read.o full-write.o iconvme.o progname.o version-etc.o xalloc-die.o xgethostname.o xstrndup.o xstrtoumax.o xvasprintf.o xasprintf.o strftime.o dirname.o exitfail.o human.o quote.o quotearg.o safe-read.o safe-write.o sig2str.o vasnprintf.o printf-args.o printf-parse.o asnprintf.o xmalloc.o xstrtol.o xstrtoul.o ranlib libgnu.a make[4]: Leaving directory '/build/reproducible-path/microdc2-0.15.6/lib' make[3]: Leaving directory '/build/reproducible-path/microdc2-0.15.6/lib' Making all in src make[3]: Entering directory '/build/reproducible-path/microdc2-0.15.6/src' Making all in common make[4]: Entering directory '/build/reproducible-path/microdc2-0.15.6/src/common' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o bksearch.o bksearch.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o byteq.o byteq.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o error.o error.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o hmap.o hmap.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o intutil.o intutil.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o msgq.o msgq.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o optparser.o optparser.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/microdc2-0.15.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ptrv.o ptrv.c hmap.c: In function ‘hmap_foreach_value’: hmap.c:374:13: error: too many arguments to function ‘iterator’; expected 0, have 1 374 | iterator(entry->value); | ^~~~~~~~ ~~~~~~~~~~~~ hmap.c: In function ‘hmap_foreach_key’: hmap.c:389:13: error: too many arguments to function ‘iterator’; expected 0, have 1 389 | iterator(entry->key); | ^~~~~~~~ ~~~~~~~~~~ optparser.c: In function ‘optparser_free’: optparser.c:151:39: error: passing argument 2 of ‘tmap_foreach_key’ from incompatible pointer type [-Wincompatible-pointer-types] 151 | tmap_foreach_key(parser->options, free); | ^~~~ | | | void (*)(void *) In file included from optparser.c:31: tmap.h:56:41: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(void *)’ 56 | void tmap_foreach_key(TMap *map, void (*iterator)()); | ~~~~~~~^~~~~~~~~~~ In file included from comparison.h:29, from tmap.h:25: /usr/include/stdlib.h:687:13: note: ‘free’ declared here 687 | extern void free (void *__ptr) __THROW; | ^~~~ make[4]: *** [Makefile:475: hmap.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [Makefile:475: optparser.o] Error 1 make[4]: Leaving directory '/build/reproducible-path/microdc2-0.15.6/src/common' make[3]: *** [Makefile:656: all-recursive] Error 1 make[3]: Leaving directory '/build/reproducible-path/microdc2-0.15.6/src' make[2]: *** [Makefile:466: all-recursive] Error 1 make[2]: Leaving directory '/build/reproducible-path/microdc2-0.15.6' make[1]: *** [Makefile:403: all] Error 2 make[1]: Leaving directory '/build/reproducible-path/microdc2-0.15.6' dh_auto_build: error: make -j8 returned exit code 2 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2