Bug#1104832: dune-istl: FTBFS: dune/istl/superlufunctions.hh:80:49: error: â::complexâ has not been declared
Santiago Vila
sanvila at debian.org
Wed May 7 09:53:27 BST 2025
Package: src:dune-istl
Version: 2.10.0-1
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
cd /<<PKGBUILDDIR>>/build/dune/istl/eigenvalue/test && /usr/ [too-long-redacted] tl/eigenvalue/test/cond2test.cc
In file included from /<<PKGBUILDDIR>>/dune/istl/superlu.hh:10,
from /<<PKGBUILDDIR>>/dune/istl/eigenvalue/test/matrixinfo.hh:18,
from /<<PKGBUILDDIR>>/dune/istl/eigenvalue/test/cond2test.cc:12:
/<<PKGBUILDDIR>>/dune/istl/superlufunctions.hh:80:49: error: â::complexâ has not been declared
80 | cCreate_Dense_Matrix(SuperMatrix *, int, int, ::complex *, int,
| ^~
/<<PKGBUILDDIR>>/dune/istl/superlufunctions.hh:85:56: error: â::complexâ has not been declared
85 | cCreate_CompCol_Matrix(SuperMatrix *, int, int, int, ::complex *,
| ^~
In file included from /<<PKGBUILDDIR>>/dune/istl/superlu.hh:12:
/<<PKGBUILDDIR>>/dune/istl/supermatrix.hh: In static member function âstatic void Dune::SuperMatrixCreateSparseChooser<std::complex<float> >::create(SuperMatrix*, int, int, int, std::complex<float>*, int*, int*, Stype_t, Dtype_t, Mtype_t)â:
/<<PKGBUILDDIR>>/dune/istl/supermatrix.hh:86:69: error: âcomplexâ in namespace â::â does not name a type
86 | cCreate_CompCol_Matrix(mat, n, m, offset, reinterpret_cast< ::complex*>(values),
| ^~~~~~~
/<<PKGBUILDDIR>>/dune/istl/supermatrix.hh:86:76: error: expected â>â before â*â token
86 | cCreate_CompCol_Matrix(mat, n, m, offset, reinterpret_cast< ::complex*>(values),
| ^
/<<PKGBUILDDIR>>/dune/istl/supermatrix.hh:86:76: error: expected â(â before â*â token
/<<PKGBUILDDIR>>/dune/istl/supermatrix.hh:86:77: error: expected primary-expression before â>â token
86 | cCreate_CompCol_Matrix(mat, n, m, offset, reinterpret_cast< ::complex*>(values),
| ^
/<<PKGBUILDDIR>>/dune/istl/superlu.hh: In static member function âstatic void Dune::SuperLUDenseMatChooser<std::complex<float> >::create(SuperMatrix*, int, int, std::complex<float>*, int, Stype_t, Dtype_t, Mtype_t)â:
/<<PKGBUILDDIR>>/dune/istl/superlu.hh:190:59: error: âcomplexâ in namespace â::â does not name a type
190 | cCreate_Dense_Matrix(mat, n, m, reinterpret_cast< ::complex*>(dat), n1, stype, dtype, mtype);
| ^~~~~~~
/<<PKGBUILDDIR>>/dune/istl/superlu.hh:190:66: error: expected â>â before â*â token
190 | cCreate_Dense_Matrix(mat, n, m, reinterpret_cast< ::complex*>(dat), n1, stype, dtype, mtype);
| ^
/<<PKGBUILDDIR>>/dune/istl/superlu.hh:190:66: error: expected â(â before â*â token
/<<PKGBUILDDIR>>/dune/istl/superlu.hh:190:67: error: expected primary-expression before â>â token
190 | cCreate_Dense_Matrix(mat, n, m, reinterpret_cast< ::complex*>(dat), n1, stype, dtype, mtype);
| ^
In file included from /<<PKGBUILDDIR>>/dune/istl/superlu.hh:10,
from /<<PKGBUILDDIR>>/src/istl-solver-playground.cc:23:
/<<PKGBUILDDIR>>/dune/istl/superlufunctions.hh:80:49: error: â::complexâ has not been declared
80 | cCreate_Dense_Matrix(SuperMatrix *, int, int, ::complex *, int,
| ^~
/<<PKGBUILDDIR>>/dune/istl/superlufunctions.hh:85:56: error: â::complexâ has not been declared
85 | cCreate_CompCol_Matrix(SuperMatrix *, int, int, int, ::complex *,
| ^~
In file included from /<<PKGBUILDDIR>>/dune/istl/superlu.hh:12:
/<<PKGBUILDDIR>>/dune/istl/supermatrix.hh: In static member function âstatic void Dune::SuperMatrixCreateSparseChooser<std::complex<float> >::create(SuperMatrix*, int, int, int, std::complex<float>*, int*, int*, Stype_t, Dtype_t, Mtype_t)â:
/<<PKGBUILDDIR>>/dune/istl/supermatrix.hh:86:69: error: âcomplexâ in namespace â::â does not name a type
86 | cCreate_CompCol_Matrix(mat, n, m, offset, reinterpret_cast< ::complex*>(values),
| ^~~~~~~
/<<PKGBUILDDIR>>/dune/istl/supermatrix.hh:86:76: error: expected â>â before â*â token
86 | cCreate_CompCol_Matrix(mat, n, m, offset, reinterpret_cast< ::complex*>(values),
| ^
/<<PKGBUILDDIR>>/dune/istl/supermatrix.hh:86:76: error: expected â(â before â*â token
/<<PKGBUILDDIR>>/dune/istl/supermatrix.hh:86:77: error: expected primary-expression before â>â token
86 | cCreate_CompCol_Matrix(mat, n, m, offset, reinterpret_cast< ::complex*>(values),
| ^
/<<PKGBUILDDIR>>/dune/istl/superlu.hh: In static member function âstatic void Dune::SuperLUDenseMatChooser<std::complex<float> >::create(SuperMatrix*, int, int, std::complex<float>*, int, Stype_t, Dtype_t, Mtype_t)â:
/<<PKGBUILDDIR>>/dune/istl/superlu.hh:190:59: error: âcomplexâ in namespace â::â does not name a type
190 | cCreate_Dense_Matrix(mat, n, m, reinterpret_cast< ::complex*>(dat), n1, stype, dtype, mtype);
| ^~~~~~~
/<<PKGBUILDDIR>>/dune/istl/superlu.hh:190:66: error: expected â>â before â*â token
190 | cCreate_Dense_Matrix(mat, n, m, reinterpret_cast< ::complex*>(dat), n1, stype, dtype, mtype);
| ^
/<<PKGBUILDDIR>>/dune/istl/superlu.hh:190:66: error: expected â(â before â*â token
/<<PKGBUILDDIR>>/dune/istl/superlu.hh:190:67: error: expected primary-expression before â>â token
190 | cCreate_Dense_Matrix(mat, n, m, reinterpret_cast< ::complex*>(dat), n1, stype, dtype, mtype);
| ^
make[5]: *** [dune/istl/eigenvalue/test/CMakeFiles/poweriterationtest.dir/build.make:82: dune/istl/eigenvalue/test/CMakeFiles/poweriterationtest.dir/cond2test.cc.o] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[4]: *** [CMakeFiles/Makefile2:1879: dune/istl/eigenvalue/test/CMakeFiles/poweriterationtest.dir/all] Error 2
make[4]: *** Waiting for unfinished jobs....
make[5]: *** [src/CMakeFiles/istl-solver-playground.dir/build.make:82: src/CMakeFiles/istl-solver-playground.dir/istl-solver-playground.cc.o] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[4]: *** [CMakeFiles/Makefile2:5335: src/CMakeFiles/istl-solver-playground.dir/all] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[3]: *** [CMakeFiles/Makefile2:1492: CMakeFiles/build_tests.dir/rule] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [Makefile:546: build_tests] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_build: error: cd build && make -j2 "INSTALL=install --strip-program=true" build_tests VERBOSE=1 returned exit code 2
make[1]: *** [/usr/share/dune/dune-debian.mk:38: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202505/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:dune-istl, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the debian-science-maintainers
mailing list