Package: src:icon Version: 9.4.3-8 Severity: important Tags: sid trixie User: [email protected] 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/icon_9.4.3-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 [...] | ~~^~~~~~ rimage.r:788:21: warning: array subscript has type 'char' [-Wchar-subscripts] 788 | while (gcounts[bx->gmax] == 0) bx->gmax--; | ~~^~~~~~ rimage.r:789:21: warning: array subscript has type 'char' [-Wchar-subscripts] 789 | while (bcounts[bx->bmin] == 0) bx->bmin++; | ~~^~~~~~ rimage.r:790:21: warning: array subscript has type 'char' [-Wchar-subscripts] 790 | while (bcounts[bx->bmax] == 0) bx->bmax--; | ~~^~~~~~ rm xrimage.c cd ../common; /usr/bin/make make[3]: Entering directory '/<<PKGBUILDDIR>>/src/common' if [ "x-L../../bin -lIgpx -L/usr/X11R6/lib64 -L/usr/X11R6/lib -lX11" != "x" ]; then /usr/bin/make xpm; fi make[4]: Entering directory '/<<PKGBUILDDIR>>/src/common' cd ../xpm; /usr/bin/make libXpm.a make[5]: Entering directory '/<<PKGBUILDDIR>>/src/xpm' gcc -c -Wall -g -O2 -fno-strict-aliasing -fno-strict-overflow -ffile-prefix-map=/<<PKGBUILDDIR>>=. -DZPIPE data.c data.c:113:1: error: return type defaults to 'int' [-Wimplicit-int] 113 | xpmNextString(mdata) | ^~~~~~~~~~~~~ data.c: In function 'xpmGetString': data.c:211:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 211 | while (c = *mdata->cptr) | ^ data.c: At top level: data.c:280:1: error: return type defaults to 'int' [-Wimplicit-int] 280 | xpmGetCmt(mdata, cmt) | ^~~~~~~~~ data.c:406:1: error: return type defaults to 'int' [-Wimplicit-int] 406 | XpmDataClose(mdata) | ^~~~~~~~~~~~ data.c: In function 'xpmNextString': data.c:139:1: warning: control reaches end of non-void function [-Wreturn-type] 139 | } | ^ data.c: In function 'ParseComment': data.c:108:1: warning: control reaches end of non-void function [-Wreturn-type] 108 | } | ^ data.c: In function 'xpmGetCmt': data.c:294:1: warning: control reaches end of non-void function [-Wreturn-type] 294 | } | ^ data.c: In function 'XpmDataClose': data.c:422:1: warning: control reaches end of non-void function [-Wreturn-type] 422 | } | ^ data.c: At top level: data.c:15:14: warning: 'RCS_Id' defined but not used [-Wunused-variable] 15 | static char *RCS_Id = "$Id: xpm.shar,v 3.13 1992/12/29 16:05:26 lehors Exp $"; | ^~~~~~ data.c:12:14: warning: 'RCS_Version' defined but not used [-Wunused-variable] 12 | static char *RCS_Version = "$XpmVersion: 3.2c $"; | ^~~~~~~~~~~ make[5]: *** [Makefile:17: data.o] Error 1 make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/xpm' make[4]: *** [Makefile:21: xpm] Error 2 make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/common' make[3]: [Makefile:18: gpxmaybe] Error 2 (ignored) make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/common' gcc -Wl,-E -o iconx xcnv.o xdata.o xdef.o xerrmsg.o xextcall.o xfconv.o xfload.o xfmath.o xfmisc.o xfmonitr.o xfscan.o xfstr.o xfstranl.o xfstruct.o xfsys.o xfwindow.o ximain.o ximisc.o xinit.o xinterp.o xinvoke.o xkeyword.o xlmisc.o xoarith.o xoasgn.o xocat.o xocomp.o xomisc.o xoref.o xoset.o xovalue.o xralc.o xrcoexpr.o xrcomp.o xrdebug.o xrlrgint.o xrmemmgt.o xrmisc.o xrstruct.o xrsys.o xrwinrsc.o xrwinsys.o xrwindow.o xrcolor.o xrimage.o ../common/long.o ../common/time.o ../common/rswitch.o ../common/xwindow.o ../common/alloc.o ../common/filepart.o ../common/munix.o -L../../bin -lIgpx -L/usr/X11R6/lib64 -L/usr/X11R6/lib -lX11 -lm -ldl -lpthread /usr/bin/ld: cannot find -lIgpx: No such file or directory collect2: error: ld returned 1 exit status make[2]: *** [Makefile:42: iconx] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/runtime' make[1]: *** [Makefile:67: Icont] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:44: build-icont] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

