Control: tags -1 + patch A patch for this can be found here:
https://src.fedoraproject.org/rpms/xskat/raw/rawhide/f/xskat-c99.patch Cheers Jochen * Matthias Klose <d...@debian.org> [2024-07-03 12:49]:
Package: src:xskat Version: 4.0-8 Severity: important Tags: sid trixie User: debian-...@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/xskat_4.0-8_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 [...] skat.c:1827:3: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1827 | fscanf(f,"i %d %d\n",&laninvite[0],&laninvite[1]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ skat.c:1833:3: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1833 | fscanf(f,"a %9s %9s\n",usrname[0],usrname[1]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ skat.c:1834:3: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1834 | fscanf(f,"a %9s %9s\n",conames[0][0],conames[0][1]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ skat.c:1835:3: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1835 | fscanf(f,"a %9s %9s\n",conames[1][0],conames[1][1]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xio.c: In function ‘read_cards’: xio.c:1818:7: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1818 | fscanf(f,"%*s "); | ^~~~~~~~~~~~~~~~ irc.c: In function ‘irc_connect’: irc.c:1384:3: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1384 | pipe(pipe1fd); | ^~~~~~~~~~~~~ irc.c:1385:3: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1385 | pipe(pipe2fd); | ^~~~~~~~~~~~~ xdial.c: In function ‘di_grafik’: xdial.c:3165:19: warning: ‘%s’ directive writing up to 39 bytes into a region of size between 0 and 39 [-Wformat-overflow=] 3165 | sprintf(buf,"%s %s",usrname[0],usrname[1]); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:964, from xdial.c:24: In function ‘sprintf’, inlined from ‘di_grafik’ at xdial.c:3165:3: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 2 and 80 bytes into a destination of size 40 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ xdial.c: In function ‘di_strateg’: xdial.c:3209:19: warning: ‘%s’ directive writing up to 39 bytes into a region of size between 0 and 39 [-Wformat-overflow=] 3209 | sprintf(buf,"%s %s",conames[0][0],conames[0][1]); | ^~ ~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘di_strateg’ at xdial.c:3209:3: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 2 and 80 bytes into a destination of size 40 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ xdial.c: In function ‘di_strateg’: xdial.c:3219:19: warning: ‘%s’ directive writing up to 39 bytes into a region of size between 0 and 39 [-Wformat-overflow=] 3219 | sprintf(buf,"%s %s",conames[1][0],conames[1][1]); | ^~ ~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘di_strateg’ at xdial.c:3219:3: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 2 and 80 bytes into a destination of size 40 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j8 CC=x86_64-linux-gnu-gcc "CCOPTIONS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2" "EXTRA_LDOPTIONS=-Wl,-z,relro -Wl,-z,now" returned exit code 2 make[1]: *** [debian/rules:16: override_dh_auto_build] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:13: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
signature.asc
Description: PGP signature