[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/xdvik-ja_22.87.06+j1.42-3_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
[...]
1065 | (void)getcwd(path, MAXPATHLEN);
| ^~~~~~~~~~~~~~~~~~~~~~~~
util.c: In function ‘find_file’:
util.c:1489:27: warning: ignoring return value of ‘fchdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1489 | (void)fchdir(fd);
| ^~~~~~~~~~
vf.c: In function ‘read_VF_index’:
vf.c:169:19: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
169 | (void)fread((char *)m->pos, 1, len, VF_file);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I./gui -DPS_GS -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 xdvi.c
gcc -DHAVE_CONFIG_H -I. -I./gui -DPS_GS -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 xserver-info.c
gcc -DHAVE_CONFIG_H -I. -I./gui -DPS_GS -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 ptexvf.o ptexvf.c
gcc -DHAVE_CONFIG_H -I. -I./gui -DPS_GS -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 ptexmap.o ptexmap.c
gcc -DHAVE_CONFIG_H -I. -I./gui -DPS_GS -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 ft2.o ft2.c
gcc -DHAVE_CONFIG_H -I. -I./gui -DPS_GS -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 jfm.o jfm.c
gcc -DHAVE_CONFIG_H -I. -I./gui -DPS_GS -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 fontconfig.o fontconfig.c
gcc -DHAVE_CONFIG_H -I. -I./gui -DPS_GS -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 ft2vert.o ft2vert.c
In file included from ft2.c:42:
ft2.c: In function ‘ft2_get_bitmap’:
ft2.c:270:32: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long int’ [-Wformat=]
270 | XDVI_WARNING(( stderr, "FreeType2: Failed in load glyph. "
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
271 | "(char=0x%X)\n", char_code ));
| ~~~~~~~~~
| |
| long int
util.h:212:17: note: in definition of macro ‘XDVI_WARNING’
212 | fprintf X; \
| ^
ft2.c:277:32: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long int’ [-Wformat=]
277 | XDVI_WARNING(( stderr, "FreeType2: Failed in render glyph. "
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
278 | "(char=0x%X)\n", char_code ));
| ~~~~~~~~~
| |
| long int
util.h:212:17: note: in definition of macro ‘XDVI_WARNING’
212 | fprintf X; \
| ^
gcc -DHAVE_CONFIG_H -I. -I./gui -DPS_GS -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 AJ16.o AJ16.c
squeeze/squeeze ./psheader.txt psheader.c
gcc -DHAVE_CONFIG_H -I. -I./gui -DPS_GS -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 gui/Panner.c
gcc -DHAVE_CONFIG_H -I. -I./gui -DPS_GS -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 gui/Tip.c
gcc -DHAVE_CONFIG_H -I. -I./gui -DPS_GS -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 gui/help-window.c
gcc -DHAVE_CONFIG_H -I. -I./gui -DPS_GS -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 gui/mag.c
gcc -DHAVE_CONFIG_H -I. -I./gui -DPS_GS -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 gui/menu.c
gcc -DHAVE_CONFIG_H -I. -I./gui -DPS_GS -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 gui/message-window.c
gcc -DHAVE_CONFIG_H -I. -I./gui -DPS_GS -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 gui/pagesel.c
gcc -DHAVE_CONFIG_H -I. -I./gui -DPS_GS -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 gui/print-dialog.c
gui/pagesel.c: In function ‘xaw_update_list’:
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 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[3]: *** [Makefile:941: gui/pagesel.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/texk/xdvik'
make[2]: *** [Makefile:1079: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/texk/xdvik'
make[1]: *** [Makefile:634: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/texk/xdvik'
dh_auto_build: error: cd texk/xdvik && make -j8 returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2