Bug#984109: libgetdata: ftbfs with GCC-11

Matthias Klose doko at debian.org
Wed Mar 3 16:14:23 GMT 2021


Package: src:libgetdata
Version: 0.10.0-9
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-11

[This bug is not targeted to the upcoming bullseye 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-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/libgetdata_0.10.0-9_unstable_gcc11.log
The last lines of the build log are at the end of this report.

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

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
  435 |   GD_COMPLEX128, data_out)
      |                 2                                                   
Error: Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(4)/COMPLEX(8)).
getdata.f90:406:66:

  406 |   first_frame, first_sample, num_frames, num_samples, GD_FLOAT64, data_out)
      |                                                                  1
......
  435 |   GD_COMPLEX128, data_out)
      |                 2                                                 
Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/COMPLEX(8)).
getdata.f90:392:66:

  392 |   first_frame, first_sample, num_frames, num_samples, GD_FLOAT32, data_out)
      |                                                                  1
......
  435 |   GD_COMPLEX128, data_out)
      |                 2                                                 
Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(4)/COMPLEX(8)).
getdata.f90:378:64:

  378 |   first_frame, first_sample, num_frames, num_samples, GD_INT64, data_out)
      |                                                                1
......
  435 |   GD_COMPLEX128, data_out)
      |                 2                                               
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(8)/COMPLEX(8)).
getdata.f90:364:64:

  364 |   first_frame, first_sample, num_frames, num_samples, GD_INT32, data_out)
      |                                                                1
......
  435 |   GD_COMPLEX128, data_out)
      |                 2                                               
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/COMPLEX(8)).
getdata.f90:350:64:

  350 |   first_frame, first_sample, num_frames, num_samples, GD_INT16, data_out)
      |                                                                1
......
  435 |   GD_COMPLEX128, data_out)
      |                 2                                               
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(2)/COMPLEX(8)).
getdata.f90:336:63:

  336 |   first_frame, first_sample, num_frames, num_samples, GD_INT8, data_out)
      |                                                               1
......
  435 |   GD_COMPLEX128, data_out)
      |                 2                                              
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(1)/COMPLEX(8)).
getdata.f90:322:63:

  322 |   first_frame, first_sample, num_frames, num_samples, GD_NULL, 0)
      |                                                               1
......
  435 |   GD_COMPLEX128, data_out)
      |                 2                                              
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/COMPLEX(8)).
make[4]: *** [Makefile:665: getdata.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-main/bindings/f77'
make[3]: *** [Makefile:581: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-main/bindings'
make[2]: *** [Makefile:587: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-main'
dh_auto_build: error: cd build-main && make -j4 returned exit code 2
make[1]: *** [debian/rules:43: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:28: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the debian-science-maintainers mailing list