[Debian-med-packaging] Bug#1075627: volpack: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:47:41 BST 2024


Package: src:volpack
Version: 1.0b3-9.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/volpack_1.0b3-9.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

[...]
make[4]: Entering directory '/<<PKGBUILDDIR>>/man/src'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/man/src'
make[4]: Entering directory '/<<PKGBUILDDIR>>/man'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/man'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/man'
Making all in examples
make[3]: Entering directory '/<<PKGBUILDDIR>>/examples'
gcc -DHAVE_CONFIG_H -I. -I..  -I.. -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o classifyvolume.o classifyvolume.c
gcc -DHAVE_CONFIG_H -I. -I..  -I.. -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o makeoctree.o makeoctree.c
gcc -DHAVE_CONFIG_H -I. -I..  -I.. -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o makevolume.o makevolume.c
gcc -DHAVE_CONFIG_H -I. -I..  -I.. -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o rendervolume.o rendervolume.c
gcc -DHAVE_CONFIG_H -I. -I..  -I.. -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o scalevolume.o scalevolume.c
gcc -DHAVE_CONFIG_H -I. -I..  -I.. -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o denfile.o denfile.c
classifyvolume.c:37:1: error: return type defaults to ‘int’ [-Wimplicit-int]
   37 | main(argc, argv)
      | ^~~~
denfile.c:221:1: error: return type defaults to ‘int’ [-Wimplicit-int]
  221 | read_bytes(fd, buf, bytecount)
      | ^~~~~~~~~~
makeoctree.c:36:1: error: return type defaults to ‘int’ [-Wimplicit-int]
   36 | main()
      | ^~~~
denfile.c:249:1: error: return type defaults to ‘int’ [-Wimplicit-int]
  249 | read_shorts(fd, sbuf, shortcount, swap)
      | ^~~~~~~~~~~
denfile.c:297:1: error: return type defaults to ‘int’ [-Wimplicit-int]
  297 | read_words(fd, wbuf, wordcount, swap)
      | ^~~~~~~~~~
denfile.c:345:1: error: return type defaults to ‘int’ [-Wimplicit-int]
  345 | write_bytes(fd, buf, bytecount)
      | ^~~~~~~~~~~
makevolume.c:36:1: error: return type defaults to ‘int’ [-Wimplicit-int]
   36 | main()
      | ^~~~
scalevolume.c:46:1: error: return type defaults to ‘int’ [-Wimplicit-int]
   46 | main(argc, argv)
      | ^~~~
make[3]: *** [Makefile:423: classifyvolume.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:423: makeoctree.o] Error 1
make[3]: *** [Makefile:423: denfile.o] Error 1
make[3]: *** [Makefile:423: scalevolume.o] Error 1
make[3]: *** [Makefile:423: makevolume.o] Error 1
rendervolume.c:39:1: error: return type defaults to ‘int’ [-Wimplicit-int]
   39 | main(argc, argv)
      | ^~~~
rendervolume.c: In function ‘main’:
rendervolume.c:202:18: error: passing argument 1 of ‘StorePGM’ from incompatible pointer type [-Wincompatible-pointer-types]
  202 |         StorePGM(image, IMAGE_WIDTH, IMAGE_HEIGHT, filename);
      |                  ^~~~~
      |                  |
      |                  unsigned char (*)[256]
rendervolume.c:37:20: note: expected ‘char *’ but argument is of type ‘unsigned char (*)[256]’
   37 | int StorePGM(char* image, int width, int height, char* filename);
      |              ~~~~~~^~~~~
rendervolume.c: At top level:
rendervolume.c:211:1: error: return type defaults to ‘int’ [-Wimplicit-int]
  211 | StorePGM(image, width, height, filename)
      | ^~~~~~~~
make[3]: *** [Makefile:423: rendervolume.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/examples'
make[2]: *** [Makefile:660: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:474: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list