Bug#674300: getfem++: FTBFS: ./gmm/gmm_vector.h:245:54: error: 'erase' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]

Lucas Nussbaum lucas at lucas-nussbaum.net
Thu May 24 09:31:09 UTC 2012


Source: getfem++
Version: 4.1.1-9
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120524 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> /bin/bash ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I..  -D_FORTIFY_SOURCE=2 -DGMM_USES_BLAS -I/usr/include  -Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -O3 -Wall -W -fmessage-length=0 -ftemplate-depth-40 -pedantic -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Wconversion -Wredundant-decls -Wno-long-long -MT getfem_mesh_fem.lo -MD -MP -MF .deps/getfem_mesh_fem.Tpo -c -o getfem_mesh_fem.lo getfem_mesh_fem.cc
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I.. -D_FORTIFY_SOURCE=2 -DGMM_USES_BLAS -I/usr/include -Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -O3 -Wall -W -fmessage-length=0 -ftemplate-depth-40 -pedantic -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Wconversion -Wredundant-decls -Wno-long-long -MT getfem_mesh_fem.lo -MD -MP -MF .deps/getfem_mesh_fem.Tpo -c getfem_mesh_fem.cc  -fPIC -DPIC -o .libs/getfem_mesh_fem.o
> In file included from ./gmm/gmm_real_part.h:40:0,
>                  from ./gmm/gmm_kernel.h:42,
>                  from getfem/bgeot_config.h:49,
>                  from getfem/bgeot_convex_structure.h:41,
>                  from getfem/bgeot_mesh_structure.h:41,
>                  from getfem/bgeot_mesh.h:40,
>                  from getfem/getfem_mesh.h:43,
>                  from getfem/getfem_mesh_fem.h:40,
>                  from getfem_mesh_fem.cc:25:
> ./gmm/gmm_vector.h: In instantiation of 'void gmm::wsvector<T>::resize(gmm::wsvector<T>::size_type) [with T = double; gmm::wsvector<T>::size_type = long unsigned int]':
> ./gmm/gmm_vector.h:277:53:   required from 'static void gmm::linalg_traits<gmm::wsvector<T> >::resize(gmm::linalg_traits<gmm::wsvector<T> >::this_type&, gmm::size_type) [with T = double; gmm::linalg_traits<gmm::wsvector<T> >::this_type = gmm::wsvector<double>; gmm::size_type = long unsigned int]'
> ./gmm/gmm_blas.h:196:5:   required from 'void gmm::resize(V&, gmm::size_type, gmm::linalg_false) [with V = gmm::wsvector<double>; gmm::size_type = long unsigned int]'
> ./gmm/gmm_blas.h:210:5:   required from 'void gmm::resize(V&, gmm::size_type) [with V = gmm::wsvector<double>; gmm::size_type = long unsigned int]'
> ./gmm/gmm_matrix.h:283:38:   required from 'void gmm::col_matrix<VECT>::resize(gmm::size_type, gmm::size_type) [with V = gmm::wsvector<double>; gmm::size_type = long unsigned int]'
> ./gmm/gmm_matrix.h:331:7:   required from 'static void gmm::linalg_traits<gmm::col_matrix<V> >::resize(gmm::linalg_traits<gmm::col_matrix<V> >::this_type&, gmm::size_type, gmm::size_type) [with V = gmm::wsvector<double>; gmm::linalg_traits<gmm::col_matrix<V> >::this_type = gmm::col_matrix<gmm::wsvector<double> >; gmm::size_type = long unsigned int]'
> ./gmm/gmm_blas.h:217:5:   required from 'void gmm::resize(M&, gmm::size_type, gmm::size_type, gmm::linalg_false) [with M = gmm::col_matrix<gmm::wsvector<double> >; gmm::size_type = long unsigned int]'
> ./gmm/gmm_blas.h:232:5:   required from 'void gmm::resize(M&, gmm::size_type, gmm::size_type) [with M = gmm::col_matrix<gmm::wsvector<double> >; gmm::size_type = long unsigned int]'
> getfem_mesh_fem.cc:494:48:   required from here
> ./gmm/gmm_vector.h:245:54: error: 'erase' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
> ./gmm/gmm_vector.h:245:54: note: declarations in dependent base 'std::map<long unsigned int, double, std::less<long unsigned int>, std::allocator<std::pair<const long unsigned int, double> > >' are not found by unqualified lookup
> ./gmm/gmm_vector.h:245:54: note: use 'this->erase' instead
> make[4]: *** [getfem_mesh_fem.lo] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/05/24/getfem++_4.1.1-9_unstable.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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.





More information about the debian-science-maintainers mailing list