[Debian-med-packaging] Bug#957749: raster3d: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:09:55 BST 2020


Package: src:raster3d
Version: 3.0-4-1
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

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-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/raster3d_3.0-4-1_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 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-10/porting_to.html

[...]
/usr/bin/make linux
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
   create-stamp debian/debhelper-build-stamp
 fakeroot debian/rules binary
dh binary
   dh_testroot
   dh_prep
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make install prefix=/<<PKGBUILDDIR>>/debian/tmp
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Making Raster3D 3.0-4 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
gfortran -g -w -O2 -Wtabs -ffixed-line-length-132 -Wl,-z,relro -Wl,-z,now -o balls balls.f 
gfortran -g -w -O2 -Wtabs -ffixed-line-length-132  -c -o quadric.o quadric.f
gfortran -g -w -O2 -Wtabs -ffixed-line-length-132  -c -o suv.o suv.f
gfortran -g -w -O2 -Wtabs -ffixed-line-length-132 \
rastep.f quadric.o suv.o -Wl,-z,relro -Wl,-z,now \
-o rastep 
gfortran -g -w -O2 -Wtabs -ffixed-line-length-132  -c -o render.o render.f
render.f:971:28:

  971 |  BKGND(3) = iand(XBG,X'00FF')
      |                            1
Error: Hexadecimal constant at (1) uses nonstandard X instead of Z [see ‘-fno-allow-invalid-boz’]
render.f:972:28:

  972 |  BKGND(2) = iand(XBG,X'FF00')/256
      |                            1
Error: Hexadecimal constant at (1) uses nonstandard X instead of Z [see ‘-fno-allow-invalid-boz’]
render.f:973:28:

  973 |  BKGND(1) = iand(XBG,X'FF0000')/65536
      |                            1
Error: Hexadecimal constant at (1) uses nonstandard X instead of Z [see ‘-fno-allow-invalid-boz’]
render.f:1078:13:

 1078 |       IERR = LOCAL(1, NAX, NAY, OTMODE, QUALITY)
      |             1
Error: More actual than formal arguments in procedure call at (1)
render.f:1079:22:

 1077 |       IERR = LOCAL(5, IBKGND(1), IBKGND(2), IBKGND(3))
      |                      2
 1078 |       IERR = LOCAL(1, NAX, NAY, OTMODE, QUALITY)
 1079 |       IERR = LOCAL(4, TITLE)
      |                      1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (CHARACTER(132)/INTEGER(4)).
render.f:4402:22:

 1077 |       IERR = LOCAL(5, IBKGND(1), IBKGND(2), IBKGND(3))
      |                      2
......
 4402 |  IERR = LOCAL(2, OUTBUF(K+1,1), OUTBUF(K+1,2), OUTBUF(K+1,3),
      |                      1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(2)/INTEGER(4)).
render.f:4430:13:

 4430 |       IERR = LOCAL(3)
      |             1
Error: Missing actual argument for argument ‘_formal_4’ at (1)
make[2]: *** [<builtin>: render.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:26: override_dh_auto_install] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list