[Debian-med-packaging] Bug#1097773: raster3d: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:49:55 GMT 2025


Package: src:raster3d
Version: 3.0-7-2
Severity: important
Tags: sid forky
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-15

[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/raster3d_3.0-7-2_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html

[...]
make -C examples clean
make[2]: Entering directory '/build/reproducible-path/raster3d-3.0-7/examples'
rm -f example1.png example2.png example3.png example4.png example5.png example6_draft.png example6_aa.png example6.png example6_alpha.png example7.png example8.png example9.png example1_diff.png example2_diff.png example3_diff.png example4_diff.png example5_diff.png example6_draft_diff.png example6_aa_diff.png example6_diff.png example6_alpha_diff.png example7_diff.png example8_diff.png example9_diff.png
rm -f example2.r3d example8.r3d example9[abcdef].png example9_labels.png
rm -rf reference
make[2]: Leaving directory '/build/reproducible-path/raster3d-3.0-7/examples'
rm -f Makefile.incl 
touch Makefile.incl
if [ -e aix-patch ] ; then rm -f aix-patch; fi
exit 0
make[1]: Leaving directory '/build/reproducible-path/raster3d-3.0-7'
   dh_autoreconf_clean -O--no-parallel
   dh_clean -O--no-parallel
 debian/rules binary
dh binary --no-parallel
   dh_update_autotools_config -O--no-parallel
   dh_autoreconf -O--no-parallel
   dh_auto_configure -O--no-parallel
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/raster3d-3.0-7'
/usr/bin/make linux
make[2]: Entering directory '/build/reproducible-path/raster3d-3.0-7'
make[2]: Leaving directory '/build/reproducible-path/raster3d-3.0-7'
make[1]: Leaving directory '/build/reproducible-path/raster3d-3.0-7'
   dh_auto_test -O--no-parallel
   create-stamp debian/debhelper-build-stamp
   dh_testroot -O--no-parallel
   dh_prep -O--no-parallel
   debian/rules override_dh_auto_install
make[1]: Entering directory '/build/reproducible-path/raster3d-3.0-7'
dh_auto_install -- prefix=/build/reproducible-path/raster3d-3.0-7/debian/tmp
	make -j1 install DESTDIR=/build/reproducible-path/raster3d-3.0-7/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" prefix=/build/reproducible-path/raster3d-3.0-7/debian/tmp
make[2]: Entering directory '/build/reproducible-path/raster3d-3.0-7'
Making Raster3D 3.0-7 for linux
gcc -g -O2 -Wall -Dgfortran -I/usr/include -I/usr/local/include -DGUNZIP  -DTIFF_SUPPORT -DTIFF_INVERT -DGD_SUPPORT  -DLINUX -DNETWORKBYTEORDER -Wl,-z,relro -Wl,-z,now -o avs2ps avs2ps.c -lm
avs2ps.c: In function ‘main’:
avs2ps.c:31:5: warning: old-style function definition [-Wold-style-definition]
   31 | int main(argc,argv)
      |     ^~~~
avs2ps.c:158:13: error: too many arguments to function ‘dither’; expected 0, have 6
  158 |             dither( xsize, inbuf1, inbuf2, obuf1, index, done );
      |             ^~~~~~  ~~~~~
avs2ps.c:40:18: note: declared here
   40 | extern void      dither();
      |                  ^~~~~~
avs2ps.c: In function ‘dither’:
avs2ps.c:40:18: warning: old-style function definition [-Wold-style-definition]
avs2ps.c:235:1: error: number of arguments doesn’t match prototype
  235 | {
      | ^
avs2ps.c:40:18: error: prototype declaration
   40 | extern void      dither();
      |                  ^~~~~~
avs2ps.c: In function ‘warpf’:
avs2ps.c:38:18: warning: old-style function definition [-Wold-style-definition]
   38 | extern float     warpf();
      |                  ^~~~~
avs2ps.c:299:1: error: number of arguments doesn’t match prototype
  299 | {
      | ^
avs2ps.c:38:18: error: prototype declaration
   38 | extern float     warpf();
      |                  ^~~~~
make[2]: *** [Makefile:201: avs2ps] Error 1
make[2]: Leaving directory '/build/reproducible-path/raster3d-3.0-7'
dh_auto_install: error: make -j1 install DESTDIR=/build/reproducible-path/raster3d-3.0-7/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" prefix=/build/reproducible-path/raster3d-3.0-7/debian/tmp returned exit code 2
make[1]: *** [debian/rules:15: override_dh_auto_install] Error 25
make[1]: Leaving directory '/build/reproducible-path/raster3d-3.0-7'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list