Package: src:ploticus Version: 2.42-6 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/ploticus_2.42-6_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 [...] gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 `dpkg-buildflags --get CFLAGS` -Wdate-time -D_FORTIFY_SOURCE=2 -c -o block.o block.c gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 `dpkg-buildflags --get CFLAGS` -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pcode.o pcode.c In function ‘verttextsim’, inlined from ‘PLG_pcode’ at pcode.c:623:41: pcode.c:740:19: warning: ‘y2’ may be used uninitialized [-Wmaybe-uninitialized] 740 | y -= (Ecurtextheight * globalscale); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pcode.c: In function ‘PLG_pcode’: pcode.c:717:18: note: ‘y2’ was declared here 717 | double dist, y1, y2, x, y; | ^~ In file included from pcode.c:63: In function ‘verttextsim’, inlined from ‘PLG_pcode’ at pcode.c:623:41: plg.h:164:57: warning: ‘y1’ may be used uninitialized [-Wmaybe-uninitialized] 164 | #define Ebb( x, y ) PLG_bb( x, y ) | ^~~~~~~~~~~~~~ pcode.c:744:1: note: in expansion of macro ‘Ebb’ 744 | Ebb( x-(Ecurtextheight*globalscale), y1 ); | ^~~ pcode.c: In function ‘PLG_pcode’: pcode.c:717:14: note: ‘y1’ was declared here 717 | double dist, y1, y2, x, y; | ^~ gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 `dpkg-buildflags --get CFLAGS` -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ps.o ps.c gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 `dpkg-buildflags --get CFLAGS` -Wdate-time -D_FORTIFY_SOURCE=2 -c -o svg.o svg.c svg.c: In function ‘PLGS_trailer’: svg.c:743:46: error: passing argument 1 of ‘gzprintf’ from incompatible pointer type [-Wincompatible-pointer-types] 743 | if( svg_compress ) gzprintf( outfp, "%s", buf ); | ^~~~~ | | | FILE * In file included from svg.c:35: /usr/include/zlib.h:1471:39: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘FILE *’ 1471 | ZEXTERN int ZEXPORTVA gzprintf(gzFile file, const char *format, ...); | ~~~~~~~^~~~ svg.c:752:26: error: passing argument 1 of ‘gzclose’ from incompatible pointer type [-Wincompatible-pointer-types] 752 | gzclose( outfp ); | ^~~~~ | | | FILE * /usr/include/zlib.h:1634:39: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘FILE *’ 1634 | ZEXTERN int ZEXPORT gzclose(gzFile file); | ~~~~~~~^~~~ make[2]: *** [<builtin>: svg.o] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>/src' make[2]: Entering directory '/<<PKGBUILDDIR>>/src' rm -f *.o gd??files make[2]: Leaving directory '/<<PKGBUILDDIR>>/src' make[1]: Leaving directory '/<<PKGBUILDDIR>>' touch build-stamp fakeroot debian/rules binary dh_prep rm -f -- debian/ploticus.substvars debian/libploticus0.substvars debian/libploticus0-dev.substvars rm -fr -- debian/.debhelper/generated/ploticus/ debian/ploticus/ debian/tmp/ debian/.debhelper/generated/libploticus0/ debian/libploticus0/ debian/.debhelper/generated/libploticus0-dev/ debian/libploticus0-dev/ dh_testdir dh_testroot dh_installdirs install -m0755 -d debian/ploticus/usr/bin debian/ploticus/usr/share/doc/ploticus/examples debian/ploticus/usr/share/man/man1 debian/ploticus/usr/share/ploticus install -m0755 -d debian/libploticus0/usr/lib install -m0755 -d debian/libploticus0-dev/usr/include debian/libploticus0-dev/usr/lib /usr/bin/make install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp make[1]: Entering directory '/<<PKGBUILDDIR>>' install -d -m 755 /<<PKGBUILDDIR>>/debian/tmp/usr/bin install -m 755 src/ploticus /<<PKGBUILDDIR>>/debian/tmp/usr/bin/ploticus install: cannot stat 'src/ploticus': No such file or directory make[1]: *** [Makefile:22: install] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:36: install] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2