Bug#860666: dune-istl: FTBFS on i386: io.hh:577:5: error: 'begin' was not declared in this scope
Lucas Nussbaum
lucas at debian.org
Wed Apr 19 07:11:15 UTC 2017
Source: dune-istl
Version: 2.5.0-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170418-i386 qa-ftbfs
Justification: FTBFS in stretch on i386
Hi,
During a rebuild of all packages in stretch (in a stretch chroot, not a
sid chroot), your package failed to build on i386.
Relevant part (hopefully):
> /usr/bin/c++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++14 -Wl,-z,relro -pthread CMakeFiles/matrixiteratortest.dir/matrixiteratortest.cc.o -o matrixiteratortest -Wl,-rpath,/usr/lib/i386-linux-gnu/openmpi/lib -rdynamic /usr/lib/i386-linux-gnu/libdunecommon.so.2.5.0 -lldl -lspqr -lumfpack -lcholmod -lamd -lcamd -lcolamd -lccolamd -lsuitesparseconfig -llapack -lblas -pthread /usr/lib/i386-linux-gnu/openmpi/lib/libmpi.so
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
> [ 57%] Built target vbvectortest
> In file included from /<<PKGBUILDDIR>>/dune/istl/test/iotest.cc:8:0:
> /<<PKGBUILDDIR>>/dune/istl/io.hh: In instantiation of 'void Dune::writeVectorToMatlabHelper(const V&, std::ostream&) [with V = double; std::ostream = std::basic_ostream<char>]':
> /<<PKGBUILDDIR>>/dune/istl/io.hh:578:32: required from 'void Dune::writeVectorToMatlabHelper(const V&, std::ostream&) [with V = std::array<double, 5u>; std::ostream = std::basic_ostream<char>]'
> /<<PKGBUILDDIR>>/dune/istl/test/iotest.cc:36:34: required from 'void testWriteVectorToMatlab() [with VectorType = std::array<double, 5u>]'
> /<<PKGBUILDDIR>>/dune/istl/test/iotest.cc:78:50: required from here
> /<<PKGBUILDDIR>>/dune/istl/io.hh:577:5: error: 'begin' was not declared in this scope
> for (const auto& entry : v)
> ^~~
> /<<PKGBUILDDIR>>/dune/istl/io.hh:577:5: note: suggested alternative:
> In file included from /usr/include/c++/6/string:51:0,
> from /usr/include/c++/6/bits/locale_classes.h:40,
> from /usr/include/c++/6/bits/ios_base.h:41,
> from /usr/include/c++/6/ios:42,
> from /usr/include/c++/6/ostream:38,
> from /usr/include/c++/6/iostream:39,
> from /usr/include/dune/common/fmatrix.hh:8,
> from /<<PKGBUILDDIR>>/dune/istl/test/iotest.cc:4:
> /usr/include/c++/6/bits/range_access.h:105:37: note: 'std::begin'
> template<typename _Tp> const _Tp* begin(const valarray<_Tp>&);
> ^~~~~
> In file included from /<<PKGBUILDDIR>>/dune/istl/test/iotest.cc:8:0:
> /<<PKGBUILDDIR>>/dune/istl/io.hh:577:5: error: 'end' was not declared in this scope
> for (const auto& entry : v)
> ^~~
> /<<PKGBUILDDIR>>/dune/istl/io.hh:577:5: note: suggested alternative:
> In file included from /usr/include/c++/6/string:51:0,
> from /usr/include/c++/6/bits/locale_classes.h:40,
> from /usr/include/c++/6/bits/ios_base.h:41,
> from /usr/include/c++/6/ios:42,
> from /usr/include/c++/6/ostream:38,
> from /usr/include/c++/6/iostream:39,
> from /usr/include/dune/common/fmatrix.hh:8,
> from /<<PKGBUILDDIR>>/dune/istl/test/iotest.cc:4:
> /usr/include/c++/6/bits/range_access.h:107:37: note: 'std::end'
> template<typename _Tp> const _Tp* end(const valarray<_Tp>&);
> ^~~
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
> [ 57%] Built target matrixiteratortest
> /<<PKGBUILDDIR>>/dune/istl/paamg/test/parallelamgtest.cc: In function 'int main(int, char**)':
> /<<PKGBUILDDIR>>/dune/istl/paamg/test/parallelamgtest.cc:217:3: warning: 'int MPI_Errhandler_create(void (*)(ompi_communicator_t**, int*, ...), ompi_errhandler_t**)' is deprecated: MPI_Errhandler_create is superseded by MPI_Comm_create_errhandler in MPI-2.0 [-Wdeprecated-declarations]
> MPI_Errhandler_create(MPI_err_handler, &handler);
> ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/dune/common/parallel/mpitraits.hh:7:0,
> from /usr/include/dune/common/parallel/plocalindex.hh:9,
> from /<<PKGBUILDDIR>>/dune/istl/paamg/test/anisotropic.hh:8,
> from /<<PKGBUILDDIR>>/dune/istl/paamg/test/parallelamgtest.cc:7:
> /usr/lib/i386-linux-gnu/openmpi/include/mpi.h:1345:20: note: declared here
> OMPI_DECLSPEC int MPI_Errhandler_create(MPI_Handler_function *function,
> ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/dune/istl/paamg/test/parallelamgtest.cc:217:50: warning: 'int MPI_Errhandler_create(void (*)(ompi_communicator_t**, int*, ...), ompi_errhandler_t**)' is deprecated: MPI_Errhandler_create is superseded by MPI_Comm_create_errhandler in MPI-2.0 [-Wdeprecated-declarations]
> MPI_Errhandler_create(MPI_err_handler, &handler);
> ^
> In file included from /usr/include/dune/common/parallel/mpitraits.hh:7:0,
> from /usr/include/dune/common/parallel/plocalindex.hh:9,
> from /<<PKGBUILDDIR>>/dune/istl/paamg/test/anisotropic.hh:8,
> from /<<PKGBUILDDIR>>/dune/istl/paamg/test/parallelamgtest.cc:7:
> /usr/lib/i386-linux-gnu/openmpi/include/mpi.h:1345:20: note: declared here
> OMPI_DECLSPEC int MPI_Errhandler_create(MPI_Handler_function *function,
> ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/dune/istl/paamg/test/parallelamgtest.cc:218:3: warning: 'int MPI_Errhandler_set(MPI_Comm, MPI_Errhandler)' is deprecated: MPI_Errhandler_set is superseded by MPI_Comm_set_errhandler in MPI-2.0 [-Wdeprecated-declarations]
> MPI_Errhandler_set(MPI_COMM_WORLD, handler);
> ^~~~~~~~~~~~~~~~~~
> In file included from /usr/include/dune/common/parallel/mpitraits.hh:7:0,
> from /usr/include/dune/common/parallel/plocalindex.hh:9,
> from /<<PKGBUILDDIR>>/dune/istl/paamg/test/anisotropic.hh:8,
> from /<<PKGBUILDDIR>>/dune/istl/paamg/test/parallelamgtest.cc:7:
> /usr/lib/i386-linux-gnu/openmpi/include/mpi.h:1352:20: note: declared here
> OMPI_DECLSPEC int MPI_Errhandler_set(MPI_Comm comm, MPI_Errhandler errhandler)
> ^~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/dune/istl/paamg/test/parallelamgtest.cc:218:45: warning: 'int MPI_Errhandler_set(MPI_Comm, MPI_Errhandler)' is deprecated: MPI_Errhandler_set is superseded by MPI_Comm_set_errhandler in MPI-2.0 [-Wdeprecated-declarations]
> MPI_Errhandler_set(MPI_COMM_WORLD, handler);
> ^
> In file included from /usr/include/dune/common/parallel/mpitraits.hh:7:0,
> from /usr/include/dune/common/parallel/plocalindex.hh:9,
> from /<<PKGBUILDDIR>>/dune/istl/paamg/test/anisotropic.hh:8,
> from /<<PKGBUILDDIR>>/dune/istl/paamg/test/parallelamgtest.cc:7:
> /usr/lib/i386-linux-gnu/openmpi/include/mpi.h:1352:20: note: declared here
> OMPI_DECLSPEC int MPI_Errhandler_set(MPI_Comm comm, MPI_Errhandler errhandler)
> ^~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/dune/istl/paamg/test/parallelamgtest.cc: In function 'int main(int, char**)':
> /<<PKGBUILDDIR>>/dune/istl/paamg/test/parallelamgtest.cc:217:3: warning: 'int MPI_Errhandler_create(void (*)(ompi_communicator_t**, int*, ...), ompi_errhandler_t**)' is deprecated: MPI_Errhandler_create is superseded by MPI_Comm_create_errhandler in MPI-2.0 [-Wdeprecated-declarations]
> MPI_Errhandler_create(MPI_err_handler, &handler);
> ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/dune/common/parallel/mpitraits.hh:7:0,
> from /usr/include/dune/common/parallel/plocalindex.hh:9,
> from /<<PKGBUILDDIR>>/dune/istl/paamg/test/anisotropic.hh:8,
> from /<<PKGBUILDDIR>>/dune/istl/paamg/test/parallelamgtest.cc:7:
> /usr/lib/i386-linux-gnu/openmpi/include/mpi.h:1345:20: note: declared here
> OMPI_DECLSPEC int MPI_Errhandler_create(MPI_Handler_function *function,
> ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/dune/istl/paamg/test/parallelamgtest.cc:217:50: warning: 'int MPI_Errhandler_create(void (*)(ompi_communicator_t**, int*, ...), ompi_errhandler_t**)' is deprecated: MPI_Errhandler_create is superseded by MPI_Comm_create_errhandler in MPI-2.0 [-Wdeprecated-declarations]
> MPI_Errhandler_create(MPI_err_handler, &handler);
> ^
> In file included from /usr/include/dune/common/parallel/mpitraits.hh:7:0,
> from /usr/include/dune/common/parallel/plocalindex.hh:9,
> from /<<PKGBUILDDIR>>/dune/istl/paamg/test/anisotropic.hh:8,
> from /<<PKGBUILDDIR>>/dune/istl/paamg/test/parallelamgtest.cc:7:
> /usr/lib/i386-linux-gnu/openmpi/include/mpi.h:1345:20: note: declared here
> OMPI_DECLSPEC int MPI_Errhandler_create(MPI_Handler_function *function,
> ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/dune/istl/paamg/test/parallelamgtest.cc:218:3: warning: 'int MPI_Errhandler_set(MPI_Comm, MPI_Errhandler)' is deprecated: MPI_Errhandler_set is superseded by MPI_Comm_set_errhandler in MPI-2.0 [-Wdeprecated-declarations]
> MPI_Errhandler_set(MPI_COMM_WORLD, handler);
> ^~~~~~~~~~~~~~~~~~
> In file included from /usr/include/dune/common/parallel/mpitraits.hh:7:0,
> from /usr/include/dune/common/parallel/plocalindex.hh:9,
> from /<<PKGBUILDDIR>>/dune/istl/paamg/test/anisotropic.hh:8,
> from /<<PKGBUILDDIR>>/dune/istl/paamg/test/parallelamgtest.cc:7:
> /usr/lib/i386-linux-gnu/openmpi/include/mpi.h:1352:20: note: declared here
> OMPI_DECLSPEC int MPI_Errhandler_set(MPI_Comm comm, MPI_Errhandler errhandler)
> ^~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/dune/istl/paamg/test/parallelamgtest.cc:218:45: warning: 'int MPI_Errhandler_set(MPI_Comm, MPI_Errhandler)' is deprecated: MPI_Errhandler_set is superseded by MPI_Comm_set_errhandler in MPI-2.0 [-Wdeprecated-declarations]
> MPI_Errhandler_set(MPI_COMM_WORLD, handler);
> ^
> In file included from /usr/include/dune/common/parallel/mpitraits.hh:7:0,
> from /usr/include/dune/common/parallel/plocalindex.hh:9,
> from /<<PKGBUILDDIR>>/dune/istl/paamg/test/anisotropic.hh:8,
> from /<<PKGBUILDDIR>>/dune/istl/paamg/test/parallelamgtest.cc:7:
> /usr/lib/i386-linux-gnu/openmpi/include/mpi.h:1352:20: note: declared here
> OMPI_DECLSPEC int MPI_Errhandler_set(MPI_Comm comm, MPI_Errhandler errhandler)
> ^~~~~~~~~~~~~~~~~~
> [ 57%] Linking CXX executable mv
> cd /<<PKGBUILDDIR>>/build/dune/istl/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/mv.dir/link.txt --verbose=1
> /usr/bin/c++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++14 -Wl,-z,relro -pthread CMakeFiles/mv.dir/mv.cc.o -o mv -Wl,-rpath,/usr/lib/i386-linux-gnu/openmpi/lib -rdynamic /usr/lib/i386-linux-gnu/libdunecommon.so.2.5.0 -lldl -lspqr -lumfpack -lcholmod -lamd -lcamd -lcolamd -lccolamd -lsuitesparseconfig -llapack -lblas -pthread /usr/lib/i386-linux-gnu/openmpi/lib/libmpi.so
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
> [ 57%] Built target mv
> [ 58%] Linking CXX executable solveraborttest
> cd /<<PKGBUILDDIR>>/build/dune/istl/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/solveraborttest.dir/link.txt --verbose=1
> /usr/bin/c++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++14 -Wl,-z,relro -pthread CMakeFiles/solveraborttest.dir/solveraborttest.cc.o -o solveraborttest -Wl,-rpath,/usr/lib/i386-linux-gnu/openmpi/lib -rdynamic /usr/lib/i386-linux-gnu/libdunecommon.so.2.5.0 -lldl -lspqr -lumfpack -lcholmod -lamd -lcamd -lcolamd -lccolamd -lsuitesparseconfig -llapack -lblas -pthread /usr/lib/i386-linux-gnu/openmpi/lib/libmpi.so
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
> [ 58%] Built target solveraborttest
> [ 59%] Linking CXX executable bcrsassigntest
> cd /<<PKGBUILDDIR>>/build/dune/istl/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/bcrsassigntest.dir/link.txt --verbose=1
> /usr/bin/c++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++14 -Wl,-z,relro -pthread CMakeFiles/bcrsassigntest.dir/bcrsassigntest.cc.o -o bcrsassigntest -Wl,-rpath,/usr/lib/i386-linux-gnu/openmpi/lib -rdynamic /usr/lib/i386-linux-gnu/libdunecommon.so.2.5.0 -lldl -lspqr -lumfpack -lcholmod -lamd -lcamd -lcolamd -lccolamd -lsuitesparseconfig -llapack -lblas -pthread /usr/lib/i386-linux-gnu/openmpi/lib/libmpi.so
> [ 60%] Linking CXX executable ldltest
> cd /<<PKGBUILDDIR>>/build/dune/istl/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/ldltest.dir/link.txt --verbose=1
> /usr/bin/c++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++14 -Wl,-z,relro -pthread CMakeFiles/ldltest.dir/ldltest.cc.o -o ldltest -Wl,-rpath,/usr/lib/i386-linux-gnu/openmpi/lib -rdynamic /usr/lib/i386-linux-gnu/libdunecommon.so.2.5.0 -lldl -lspqr -lumfpack -lcholmod -lamd -lcamd -lcolamd -lccolamd -lsuitesparseconfig -llapack -lblas -pthread /usr/lib/i386-linux-gnu/openmpi/lib/libmpi.so
> [ 62%] Linking CXX executable matrixutilstest
> cd /<<PKGBUILDDIR>>/build/dune/istl/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/matrixutilstest.dir/link.txt --verbose=1
> /usr/bin/c++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++14 -Wl,-z,relro -pthread CMakeFiles/matrixutilstest.dir/matrixutilstest.cc.o -o matrixutilstest -Wl,-rpath,/usr/lib/i386-linux-gnu/openmpi/lib -rdynamic /usr/lib/i386-linux-gnu/libdunecommon.so.2.5.0 -lldl -lspqr -lumfpack -lcholmod -lamd -lcamd -lcolamd -lccolamd -lsuitesparseconfig -llapack -lblas -pthread /usr/lib/i386-linux-gnu/openmpi/lib/libmpi.so
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
> [ 62%] Built target ldltest
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
> [ 62%] Built target bcrsassigntest
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
> [ 62%] Built target matrixutilstest
> [ 63%] Linking CXX executable fieldvectortest
> cd /<<PKGBUILDDIR>>/build/dune/istl/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/fieldvectortest.dir/link.txt --verbose=1
> /usr/bin/c++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++14 -Wl,-z,relro -pthread CMakeFiles/fieldvectortest.dir/fieldvectortest.cc.o -o fieldvectortest -Wl,-rpath,/usr/lib/i386-linux-gnu/openmpi/lib -rdynamic /usr/lib/i386-linux-gnu/libdunecommon.so.2.5.0 -lldl -lspqr -lumfpack -lcholmod -lamd -lcamd -lcolamd -lccolamd -lsuitesparseconfig -llapack -lblas -pthread /usr/lib/i386-linux-gnu/openmpi/lib/libmpi.so
> dune/istl/test/CMakeFiles/iotest.dir/build.make:65: recipe for target 'dune/istl/test/CMakeFiles/iotest.dir/iotest.cc.o' failed
> make[5]: *** [dune/istl/test/CMakeFiles/iotest.dir/iotest.cc.o] Error 1
The full build log is available from:
http://aws-logs.debian.net/2017/04/18/dune-istl_2.5.0-1_testing-i386.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the debian-science-maintainers
mailing list