Bug#625093: feel++: FTBFS: stl_uninitialized.h:576:6: error: no matching function for call to 'boost::mpi::allocator<char>::construct(char*)'

Christophe Prud'homme prudhomm at debian.org
Wed May 4 06:59:19 UTC 2011


Lucas

this is not a Feel++ bug but a boost++ mpi/g++-4.6 bug

Best regards
C.

On Mon, May 2, 2011 at 2:31 PM, Lucas Nussbaum <lucas at lucas-nussbaum.net> wrote:
> Source: feel++
> Version: 0.91.0~svn7013-1
> Severity: serious
> Tags: wheezy sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20110502 qa-ftbfs
> Justification: FTBFS on amd64
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
>
> Relevant part:
>> make[3]: Entering directory `/build/user-feel++_0.91.0~svn7013-1-amd64-jGBnDT/feel++-0.91.0~svn7013/obj-x86_64-linux-gnu'
>> /usr/bin/cmake -E cmake_progress_report "/build/user-feel++_0.91.0~svn7013-1-amd64-jGBnDT/feel++-0.91.0~svn7013/obj-x86_64-linux-gnu/CMakeFiles"
>> [  0%] Building CXX object feel/CMakeFiles/feel++.dir/options.cpp.o
>> cd "/build/user-feel++_0.91.0~svn7013-1-amd64-jGBnDT/feel++-0.91.0~svn7013/obj-x86_64-linux-gnu/feel" && /usr/bin/g++   -Dfeel___EXPORTS -DBOOST_UBLAS_MOVE_SEMANTICS -DHAVE_MPI=1 -DHAVE_MPI_H=1 -DHAVE_DLFCN_H -DHAVE_DLOPEN -DBOOST_PARAMETER_MAX_ARITY=15 -DBOOST_TEST_DYN_LINK -DBOOST_FILESYSTEM_VERSION=2 -DHAVE_METIS_H=1 -DHAVE_PETSC -DHAVE_PETSC_H -DHAVE_GMSH=1 -D_HAVE_GMSH_ -DGMSH_EXECUTABLE=/usr/bin/gmsh -std=c++0x  -O2 -DNDEBUG -g0 -std=c++0x  -fPIC -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/libxml2 -I"/build/user-feel++_0.91.0~svn7013-1-amd64-jGBnDT/feel++-0.91.0~svn7013/contrib/eigen" -I/usr/include/metis -I/usr/lib/petscdir/3.1/include -I/usr/include/trilinos -I/usr/include/openturns -I/usr/include/python2.6 -I/usr/include/octave -I"/build/user-feel++_0.91.0~svn7013-1-amd64-jGBnDT/feel++-0.91.0~svn7013/obj-x86_64-linux-gnu" -I"/build/user-feel++_0.91.0~svn7013-1-amd64-jGBnDT/feel++-0.91.0~svn7013" -I"/build/user-feel++_0.91.0~svn7013-1-amd64-jGBnDT/feel++-0.91.0~svn7013/contrib/gmm/include"   -o CMakeFiles/feel++.dir/options.cpp.o -c "/build/user-feel++_0.91.0~svn7013-1-amd64-jGBnDT/feel++-0.91.0~svn7013/feel/options.cpp"
>> In file included from /usr/include/c++/4.6/vector:64:0,
>>                  from /usr/include/boost/program_options/errors.hpp:14,
>>                  from /usr/include/boost/program_options/options_description.hpp:12,
>>                  from /usr/include/boost/program_options.hpp:15,
>>                  from /build/user-feel++_0.91.0~svn7013-1-amd64-jGBnDT/feel++-0.91.0~svn7013/feel/options.hpp:32,
>>                  from /build/user-feel++_0.91.0~svn7013-1-amd64-jGBnDT/feel++-0.91.0~svn7013/feel/options.cpp:29:
>> /usr/include/c++/4.6/bits/stl_uninitialized.h: In function 'void std::__uninitialized_default_n_a(_ForwardIterator, _Size, _Allocator&) [with _ForwardIterator = char*, _Size = long unsigned int, _Allocator = boost::mpi::allocator<char>]':
>> /usr/include/c++/4.6/bits/vector.tcc:474:8:   instantiated from 'void std::vector<_Tp, _Alloc>::_M_default_append(std::vector<_Tp, _Alloc>::size_type) [with _Tp = char, _Alloc = boost::mpi::allocator<char>, std::vector<_Tp, _Alloc>::size_type = long unsigned int]'
>> /usr/include/c++/4.6/bits/stl_vector.h:592:4:   instantiated from 'void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type) [with _Tp = char, _Alloc = boost::mpi::allocator<char>, std::vector<_Tp, _Alloc>::size_type = long unsigned int]'
>> /usr/include/boost/mpi/detail/packed_oprimitive.hpp:96:46:   instantiated from here
>> /usr/include/c++/4.6/bits/stl_uninitialized.h:576:6: error: no matching function for call to 'boost::mpi::allocator<char>::construct(char*)'
>> /usr/include/c++/4.6/bits/stl_uninitialized.h:576:6: note: candidate is:
>> /usr/include/boost/mpi/allocator.hpp:168:8: note: void boost::mpi::allocator<T>::construct(boost::mpi::allocator<T>::pointer, const T&) [with T = char, boost::mpi::allocator<T>::pointer = char*]
>> /usr/include/boost/mpi/allocator.hpp:168:8: note:   candidate expects 2 arguments, 1 provided
>> make[3]: *** [feel/CMakeFiles/feel++.dir/options.cpp.o] Error 1
>
> The full build log is available from:
>   http://people.debian.org/~lucas/logs/2011/05/02/feel++_0.91.0~svn7013-1_lsid64.buildlog
>
> 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 about 50 AMD64 nodes
> of the Grid'5000 platform, using a clean chroot.  Internet was not
> accessible from the build systems.
>
> --
> | Lucas Nussbaum
> | lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
> | jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |
>
>
>
> --
> debian-science-maintainers mailing list
> debian-science-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/debian-science-maintainers
>



-- 
Debian Developer - member of Debian Science
http://wiki.debian.org/DebianScience
Prof. at Univ. Grenoble in Applied Math.
http://ljk.imag.fr/membres/Christophe.Prudhomme/





More information about the debian-science-maintainers mailing list