Bug#1097988: texlive-bin: ftbfs with GCC-15
Package: src:texlive-bin
Version: 2024.20240313.70630+ds-5
Severity: important
Tags: sid forky
User: debian-gcc@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/texlive-bin_2024.20240313.70630+ds-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
[...]
| ^~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/texk -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/texk -I../../../texk/web2c/mplibdir -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wreturn-type -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texlive-bin-2024.20240313.70630+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o mplibdir/libmputil_a-avl.o `test -f 'mplibdir/avl.c' || echo '../../../texk/web2c/'`mplibdir/avl.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/texk -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/texk -I../../../texk/web2c/mplibdir -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wreturn-type -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texlive-bin-2024.20240313.70630+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o mplibdir/libmputil_a-decNumber.o `test -f 'mplibdir/decNumber.c' || echo '../../../texk/web2c/'`mplibdir/decNumber.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/texk -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/texk -I../../../texk/web2c/mplibdir -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wreturn-type -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texlive-bin-2024.20240313.70630+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o mplibdir/libmputil_a-decContext.o `test -f 'mplibdir/decContext.c' || echo '../../../texk/web2c/'`mplibdir/decContext.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/texk/ptexenc -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/texk/ptexenc -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/texk -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/texk -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wreturn-type -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texlive-bin-2024.20240313.70630+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o uptexdir/libukanji_a-kanji.o `test -f 'uptexdir/kanji.c' || echo '../../../texk/web2c/'`uptexdir/kanji.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/texk/ptexenc -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/texk/ptexenc -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/texk -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/texk -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wreturn-type -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texlive-bin-2024.20240313.70630+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o uptexdir/libukanji_a-kanji_dump.o `test -f 'uptexdir/kanji_dump.c' || echo '../../../texk/web2c/'`uptexdir/kanji_dump.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c -I../../../texk/web2c/libmd5 -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wreturn-type -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texlive-bin-2024.20240313.70630+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o libmd5/a-md5.o `test -f 'libmd5/md5.c' || echo '../../../texk/web2c/'`libmd5/md5.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/texk -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/texk -I../../../texk/web2c/pdftexdir -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wreturn-type -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texlive-bin-2024.20240313.70630+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o pdftexdir/ttf2afm-ttf2afm.o `test -f 'pdftexdir/ttf2afm.c' || echo '../../../texk/web2c/'`pdftexdir/ttf2afm.c
g++ -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/texk -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/texk -I/usr/include/libpng16 -DPDF_PARSER_ONLY -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/libs/xpdf -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/libs/xpdf/goo -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/libs/xpdf/xpdf -I../../../texk/web2c/libmd5 -I../../../texk/web2c/pdftexdir -Wdate-time -D_FORTIFY_SOURCE=2 -Wreturn-type -Wno-write-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/texlive-bin-2024.20240313.70630+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o pdftexdir/pdftosrc-pdftosrc.o `test -f 'pdftexdir/pdftosrc.cc' || echo '../../../texk/web2c/'`pdftexdir/pdftosrc.cc
gcc -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/texk -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/texk -I../../../texk/web2c/w2c -I../../../texk/web2c/luatexdir/unilib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texlive-bin-2024.20240313.70630+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o luatexdir/unilib/libunilib_a-ArabicForms.o `test -f 'luatexdir/unilib/ArabicForms.c' || echo '../../../texk/web2c/'`luatexdir/unilib/ArabicForms.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/texk -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/texk -I../../../texk/web2c/w2c -I../../../texk/web2c/luatexdir/unilib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texlive-bin-2024.20240313.70630+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o luatexdir/unilib/libunilib_a-alphabet.o `test -f 'luatexdir/unilib/alphabet.c' || echo '../../../texk/web2c/'`luatexdir/unilib/alphabet.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/texk -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/texk -I../../../texk/web2c/w2c -I../../../texk/web2c/luatexdir/unilib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texlive-bin-2024.20240313.70630+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o luatexdir/unilib/libunilib_a-char.o `test -f 'luatexdir/unilib/char.c' || echo '../../../texk/web2c/'`luatexdir/unilib/char.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/texk -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/texk -I../../../texk/web2c/w2c -I../../../texk/web2c/luatexdir/unilib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texlive-bin-2024.20240313.70630+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o luatexdir/unilib/libunilib_a-cjk.o `test -f 'luatexdir/unilib/cjk.c' || echo '../../../texk/web2c/'`luatexdir/unilib/cjk.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/texk -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/texk -I../../../texk/web2c/w2c -I../../../texk/web2c/luatexdir/unilib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texlive-bin-2024.20240313.70630+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o luatexdir/unilib/libunilib_a-gwwiconv.o `test -f 'luatexdir/unilib/gwwiconv.c' || echo '../../../texk/web2c/'`luatexdir/unilib/gwwiconv.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/texk -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/texk -I../../../texk/web2c/w2c -I../../../texk/web2c/luatexdir/unilib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texlive-bin-2024.20240313.70630+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o luatexdir/unilib/libunilib_a-ucharmap.o `test -f 'luatexdir/unilib/ucharmap.c' || echo '../../../texk/web2c/'`luatexdir/unilib/ucharmap.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/texk -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/texk -I../../../texk/web2c/w2c -I../../../texk/web2c/luatexdir/unilib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texlive-bin-2024.20240313.70630+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o luatexdir/unilib/libunilib_a-unialt.o `test -f 'luatexdir/unilib/unialt.c' || echo '../../../texk/web2c/'`luatexdir/unilib/unialt.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/texk -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/texk -I../../../texk/web2c/w2c -I../../../texk/web2c/luatexdir/unilib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texlive-bin-2024.20240313.70630+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o luatexdir/unilib/libunilib_a-usprintf.o `test -f 'luatexdir/unilib/usprintf.c' || echo '../../../texk/web2c/'`luatexdir/unilib/usprintf.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/texk -I/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/texk -I../../../texk/web2c/w2c -I../../../texk/web2c/luatexdir/unilib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texlive-bin-2024.20240313.70630+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o luatexdir/unilib/libunilib_a-ustring.o `test -f 'luatexdir/unilib/ustring.c' || echo '../../../texk/web2c/'`luatexdir/unilib/ustring.c
../../../texk/web2c/luatexdir/unilib/ustring.c: In function ‘u_strtod’:
../../../texk/web2c/luatexdir/unilib/ustring.c:399:19: error: conflicting types for ‘strtod’; have ‘double(void)’
399 | extern double strtod(); /* Please don't delete this, not all of us have good ansi headers */
| ^~~~~~
In file included from /build/reproducible-path/texlive-bin-2024.20240313.70630+ds/texk/kpathsea/c-std.h:41,
from /build/reproducible-path/texlive-bin-2024.20240313.70630+ds/texk/kpathsea/config.h:88,
from ../../../texk/web2c/w2c/config.h:23,
from ../../../texk/web2c/luatexdir/unilib/unibasics.h:38,
from ../../../texk/web2c/luatexdir/unilib/ustring.h:29,
from ../../../texk/web2c/luatexdir/unilib/ustring.c:27:
/usr/include/stdlib.h:118:15: note: previous declaration of ‘strtod’ with type ‘double(const char * restrict, char ** restrict)’
118 | extern double strtod (const char *__restrict __nptr,
| ^~~~~~
../../../texk/web2c/luatexdir/unilib/ustring.c:404:11: error: too many arguments to function ‘strtod’; expected 0, have 2
404 | val = strtod(buf,&ret);
| ^~~~~~ ~~~
../../../texk/web2c/luatexdir/unilib/ustring.c:399:19: note: declared here
399 | extern double strtod(); /* Please don't delete this, not all of us have good ansi headers */
| ^~~~~~
../../../texk/web2c/luatexdir/unilib/ustring.c: In function ‘u_strtol’:
../../../texk/web2c/luatexdir/unilib/ustring.c:418:17: error: conflicting types for ‘strtol’; have ‘long int(void)’
418 | extern long strtol(); /* Please don't delete this, not all of us have good ansi headers */
| ^~~~~~
In file included from /usr/include/features.h:510,
from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/math.h:27,
from /build/reproducible-path/texlive-bin-2024.20240313.70630+ds/texk/kpathsea/c-std.h:28:
/usr/include/stdlib.h:215:17: note: previous declaration of ‘strtol’ with type ‘long int(const char * restrict, char ** restrict, int)’
215 | extern long int __REDIRECT_NTH (strtol, (const char *__restrict __nptr,
| ^~~~~~~~~~~~~~
../../../texk/web2c/luatexdir/unilib/ustring.c:423:11: error: too many arguments to function ‘strtol’; expected 0, have 3
423 | val = strtol(buf,&ret,base);
| ^~~~~~ ~~~
../../../texk/web2c/luatexdir/unilib/ustring.c:418:17: note: declared here
418 | extern long strtol(); /* Please don't delete this, not all of us have good ansi headers */
| ^~~~~~
make[6]: *** [Makefile:16994: luatexdir/unilib/libunilib_a-ustring.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[6]: Leaving directory '/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/texk/web2c'
make[5]: *** [Makefile:19232: all-recursive] Error 1
make[5]: Leaving directory '/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/texk/web2c'
make[4]: *** [Makefile:5708: all] Error 2
make[4]: Leaving directory '/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/texk/web2c'
make[3]: *** [Makefile:877: recurse] Error 1
make[3]: Leaving directory '/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/texk'
make[2]: *** [Makefile:448: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work/texk'
make[1]: *** [Makefile:540: all-recursive] Error 1
make[1]: Leaving directory '/build/reproducible-path/texlive-bin-2024.20240313.70630+ds/Work'
dh_auto_build: error: cd Work && make -j8 returned exit code 2
make: *** [debian/rules:72: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: