Bug#957774: scalapack: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:10:23 BST 2020


Package: src:scalapack
Version: 2.1.0-2
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/scalapack_2.1.0-2_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

[...]
/<<PKGBUILDDIR>>/REDIST/SRC/pztrmr.c:289:14: warning: ‘buff2block’ declared ‘static’ but never defined [-Wunused-function]
  289 | static2 void buff2block();
      |              ^~~~~~~~~~
/<<PKGBUILDDIR>>/REDIST/SRC/pztrmr.c: In function ‘Cpztrmr2d’:
/<<PKGBUILDDIR>>/REDIST/SRC/pztrmr.c:235:16: warning: ‘vinter_nb’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  235 | #define scanD0 ztrscanD0
      |                ^~~~~~~~~
/<<PKGBUILDDIR>>/REDIST/SRC/pztrmr.c:337:20: note: ‘vinter_nb’ was declared here
  337 |   int   hinter_nb, vinter_nb; /* number of intrsections in both directions */
      |                    ^~~~~~~~~
/<<PKGBUILDDIR>>/REDIST/SRC/pztrmr.c:235:16: warning: ‘hinter_nb’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  235 | #define scanD0 ztrscanD0
      |                ^~~~~~~~~
/<<PKGBUILDDIR>>/REDIST/SRC/pztrmr.c:337:9: note: ‘hinter_nb’ was declared here
  337 |   int   hinter_nb, vinter_nb; /* number of intrsections in both directions */
      |         ^~~~~~~~~
