Bug#1075639: wily: ftbfs with GCC-14
Package: src:wily
Version: 0.13.42-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/wily_0.13.42-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
[...]
make[3]: warning: -j8 forced in submake: resetting jobserver mode.
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I.. -I./../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o arith.o arith.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I.. -I./../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o frptofchar.o frptofchar.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I.. -I./../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o frselect.o frselect.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I.. -I./../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o frstr.o frstr.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I.. -I./../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o connect.o connect.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I.. -I./../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o balloc.o balloc.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I.. -I./../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bitblt.o bitblt.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I.. -I./../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o msg.o msg.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I.. -I./../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bitbltclip.o bitbltclip.c
arith.c:110:1: error: return type defaults to ‘int’ [-Wimplicit-int]
110 | eqpt(Point p, Point q)
| ^~~~
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I.. -I./../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I.. -I./../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o border.o border.c
arith.c:115:1: error: return type defaults to ‘int’ [-Wimplicit-int]
115 | eqrect(Rectangle r, Rectangle s)
| ^~~~~~
arith.c:121:1: error: return type defaults to ‘int’ [-Wimplicit-int]
121 | rectXrect(Rectangle r, Rectangle s)
| ^~~~~~~~~
arith.c:137:1: error: return type defaults to ‘int’ [-Wimplicit-int]
137 | ptinrect(Point p, Rectangle r)
| ^~~~~~~~
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I.. -I./../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bscreenrect.o bscreenrect.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I.. -I./../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o circle.o circle.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I.. -I./../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rpc.o rpc.c
make[3]: *** [<builtin>: arith.o] Error 1
make[3]: *** Waiting for unfinished jobs....
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I.. -I./../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o frutil.o frutil.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I.. -I./../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o misc.o misc.c
connect.c: In function ‘client_connect’:
connect.c:109:9: warning: ignoring return value of ‘tmpnam’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
109 | tmpnam(addr.sun_path);
| ^~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/libXg'
make[2]: *** [Makefile:12: libXg/libXg.a] Error 2
make[2]: *** Waiting for unfinished jobs....
misc.c: In function ‘fprint’:
misc.c:21:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
21 | write(fd, buf, strlen(buf));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
ar rv libframe.a frbox.o frdelete.o frdraw.o frinit.o frinsert.o frptofchar.o frselect.o frstr.o frutil.o misc.o
ar: creating libframe.a
a - frbox.o
a - frdelete.o
a - frdraw.o
a - frinit.o
a - frinsert.o
a - frptofchar.o
a - frselect.o
a - frstr.o
a - frutil.o
a - misc.o
ranlib libframe.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/libframe'
ar rv libmsg.a connect.o msg.o util.o rpc.o
ar: creating libmsg.a
a - connect.o
a - msg.o
a - util.o
a - rpc.o
ranlib libmsg.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/libmsg'
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: