Package: src:9base Version: 1:6-14 Severity: important Tags: sid forky User: debian-...@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/9base_6-14_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 [...] make[3]: Leaving directory '/build/reproducible-path/9base-6/cmp' make[3]: Entering directory '/build/reproducible-path/9base-6/date' CC date.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/9base-6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -I. -DPREFIX="\"/usr/lib/plan9\"" -DUNICODE -DDWBHOME="\"/usr/share/9base/troff\"" -DNTERMDIR="\"/term/tab.\"" -DTEXHYPHENS="\"/hyphen.tex\"" -DALTHYPHENS="\"/hyphen.tex\"" -DFONTDIR="\"/font\"" -DTDEVNAME="\"utf\"" -DTMACDIR="\"/tmac/tmac.\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I../lib9 -I../lib9/sec date.c In file included from /usr/include/inttypes.h:25, from ../lib9/u.h:38, from date.c:1: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ LD date cc -Wl,-z,relro -Wl,-z,now -o date date.o -L../lib9 -l9 -lm built date make[3]: Leaving directory '/build/reproducible-path/9base-6/date' make[3]: Entering directory '/build/reproducible-path/9base-6/dc' CC dc.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/9base-6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -I. -DPREFIX="\"/usr/lib/plan9\"" -DUNICODE -DDWBHOME="\"/usr/share/9base/troff\"" -DNTERMDIR="\"/term/tab.\"" -DTEXHYPHENS="\"/hyphen.tex\"" -DALTHYPHENS="\"/hyphen.tex\"" -DFONTDIR="\"/font\"" -DTDEVNAME="\"utf\"" -DTMACDIR="\"/tmac/tmac.\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I../lib9 -I../lib9/sec dc.c In file included from /usr/include/inttypes.h:25, from ../lib9/u.h:38, from dc.c:1: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ LD dc cc -Wl,-z,relro -Wl,-z,now -o dc dc.o -L../lib9 -l9 -lm built dc make[3]: Leaving directory '/build/reproducible-path/9base-6/dc' make[3]: Entering directory '/build/reproducible-path/9base-6/du' CC du.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/9base-6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -I. -DPREFIX="\"/usr/lib/plan9\"" -DUNICODE -DDWBHOME="\"/usr/share/9base/troff\"" -DNTERMDIR="\"/term/tab.\"" -DTEXHYPHENS="\"/hyphen.tex\"" -DALTHYPHENS="\"/hyphen.tex\"" -DFONTDIR="\"/font\"" -DTDEVNAME="\"utf\"" -DTMACDIR="\"/tmac/tmac.\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I../lib9 -I../lib9/sec du.c In file included from /usr/include/inttypes.h:25, from ../lib9/u.h:38, from du.c:1: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ LD du cc -Wl,-z,relro -Wl,-z,now -o du du.o -L../lib9 -l9 -lm built du make[3]: Leaving directory '/build/reproducible-path/9base-6/du' make[3]: Entering directory '/build/reproducible-path/9base-6/dd' CC dd.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/9base-6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -I. -DPREFIX="\"/usr/lib/plan9\"" -DUNICODE -DDWBHOME="\"/usr/share/9base/troff\"" -DNTERMDIR="\"/term/tab.\"" -DTEXHYPHENS="\"/hyphen.tex\"" -DALTHYPHENS="\"/hyphen.tex\"" -DFONTDIR="\"/font\"" -DTDEVNAME="\"utf\"" -DTMACDIR="\"/tmac/tmac.\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I../lib9 -I../lib9/sec dd.c In file included from /usr/include/inttypes.h:25, from ../lib9/u.h:38, from dd.c:1: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ dd.c: In function ‘match’: dd.c:316:30: error: expected identifier or ‘*’ before ‘true’ 316 | goto true; | ^~~~ dd.c:320:5: error: expected ‘;’ before ‘:’ token 320 | true: | ^ | ; dd.c: In function ‘p9main’: dd.c:228:17: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 228 | read(ibf, ibuf, ibs); | ^~~~~~~~~~~~~~~~~~~~ make[3]: *** [../std.mk:28: dd.o] Error 1 make[3]: Leaving directory '/build/reproducible-path/9base-6/dd' make[2]: *** [Makefile:63: all] Error 2 make[2]: Leaving directory '/build/reproducible-path/9base-6' dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" "CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/9base-6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -I. -DPREFIX=\"\\\"/usr/lib/plan9\\\"\" -DUNICODE -DDWBHOME=\"\\\"/usr/share/9base/troff\\\"\" -DNTERMDIR=\"\\\"/term/tab.\\\"\" -DTEXHYPHENS=\"\\\"/hyphen.tex\\\"\" -DALTHYPHENS=\"\\\"/hyphen.tex\\\"\" -DFONTDIR=\"\\\"/font\\\"\" -DTDEVNAME=\"\\\"utf\\\"\" -DTMACDIR=\"\\\"/tmac/tmac.\\\"\" -Wdate-time -D_FORTIFY_SOURCE=2" "LDFLAGS=-Wl,-z,relro -Wl,-z,now" PREFIX=/usr/lib/plan9 MANPREFIX=/usr/share/man STRIP=true returned exit code 2 make[1]: *** [debian/rules:29: override_dh_auto_build] Error 25 make[1]: Leaving directory '/build/reproducible-path/9base-6' make: *** [debian/rules:26: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2