[ 33%] Building Fortran object CMakeFiles/scalapack.dir/SRC/pilaenvx.f.o
/usr/bin/mpif90.mpich -DAdd_ -Dscalapack_EXPORTS -I/usr/include/x86_64-linux-gnu/mpich  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fPIC   -c /<<PKGBUILDDIR>>/SRC/pilaenvx.f -o CMakeFiles/scalapack.dir/SRC/pilaenvx.f.o
[ 33%] Building Fortran object CMakeFiles/scalapack.dir/SRC/piparmq.f.o
/usr/bin/mpif90.mpich -DAdd_ -Dscalapack_EXPORTS -I/usr/include/x86_64-linux-gnu/mpich  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fPIC   -c /<<PKGBUILDDIR>>/SRC/piparmq.f -o CMakeFiles/scalapack.dir/SRC/piparmq.f.o
[ 33%] Building Fortran object CMakeFiles/scalapack.dir/SRC/pilaver.f.o
/usr/bin/mpif90.mpich -DAdd_ -Dscalapack_EXPORTS -I/usr/include/x86_64-linux-gnu/mpich  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fPIC   -c /<<PKGBUILDDIR>>/SRC/pilaver.f -o CMakeFiles/scalapack.dir/SRC/pilaver.f.o
[ 33%] Building Fortran object CMakeFiles/scalapack.dir/SRC/pmpim2.f.o
/usr/bin/mpif90.mpich -DAdd_ -Dscalapack_EXPORTS -I/usr/include/x86_64-linux-gnu/mpich  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fPIC   -c /<<PKGBUILDDIR>>/SRC/pmpim2.f -o CMakeFiles/scalapack.dir/SRC/pmpim2.f.o
[ 33%] Building Fortran object CMakeFiles/scalapack.dir/SRC/pmpcol.f.o
/usr/bin/mpif90.mpich -DAdd_ -Dscalapack_EXPORTS -I/usr/include/x86_64-linux-gnu/mpich  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fPIC   -c /<<PKGBUILDDIR>>/SRC/pmpcol.f -o CMakeFiles/scalapack.dir/SRC/pmpcol.f.o
[ 33%] Building Fortran object CMakeFiles/scalapack.dir/SRC/pslabad.f.o
/usr/bin/mpif90.mpich -DAdd_ -Dscalapack_EXPORTS -I/usr/include/x86_64-linux-gnu/mpich  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fPIC   -c /<<PKGBUILDDIR>>/SRC/pslabad.f -o CMakeFiles/scalapack.dir/SRC/pslabad.f.o
[ 33%] Building Fortran object CMakeFiles/scalapack.dir/SRC/pslaed0.f.o
/usr/bin/mpif90.mpich -DAdd_ -Dscalapack_EXPORTS -I/usr/include/x86_64-linux-gnu/mpich  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fPIC   -c /<<PKGBUILDDIR>>/SRC/pslaed0.f -o CMakeFiles/scalapack.dir/SRC/pslaed0.f.o
[ 33%] Building Fortran object CMakeFiles/scalapack.dir/SRC/pslaed1.f.o
/usr/bin/mpif90.mpich -DAdd_ -Dscalapack_EXPORTS -I/usr/include/x86_64-linux-gnu/mpich  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fPIC   -c /<<PKGBUILDDIR>>/SRC/pslaed1.f -o CMakeFiles/scalapack.dir/SRC/pslaed1.f.o
[ 33%] Building Fortran object CMakeFiles/scalapack.dir/SRC/pslaed2.f.o
/usr/bin/mpif90.mpich -DAdd_ -Dscalapack_EXPORTS -I/usr/include/x86_64-linux-gnu/mpich  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fPIC   -c /<<PKGBUILDDIR>>/SRC/pslaed2.f -o CMakeFiles/scalapack.dir/SRC/pslaed2.f.o
[ 33%] Building Fortran object CMakeFiles/scalapack.dir/SRC/pslaed3.f.o
/usr/bin/mpif90.mpich -DAdd_ -Dscalapack_EXPORTS -I/usr/include/x86_64-linux-gnu/mpich  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fPIC   -c /<<PKGBUILDDIR>>/SRC/pslaed3.f -o CMakeFiles/scalapack.dir/SRC/pslaed3.f.o
[ 33%] Building Fortran object CMakeFiles/scalapack.dir/SRC/pslaedz.f.o
/usr/bin/mpif90.mpich -DAdd_ -Dscalapack_EXPORTS -I/usr/include/x86_64-linux-gnu/mpich  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fPIC   -c /<<PKGBUILDDIR>>/SRC/pslaedz.f -o CMakeFiles/scalapack.dir/SRC/pslaedz.f.o
[ 33%] Building Fortran object CMakeFiles/scalapack.dir/SRC/pslamch.f.o
/usr/bin/mpif90.mpich -DAdd_ -Dscalapack_EXPORTS -I/usr/include/x86_64-linux-gnu/mpich  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fPIC   -c /<<PKGBUILDDIR>>/SRC/pslamch.f -o CMakeFiles/scalapack.dir/SRC/pslamch.f.o
[ 33%] Building Fortran object CMakeFiles/scalapack.dir/SRC/pslared1d.f.o
/usr/bin/mpif90.mpich -DAdd_ -Dscalapack_EXPORTS -I/usr/include/x86_64-linux-gnu/mpich  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fPIC   -c /<<PKGBUILDDIR>>/SRC/pslared1d.f -o CMakeFiles/scalapack.dir/SRC/pslared1d.f.o
[ 33%] Building Fortran object CMakeFiles/scalapack.dir/SRC/pslasrt.f.o
/usr/bin/mpif90.mpich -DAdd_ -Dscalapack_EXPORTS -I/usr/include/x86_64-linux-gnu/mpich  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fPIC   -c /<<PKGBUILDDIR>>/SRC/pslasrt.f -o CMakeFiles/scalapack.dir/SRC/pslasrt.f.o
[ 33%] Building Fortran object CMakeFiles/scalapack.dir/SRC/psstebz.f.o
/usr/bin/mpif90.mpich -DAdd_ -Dscalapack_EXPORTS -I/usr/include/x86_64-linux-gnu/mpich  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fPIC   -c /<<PKGBUILDDIR>>/SRC/psstebz.f -o CMakeFiles/scalapack.dir/SRC/psstebz.f.o
[ 33%] Building Fortran object CMakeFiles/scalapack.dir/SRC/psstedc.f.o
/usr/bin/mpif90.mpich -DAdd_ -Dscalapack_EXPORTS -I/usr/include/x86_64-linux-gnu/mpich  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fPIC   -c /<<PKGBUILDDIR>>/SRC/psstedc.f -o CMakeFiles/scalapack.dir/SRC/psstedc.f.o
[ 33%] Building Fortran object CMakeFiles/scalapack.dir/SRC/slapst.f.o
/usr/bin/mpif90.mpich -DAdd_ -Dscalapack_EXPORTS -I/usr/include/x86_64-linux-gnu/mpich  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fPIC   -c /<<PKGBUILDDIR>>/SRC/slapst.f -o CMakeFiles/scalapack.dir/SRC/slapst.f.o
/<<PKGBUILDDIR>>/SRC/psstebz.f:778:65:

  775 |             CALL IGEBR2D( ONEDCONTEXT, 'ALL', ' ', 1, 1, TORECV, 1, 0,
      |                                                         2        
......
  778 |                CALL IGEBR2D( ONEDCONTEXT, 'ALL', ' ', TORECV, 1, IWORK,
      |                                                                 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
make[4]: *** [CMakeFiles/scalapack.dir/build.make:9907: CMakeFiles/scalapack.dir/SRC/psstebz.f.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-mpich'
make[3]: *** [CMakeFiles/Makefile2:1451: CMakeFiles/scalapack.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-mpich'
make[2]: *** [Makefile:166: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-mpich'
dh_auto_build: error: cd build-mpich && make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make[1]: *** [debian/rules:42: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:19: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the debian-science-maintainers mailing list