[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1075564: texlive-bin: ftbfs with GCC-14



Package: src:texlive-bin
Version: 2024.20240313.70630+ds-2
Severity: important
Tags: sid trixie
User: debian-gcc@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/texlive-bin_2024.20240313.70630+ds-2_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

[...]
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../texk/xdvik/pk.c: In function ‘read_PK_index’:
../../../texk/xdvik/pk.c:377:19: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  377 |             (void)fread(dummy, 1, bytes_left, fontp->file);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I../../../texk/xdvik  -I../../../texk/xdvik/gui -DPS_GS -I/<<PKGBUILDDIR>>/Work/texk -I/<<PKGBUILDDIR>>/texk -I/usr/include/freetype2 -I/usr/include/libpng16    -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wreturn-type -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o special.o ../../../texk/xdvik/special.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/xdvik  -I../../../texk/xdvik/gui -DPS_GS -I/<<PKGBUILDDIR>>/Work/texk -I/<<PKGBUILDDIR>>/texk -I/usr/include/freetype2 -I/usr/include/libpng16    -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wreturn-type -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o string-utils.o ../../../texk/xdvik/string-utils.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/xdvik  -I../../../texk/xdvik/gui -DPS_GS -I/<<PKGBUILDDIR>>/Work/texk -I/<<PKGBUILDDIR>>/texk -I/usr/include/freetype2 -I/usr/include/libpng16    -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wreturn-type -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o string_list.o ../../../texk/xdvik/string_list.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/xdvik  -I../../../texk/xdvik/gui -DPS_GS -I/<<PKGBUILDDIR>>/Work/texk -I/<<PKGBUILDDIR>>/texk -I/usr/include/freetype2 -I/usr/include/libpng16    -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wreturn-type -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o util.o ../../../texk/xdvik/util.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/xdvik  -I../../../texk/xdvik/gui -DPS_GS -I/<<PKGBUILDDIR>>/Work/texk -I/<<PKGBUILDDIR>>/texk -I/usr/include/freetype2 -I/usr/include/libpng16    -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wreturn-type -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o vf.o ../../../texk/xdvik/vf.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/xdvik  -I../../../texk/xdvik/gui -DPS_GS -I/<<PKGBUILDDIR>>/Work/texk -I/<<PKGBUILDDIR>>/texk -I/usr/include/freetype2 -I/usr/include/libpng16    -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wreturn-type -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o x_util.o ../../../texk/xdvik/x_util.c
../../../texk/xdvik/vf.c: In function ‘read_VF_index’:
../../../texk/xdvik/vf.c:162:19: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  162 |             (void)fread((char *)m->pos, 1, len, VF_file);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../texk/xdvik/util.c: In function ‘my_realpath’:
../../../texk/xdvik/util.c:554:15: warning: ignoring return value of ‘fchdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  554 |         (void)fchdir(fd);
      |               ^~~~~~~~~~
../../../texk/xdvik/util.c:564:11: warning: ignoring return value of ‘fchdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  564 |     (void)fchdir(fd);
      |           ^~~~~~~~~~
../../../texk/xdvik/util.c: In function ‘fork_process’:
../../../texk/xdvik/util.c:1029:19: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1029 |             (void)chdir(dirname);
      |                   ^~~~~~~~~~~~~~
../../../texk/xdvik/util.c:1032:19: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1032 |             (void)getcwd(path, MAXPATHLEN);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~
../../../texk/xdvik/util.c: In function ‘find_file’:
../../../texk/xdvik/util.c:1456:27: warning: ignoring return value of ‘fchdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1456 |                     (void)fchdir(fd);
      |                           ^~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I../../../texk/xdvik  -I../../../texk/xdvik/gui -DPS_GS -I/<<PKGBUILDDIR>>/Work/texk -I/<<PKGBUILDDIR>>/texk -I/usr/include/freetype2 -I/usr/include/libpng16    -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wreturn-type -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o xdvi.o ../../../texk/xdvik/xdvi.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/xdvik  -I../../../texk/xdvik/gui -DPS_GS -I/<<PKGBUILDDIR>>/Work/texk -I/<<PKGBUILDDIR>>/texk -I/usr/include/freetype2 -I/usr/include/libpng16    -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wreturn-type -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o xserver-info.o ../../../texk/xdvik/xserver-info.c
squeeze/squeeze ../../../texk/xdvik/psheader.txt psheader.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/xdvik  -I../../../texk/xdvik/gui -DPS_GS -I/<<PKGBUILDDIR>>/Work/texk -I/<<PKGBUILDDIR>>/texk -I/usr/include/freetype2 -I/usr/include/libpng16    -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wreturn-type -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o gui/Panner.o ../../../texk/xdvik/gui/Panner.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/xdvik  -I../../../texk/xdvik/gui -DPS_GS -I/<<PKGBUILDDIR>>/Work/texk -I/<<PKGBUILDDIR>>/texk -I/usr/include/freetype2 -I/usr/include/libpng16    -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wreturn-type -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o gui/Tip.o ../../../texk/xdvik/gui/Tip.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/xdvik  -I../../../texk/xdvik/gui -DPS_GS -I/<<PKGBUILDDIR>>/Work/texk -I/<<PKGBUILDDIR>>/texk -I/usr/include/freetype2 -I/usr/include/libpng16    -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wreturn-type -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o gui/help-window.o ../../../texk/xdvik/gui/help-window.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/xdvik  -I../../../texk/xdvik/gui -DPS_GS -I/<<PKGBUILDDIR>>/Work/texk -I/<<PKGBUILDDIR>>/texk -I/usr/include/freetype2 -I/usr/include/libpng16    -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wreturn-type -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o gui/mag.o ../../../texk/xdvik/gui/mag.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/xdvik  -I../../../texk/xdvik/gui -DPS_GS -I/<<PKGBUILDDIR>>/Work/texk -I/<<PKGBUILDDIR>>/texk -I/usr/include/freetype2 -I/usr/include/libpng16    -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wreturn-type -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o gui/menu.o ../../../texk/xdvik/gui/menu.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/xdvik  -I../../../texk/xdvik/gui -DPS_GS -I/<<PKGBUILDDIR>>/Work/texk -I/<<PKGBUILDDIR>>/texk -I/usr/include/freetype2 -I/usr/include/libpng16    -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wreturn-type -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o gui/message-window.o ../../../texk/xdvik/gui/message-window.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/xdvik  -I../../../texk/xdvik/gui -DPS_GS -I/<<PKGBUILDDIR>>/Work/texk -I/<<PKGBUILDDIR>>/texk -I/usr/include/freetype2 -I/usr/include/libpng16    -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wreturn-type -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o gui/pagesel.o ../../../texk/xdvik/gui/pagesel.c
gcc -DHAVE_CONFIG_H -I. -I../../../texk/xdvik  -I../../../texk/xdvik/gui -DPS_GS -I/<<PKGBUILDDIR>>/Work/texk -I/<<PKGBUILDDIR>>/texk -I/usr/include/freetype2 -I/usr/include/libpng16    -Wdate-time -D_FORTIFY_SOURCE=2 -Wimplicit -Wreturn-type -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o gui/print-dialog.o ../../../texk/xdvik/gui/print-dialog.c
../../../texk/xdvik/gui/pagesel.c: In function ‘xaw_update_list’:
../../../texk/xdvik/gui/pagesel.c:541:41: error: passing argument 2 of ‘XawListChange’ from incompatible pointer type [-Wincompatible-pointer-types]
  541 |     XawListChange(LIST_WIDGET, page_info.page_labels, 0,
      |                                ~~~~~~~~~^~~~~~~~~~~~
      |                                         |
      |                                         char **
In file included from ../../../texk/xdvik/gui/pagesel.c:93:
/usr/include/X11/Xaw/List.h:170:27: note: expected ‘const char **’ but argument is of type ‘char **’
  170 |  _Xconst char           **list,
      |                           ^
make[6]: *** [Makefile:926: gui/pagesel.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[6]: Leaving directory '/<<PKGBUILDDIR>>/Work/texk/xdvik'
make[5]: *** [Makefile:1064: all-recursive] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/Work/texk/xdvik'
make[4]: *** [Makefile:626: all] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/Work/texk/xdvik'
make[3]: *** [Makefile:871: recurse] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Work/texk'
make[2]: *** [Makefile:442: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/Work/texk'
make[1]: *** [Makefile:536: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>/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: