Bug#1075534: spooles: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:44:50 BST 2024


Package: src:spooles
Version: 2.2-14.1
Severity: important
Tags: sid trixie
User: debian-gcc at 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/spooles_2.2-14.1_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

[...]
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   48 |            (count)*sizeof(type), __LINE__, __FILE__) ; \
      |            ~~~~~~~~~~~~~~~~~~~~
      |            |
      |            long unsigned int
basics.c:27:1: note: in expansion of macro ‘ALLOCATE’
   27 | ALLOCATE(etree, struct _ETree, 1) ;
      | ^~~~~~~~
../../Utilities/MM.h:47:40: note: format string is defined here
   47 |            "\n ALLOCATE error : bytes %d, line %d, file %s", \
      |                                       ~^
      |                                        |
      |                                        int
      |                                       %ld
c99 -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/ETree/src=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection compress.c -o ETree_compress.o -I/usr/include/x86_64-linux-gnu/mpi
c99 -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/ETree/src=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection init.c -o ETree_init.o -I/usr/include/x86_64-linux-gnu/mpi
c99 -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/ETree/src=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection initFromSubtree.c -o ETree_initFromSubtree.o -I/usr/include/x86_64-linux-gnu/mpi
c99 -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/ETree/src=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection instance.c -o ETree_instance.o -I/usr/include/x86_64-linux-gnu/mpi
c99 -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/ETree/src=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection justify.c -o ETree_justify.o -I/usr/include/x86_64-linux-gnu/mpi
c99 -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/ETree/src=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection maps.c -o ETree_maps.o -I/usr/include/x86_64-linux-gnu/mpi
c99 -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/ETree/src=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection metrics.c -o ETree_metrics.o -I/usr/include/x86_64-linux-gnu/mpi
c99 -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/ETree/src=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection ms.c -o ETree_ms.o -I/usr/include/x86_64-linux-gnu/mpi
c99 -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/ETree/src=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection permute.c -o ETree_permute.o -I/usr/include/x86_64-linux-gnu/mpi
c99 -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/ETree/src=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection semi.c -o ETree_semi.o -I/usr/include/x86_64-linux-gnu/mpi
c99 -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/ETree/src=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection storage.c -o ETree_storage.o -I/usr/include/x86_64-linux-gnu/mpi
c99 -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>/ETree/src=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection transform.c -o ETree_transform.o -I/usr/include/x86_64-linux-gnu/mpi
transform.c: In function ‘ETree_mergeFrontsOne’:
transform.c:294:23: error: passing argument 2 of ‘IVinit’ makes integer from pointer without a cast [-Wint-conversion]
  294 | temp = IVinit(nfront, NULL) ;
      |                       ^~~~
      |                       |
      |                       void *
In file included from ../../Utilities/Utilities.h:37,
                 from ../../cfiles.h:3,
                 from ../ETree.h:4,
                 from transform.c:3:
../../Utilities/IV.h:139:10: note: expected ‘int’ but argument is of type ‘void *’
  139 |    int   ival
      |    ~~~~~~^~~~
transform.c: In function ‘ETree_mergeFrontsAll’:
transform.c:456:23: error: passing argument 2 of ‘IVinit’ makes integer from pointer without a cast [-Wint-conversion]
  456 | temp = IVinit(nfront, NULL) ;
      |                       ^~~~
      |                       |
      |                       void *
../../Utilities/IV.h:139:10: note: expected ‘int’ but argument is of type ‘void *’
  139 |    int   ival
      |    ~~~~~~^~~~
transform.c: In function ‘ETree_mergeFrontsAny’:
transform.c:617:23: error: passing argument 2 of ‘IVinit’ makes integer from pointer without a cast [-Wint-conversion]
  617 | temp = IVinit(nfront, NULL) ;
      |                       ^~~~
      |                       |
      |                       void *
../../Utilities/IV.h:139:10: note: expected ‘int’ but argument is of type ‘void *’
  139 |    int   ival
      |    ~~~~~~^~~~
make[5]: *** [makeG:30: transform.o] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/ETree/src'
make[4]: *** [makefile:31: makeLib] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/ETree/src'
make[3]: *** [makefile:5: lib] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/ETree'
make[2]: *** [makefile:100: lib] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" lib returned exit code 2
make[1]: *** [debian/rules:6: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the debian-science-maintainers mailing list