Bug#1075488: scalapack: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:43:27 BST 2024


Package: src:scalapack
Version: 2.2.1-3.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/scalapack_2.2.1-3.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

[...]
/<<PKGBUILDDIR>>/BLACS/SRC/Bdef.h:297:9: error: implicit declaration of function ‘BI_dvmcopy’; did you mean ‘BI_cvmcopy’? [-Wimplicit-function-declaration]
  297 |         BI_dvmcopy(2*(m), (n), (double *) (A), 2*(lda), (double *) (buff))
      |         ^~~~~~~~~~
/<<PKGBUILDDIR>>/BLACS/SRC/zgsum2d_.c:171:13: note: in expansion of macro ‘BI_zvmcopy’
  171 |             BI_zvmcopy(Mpval(m), Mpval(n), A, tlda, bp2->Buff);
      |             ^~~~~~~~~~
/<<PKGBUILDDIR>>/BLACS/SRC/zgsum2d_.c:83:39: warning: variable ‘ierr’ set but not used [-Wunused-but-set-variable]
   83 |    Int N, length, dest, tlda, trdest, ierr;
      |                                       ^~~~
make[4]: *** [CMakeFiles/scalapack.dir/build.make:695: CMakeFiles/scalapack.dir/BLACS/SRC/zgsum2d_.c.o] Error 1
In file included from /<<PKGBUILDDIR>>/BLACS/SRC/cgsum2d_.c:1:
/<<PKGBUILDDIR>>/BLACS/SRC/cgsum2d_.c: In function ‘cgsum2d_’:
/<<PKGBUILDDIR>>/BLACS/SRC/Bdef.h:291:9: error: implicit declaration of function ‘BI_smvcopy’; did you mean ‘BI_cmvcopy’? [-Wimplicit-function-declaration]
  291 |         BI_smvcopy(2*(m), (n), (float *) (A), 2*(lda), (float *) (buff))
      |         ^~~~~~~~~~
/<<PKGBUILDDIR>>/BLACS/SRC/cgsum2d_.c:154:7: note: in expansion of macro ‘BI_cmvcopy’
  154 |       BI_cmvcopy(Mpval(m), Mpval(n), A, tlda, bp->Buff);
      |       ^~~~~~~~~~
/<<PKGBUILDDIR>>/BLACS/SRC/Bdef.h:293:9: error: implicit declaration of function ‘BI_svmcopy’; did you mean ‘BI_cvmcopy’? [-Wimplicit-function-declaration]
  293 |         BI_svmcopy(2*(m), (n), (float *) (A), 2*(lda), (float *) (buff))
      |         ^~~~~~~~~~
/<<PKGBUILDDIR>>/BLACS/SRC/cgsum2d_.c:169:13: note: in expansion of macro ‘BI_cvmcopy’
  169 |             BI_cvmcopy(Mpval(m), Mpval(n), A, tlda, bp2->Buff);
      |             ^~~~~~~~~~
/<<PKGBUILDDIR>>/BLACS/SRC/cgsum2d_.c:83:39: warning: variable ‘ierr’ set but not used [-Wunused-but-set-variable]
   83 |    Int N, length, dest, tlda, trdest, ierr;
      |                                       ^~~~
make[4]: *** [CMakeFiles/scalapack.dir/build.make:681: CMakeFiles/scalapack.dir/BLACS/SRC/cgsum2d_.c.o] Error 1
/<<PKGBUILDDIR>>/BLACS/SRC/igamx2d_.c: In function ‘igamx2d_’:
/<<PKGBUILDDIR>>/BLACS/SRC/igamx2d_.c:201:7: error: implicit declaration of function ‘BI_imvcopy’; did you mean ‘BI_cmvcopy’? [-Wimplicit-function-declaration]
  201 |       BI_imvcopy(Mpval(m), Mpval(n), A, tlda, bp->Buff);
      |       ^~~~~~~~~~
      |       BI_cmvcopy
/<<PKGBUILDDIR>>/BLACS/SRC/igamx2d_.c:280:13: error: implicit declaration of function ‘BI_ivmcopy’; did you mean ‘BI_cvmcopy’? [-Wimplicit-function-declaration]
  280 |             BI_ivmcopy(Mpval(m), Mpval(n), A, tlda, bp2->Buff);
      |             ^~~~~~~~~~
      |             BI_cvmcopy
/<<PKGBUILDDIR>>/BLACS/SRC/igamx2d_.c:282:16: error: implicit declaration of function ‘BI_TransDist’ [-Wimplicit-function-declaration]
  282 |                BI_TransDist(ctxt, tscope, Mpval(m), Mpval(n), rA, cA, tldia,
      |                ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/BLACS/SRC/igamx2d_.c:108:59: warning: variable ‘ierr’ set but not used [-Wunused-but-set-variable]
  108 |    Int i, j, N, dest, idist, length, tlda, tldia, trdest, ierr;
      |                                                           ^~~~
/<<PKGBUILDDIR>>/BLACS/SRC/sgamx2d_.c: In function ‘sgamx2d_’:
/<<PKGBUILDDIR>>/BLACS/SRC/sgamx2d_.c:204:7: error: implicit declaration of function ‘BI_smvcopy’; did you mean ‘BI_cmvcopy’? [-Wimplicit-function-declaration]
  204 |       BI_smvcopy(Mpval(m), Mpval(n), A, tlda, bp->Buff);
      |       ^~~~~~~~~~
      |       BI_cmvcopy
/<<PKGBUILDDIR>>/BLACS/SRC/sgamx2d_.c:283:13: error: implicit declaration of function ‘BI_svmcopy’; did you mean ‘BI_cvmcopy’? [-Wimplicit-function-declaration]
  283 |             BI_svmcopy(Mpval(m), Mpval(n), A, tlda, bp2->Buff);
      |             ^~~~~~~~~~
      |             BI_cvmcopy
make[4]: *** [CMakeFiles/scalapack.dir/build.make:709: CMakeFiles/scalapack.dir/BLACS/SRC/igamx2d_.c.o] Error 1
/<<PKGBUILDDIR>>/BLACS/SRC/sgamx2d_.c:285:16: error: implicit declaration of function ‘BI_TransDist’ [-Wimplicit-function-declaration]
  285 |                BI_TransDist(ctxt, tscope, Mpval(m), Mpval(n), rA, cA, tldia,
      |                ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/BLACS/SRC/sgamx2d_.c:110:59: warning: variable ‘ierr’ set but not used [-Wunused-but-set-variable]
  110 |    Int i, j, N, dest, idist, length, tlda, tldia, trdest, ierr;
      |                                                           ^~~~
make[4]: *** [CMakeFiles/scalapack.dir/build.make:723: CMakeFiles/scalapack.dir/BLACS/SRC/sgamx2d_.c.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-mpich'
make[3]: *** [CMakeFiles/Makefile2:1373: CMakeFiles/scalapack.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-mpich'
make[2]: *** [Makefile:169: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-mpich'
dh_auto_build: error: cd build-mpich && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:59: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:25: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the debian-science-maintainers mailing list