Package: src:jpegpixi Version: 1.1.1-5 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/jpegpixi_1.1.1-5_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 [...] checking whether gettext is declared... yes checking whether ngettext is declared... yes checking whether bindtextdomain is declared... yes checking whether textdomain is declared... yes checking for locale.h... yes checking whether setlocale is declared... yes checking whether LC_MESSAGES is declared... yes checking for library containing ngettext... none required checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating man/de/Makefile config.status: creating man/fi/Makefile config.status: creating man/fr/Makefile config.status: creating po/Makefile config.status: creating jpegwrapper.h config.status: creating man/jpegpixi.1 config.status: creating man/jpeghotp.1 config.status: creating man/de/jpegpixi.1 config.status: creating man/de/jpeghotp.1 config.status: creating man/fi/jpegpixi.1 config.status: creating man/fi/jpeghotp.1 config.status: creating man/fr/jpegpixi.1 config.status: creating man/fr/jpeghotp.1 config.status: creating config.h config.status: executing depfiles commands dh_auto_build make -j8 make[1]: Entering directory '/build/reproducible-path/jpegpixi-1.1.1' make all-recursive make[2]: Entering directory '/build/reproducible-path/jpegpixi-1.1.1' Making all in . make[3]: Entering directory '/build/reproducible-path/jpegpixi-1.1.1' gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jpegpixi-1.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o consolidate.o consolidate.c gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jpegpixi-1.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o dct.o dct.c gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jpegpixi-1.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o file.o file.c gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jpegpixi-1.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o interpolate.o interpolate.c gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jpegpixi-1.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o jfif.o jfif.c gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jpegpixi-1.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o jpegpixi.o jpegpixi.c gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jpegpixi-1.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o optpixi.o optpixi.c gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jpegpixi-1.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o parsenum.o parsenum.c gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jpegpixi-1.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o rbtree.o rbtree.c gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jpegpixi-1.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o util.o util.c gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jpegpixi-1.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o weights.o weights.c rbtree.c:28:14: error: conflicting types for ‘malloc’; have ‘void *(void)’ 28 | extern void *malloc (); | ^~~~~~ In file included from util.h:28, from rbtree.c:22: /usr/include/stdlib.h:672:14: note: previous declaration of ‘malloc’ with type ‘void *(long unsigned int)’ 672 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ rbtree.c: In function ‘rbtree_insert’: rbtree.c:123:16: error: too many arguments to function ‘malloc’; expected 0, have 1 123 | node = malloc (SIZEOF_RBTREE_NODE + data_len); | ^~~~~~ rbtree.c:28:14: note: declared here 28 | extern void *malloc (); | ^~~~~~ make[3]: *** [Makefile:512: rbtree.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/build/reproducible-path/jpegpixi-1.1.1' make[2]: *** [Makefile:528: all-recursive] Error 1 make[2]: Leaving directory '/build/reproducible-path/jpegpixi-1.1.1' make[1]: *** [Makefile:359: all] Error 2 make[1]: Leaving directory '/build/reproducible-path/jpegpixi-1.1.1' 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