Bug#1074925: dvi2dvi: ftbfs with GCC-14
Package: src:dvi2dvi
Version: 2.0alpha-11
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/dvi2dvi_2.0alpha-11_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
[...]
SCHROOT_CHROOT_NAME=sid-amd64-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=1001
SCHROOT_GROUP=user42
SCHROOT_SESSION_ID=sid-amd64-sbuild-b1459cd5-63de-4ac5-b897-21fad9bb7f7f
SCHROOT_UID=1001
SCHROOT_USER=user42
SHELL=/bin/sh
USER=user42
dpkg-buildpackage
-----------------
Command: dpkg-buildpackage --sanitize-env -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package dvi2dvi
dpkg-buildpackage: info: source version 2.0alpha-11
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Andreas Beckmann <anbe@debian.org>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
debian/rules clean
dh clean
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
make -j8 clean
make[2]: Entering directory '/<<PKGBUILDDIR>>'
rm -f dvi2dvi *.o *.orig core
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
rm -rf lib/
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
make -j8
make[2]: Entering directory '/<<PKGBUILDDIR>>'
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DPOSIX -DANSI -I/usr/include -DKPATHSEA -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -c -DDVI2PATH=\".:/etc/texmf/dvi2dvi\" -DDVI2LIB=\"/etc/texmf/dvi2dvi\" -DFONTDESC=\"//fontdesc\" dvi2.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DPOSIX -DANSI -I/usr/include -DKPATHSEA -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dviconv.o dviconv.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DPOSIX -DANSI -I/usr/include -DKPATHSEA -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dfdcom.o dfdcom.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DPOSIX -DANSI -I/usr/include -DKPATHSEA -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fontcom.o fontcom.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DPOSIX -DANSI -I/usr/include -DKPATHSEA -Wdate-time -D_FORTIFY_SOURCE=2 -c -o set.o set.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DPOSIX -DANSI -I/usr/include -DKPATHSEA -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rfset.o rfset.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DPOSIX -DANSI -I/usr/include -DKPATHSEA -Wdate-time -D_FORTIFY_SOURCE=2 -c -o vfset.o vfset.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DPOSIX -DANSI -I/usr/include -DKPATHSEA -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dconv.o dconv.c
fontcom.c:100:1: error: return type defaults to ‘int’ [-Wimplicit-int]
100 | first_markchar(fe, c)
| ^~~~~~~~~~~~~~
fontcom.c:150:1: error: return type defaults to ‘int’ [-Wimplicit-int]
150 | null_markchar(fe, c)
| ^~~~~~~~~~~~~
fontcom.c:178:1: error: return type defaults to ‘int’ [-Wimplicit-int]
178 | null_setchar(c)
| ^~~~~~~~~~~~
fontcom.c:185:1: error: return type defaults to ‘int’ [-Wimplicit-int]
185 | null_setstring(s, len)
| ^~~~~~~~~~~~~~
make[2]: *** [<builtin>: fontcom.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make[1]: *** [debian/rules:11: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: