Package: src:xstarfish
Version: 1.1+ds-3
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/xstarfish_1.1+ds-3_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

[...]
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=unstable
SCHROOT_CHROOT_NAME=sid-amd64-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=1001
SCHROOT_GROUP=user42
SCHROOT_SESSION_ID=sid-amd64-sbuild-17585a97-540b-4a4a-b6f7-4c05abb9fc99
SCHROOT_UID=1001
SCHROOT_USER=user42
SHELL=/bin/sh
USER=user42

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage --sanitize-env -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package xstarfish
dpkg-buildpackage: info: source version 1.1+ds-3
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Petter Reinholdtsen <p...@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
dh clean
   dh_auto_clean
        make -j8 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f starfish-engine.o generators.o genutils.o bufferxform.o greymap.o 
pixmap.o starfish-rasterlib.o coswave-gen.o spinflake-gen.o rangefrac-gen.o 
bubble-gen.o flatwave-gen.o setdesktop.o makepng.o starfish
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules execute_after_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f unix/starfish.o
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
        make -j8 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cc -O3 -funroll-all-loops -I ./portable -I ./portable/pixels/ -I 
./portable/generators/ -I ./unix/ -g -D__USE_EXTERN_INLINES -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  -c -o 
starfish-engine.o ./portable/starfish-engine.c
cc -O3 -funroll-all-loops -I ./portable -I ./portable/pixels/ -I 
./portable/generators/ -I ./unix/ -g -D__USE_EXTERN_INLINES -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  -c -o 
generators.o ./portable/generators.c
cc -O3 -funroll-all-loops -I ./portable -I ./portable/pixels/ -I 
./portable/generators/ -I ./unix/ -g -D__USE_EXTERN_INLINES -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  -c -o 
genutils.o ./portable/genutils.c
cc -O3 -funroll-all-loops -I ./portable -I ./portable/pixels/ -I 
./portable/generators/ -I ./unix/ -g -D__USE_EXTERN_INLINES -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  -c -o 
bufferxform.o ./portable/pixels/bufferxform.c
cc -O3 -funroll-all-loops -I ./portable -I ./portable/pixels/ -I 
./portable/generators/ -I ./unix/ -g -D__USE_EXTERN_INLINES -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  -c -o 
greymap.o ./portable/pixels/greymap.c
cc -O3 -funroll-all-loops -I ./portable -I ./portable/pixels/ -I 
./portable/generators/ -I ./unix/ -g -D__USE_EXTERN_INLINES -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  -c -o 
pixmap.o ./portable/pixels/pixmap.c
cc -O3 -funroll-all-loops -I ./portable -I ./portable/pixels/ -I 
./portable/generators/ -I ./unix/ -g -D__USE_EXTERN_INLINES -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  -c -o 
starfish-rasterlib.o ./portable/pixels/starfish-rasterlib.c
cc -O3 -funroll-all-loops -I ./portable -I ./portable/pixels/ -I 
./portable/generators/ -I ./unix/ -g -D__USE_EXTERN_INLINES -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  -c -o 
coswave-gen.o ./portable/generators/coswave-gen.c
In file included from ./portable/pixels/bufferxform.h:30,
                 from ./portable/pixels/bufferxform.c:25:
./portable/pixels/bufferxform.c: In function ‘MergePixBufs’:
./portable/pixels/greymap.h:35:23: warning: unsigned conversion from ‘int’ to 
‘unsigned char’ changes value from ‘256’ to ‘0’ [-Woverflow]
   35 | #define CHANNEL_RANGE 256
      |                       ^~~
./portable/pixels/bufferxform.c:255:122: note: in expansion of macro 
‘CHANNEL_RANGE’
  255 |                                                 if(toppixel->alpha + 
botpixel->alpha > CHANNEL_RANGE) destpixel->alpha = CHANNEL_RANGE;
      |                                                                         
                                                 ^~~~~~~~~~~~~
cc -O3 -funroll-all-loops -I ./portable -I ./portable/pixels/ -I 
./portable/generators/ -I ./unix/ -g -D__USE_EXTERN_INLINES -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  -c -o 
spinflake-gen.o ./portable/generators/spinflake-gen.c
./portable/generators.c: In function ‘LoadGenerators’:
./portable/generators.c:155:26: error: assignment to ‘GeneratorRec *’ from 
incompatible pointer type ‘struct GeneratorList *’ 
[-Wincompatible-pointer-types]
  155 |         if(out) out->gen = (GenListRef)malloc(genlistsize);
      |                          ^
make[1]: *** [<builtin>: generators.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned 
exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to