Bug#674358: gmsh: FTBFS: array.hpp:374:7: error: 'SetSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]

Christophe Geuzaine cgeuzaine at ulg.ac.be
Thu May 24 10:46:28 UTC 2012


Hi,

I've committed a tentative fix in the Gmsh SVN.

Thanks for the report,

Christophe

On 24 May 2012, at 11:31, Lucas Nussbaum wrote:

> Source: gmsh
> Version: 2.5.1~beta2~svn11845~dfsg-2
> 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:
>> /usr/bin/c++   -DNO_PARALLEL_THREADS -DNOTCL -DHAVE_NO_OCC_CONFIG_H -D_OCC64 -DOCCGEOMETRY -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX -fopenmp -lmpi -fPIC -Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -O2 -g -I"/«PKGBUILDDIR»/contrib/mpeg_encode/headers" -I"/«PKGBUILDDIR»/contrib/lbfgs" -I"/«PKGBUILDDIR»/contrib/DiscreteIntegration" -I"/«PKGBUILDDIR»/contrib/MathEx" -I"/«PKGBUILDDIR»/contrib/Chaco/main" -I"/«PKGBUILDDIR»/contrib/rtree" -I"/«PKGBUILDDIR»/contrib/voro++/src" -I"/«PKGBUILDDIR»/contrib/blossom/MATCH" -I"/«PKGBUILDDIR»/contrib/blossom/concorde97" -I"/«PKGBUILDDIR»/contrib/blossom/concorde97/INCLUDE" -I"/«PKGBUILDDIR»/contrib/Netgen" -I"/«PKGBUILDDIR»/contrib/Netgen/libsrc/include" -I"/«PKGBUILDDIR»/contrib/Netgen/nglib" -I"/«PKGBUILDDIR»/contrib/bamg" -I"/«PKGBUILDDIR»/contrib/bamg/bamglib" -I"/«PKGBUILDDIR»/contrib/mmg3d/build/sources" -I"/«PKGBUILDDIR»/contrib/Salome" -I"/«PKGBUILDDIR»/Common" -I"/«PKGBUILDDIR»/Fltk" -I"/«PKGBUILDDIR»/Geo" -I"/«PKGBUILDDIR»/Graphics" -I"/«PKGBUILDDIR»/Mesh" -I"/«PKGBUILDDIR»/Solver" -I"/«PKGBUILDDIR»/Numeric" -I"/«PKGBUILDDIR»/Parser" -I"/«PKGBUILDDIR»/Plugin" -I"/«PKGBUILDDIR»/Post" -I"/«PKGBUILDDIR»/Qt" -I/usr/include/FL/images -I/usr/include/jpeg -I/usr/include/zlib -I/usr/include/png -I/usr/include/ANN -I/usr/include/gmm -I/usr/lib/petscdir/3.2/include -I/usr/lib/petscdir/3.2/linux-gnu-c-opt/include -I/usr/include/slepc -I/usr/lib/slepcdir/3.2/linux-gnu-c-opt/include -I/usr/lib/oce-0.9.1/../../include/oce -I/usr/include/mpi -I"/«PKGBUILDDIR»/debian/build/Common"    -Wall -o CMakeFiles/gmsh.dir/contrib/Netgen/libsrc/meshing/ruler2.cpp.o -c "/«PKGBUILDDIR»/contrib/Netgen/libsrc/meshing/ruler2.cpp"
>> In file included from /«PKGBUILDDIR»/contrib/Netgen/libsrc/include/../general/myadt.hpp:26:0,
>>                 from /«PKGBUILDDIR»/contrib/Netgen/libsrc/meshing/../include/myadt.hpp:1,
>>                 from /«PKGBUILDDIR»/contrib/Netgen/libsrc/meshing/meshing.hpp:6,
>>                 from /«PKGBUILDDIR»/contrib/Netgen/libsrc/meshing/ruler2.cpp:2:
>> /«PKGBUILDDIR»/contrib/Netgen/libsrc/include/../general/array.hpp: In instantiation of 'netgen::ArrayMem<T, S>& netgen::ArrayMem<T, S>::operator=(const netgen::FlatArray<T>&) [with T = netgen::Point2d; int S = 100; netgen::ArrayMem<T, S> = netgen::ArrayMem<netgen::Point2d, 100>]':
>> /«PKGBUILDDIR»/contrib/Netgen/libsrc/meshing/ruler2.cpp:672:61:   required from here
>> /«PKGBUILDDIR»/contrib/Netgen/libsrc/include/../general/array.hpp:374:7: error: 'SetSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
>> /«PKGBUILDDIR»/contrib/Netgen/libsrc/include/../general/array.hpp:374:7: note: declarations in dependent base 'netgen::Array<netgen::Point2d>' are not found by unqualified lookup
>> /«PKGBUILDDIR»/contrib/Netgen/libsrc/include/../general/array.hpp:374:7: note: use 'this->SetSize' instead
>> /«PKGBUILDDIR»/contrib/Netgen/libsrc/include/../general/array.hpp: In instantiation of 'netgen::ArrayMem<T, S>& netgen::ArrayMem<T, S>::operator=(const netgen::FlatArray<T>&) [with T = netgen::INDEX_2; int S = 100; netgen::ArrayMem<T, S> = netgen::ArrayMem<netgen::INDEX_2, 100>]':
>> /«PKGBUILDDIR»/contrib/Netgen/libsrc/meshing/ruler2.cpp:673:58:   required from here
>> /«PKGBUILDDIR»/contrib/Netgen/libsrc/include/../general/array.hpp:374:7: error: 'SetSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
>> /«PKGBUILDDIR»/contrib/Netgen/libsrc/include/../general/array.hpp:374:7: note: declarations in dependent base 'netgen::Array<netgen::INDEX_2>' are not found by unqualified lookup
>> /«PKGBUILDDIR»/contrib/Netgen/libsrc/include/../general/array.hpp:374:7: note: use 'this->SetSize' instead
>> /«PKGBUILDDIR»/contrib/Netgen/libsrc/include/../general/array.hpp: In instantiation of 'netgen::ArrayMem<T, S>& netgen::ArrayMem<T, S>::operator=(const netgen::FlatArray<T>&) [with T = int; int S = 100; netgen::ArrayMem<T, S> = netgen::ArrayMem<int, 100>]':
>> /«PKGBUILDDIR»/contrib/Netgen/libsrc/meshing/ruler2.cpp:674:23:   required from here
>> /«PKGBUILDDIR»/contrib/Netgen/libsrc/include/../general/array.hpp:374:7: error: 'SetSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
>> /«PKGBUILDDIR»/contrib/Netgen/libsrc/include/../general/array.hpp:374:7: note: declarations in dependent base 'netgen::Array<int, 0>' are not found by unqualified lookup
>> /«PKGBUILDDIR»/contrib/Netgen/libsrc/include/../general/array.hpp:374:7: note: use 'this->SetSize' instead
>> /«PKGBUILDDIR»/contrib/Netgen/libsrc/include/../general/array.hpp: In instantiation of 'netgen::ArrayMem<T, S>& netgen::ArrayMem<T, S>::operator=(const netgen::FlatArray<T>&) [with T = netgen::Element2d; int S = 100; netgen::ArrayMem<T, S> = netgen::ArrayMem<netgen::Element2d, 100>]':
>> /«PKGBUILDDIR»/contrib/Netgen/libsrc/meshing/ruler2.cpp:675:23:   required from here
>> /«PKGBUILDDIR»/contrib/Netgen/libsrc/include/../general/array.hpp:374:7: error: 'SetSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
>> /«PKGBUILDDIR»/contrib/Netgen/libsrc/include/../general/array.hpp:374:7: note: declarations in dependent base 'netgen::Array<netgen::Element2d>' are not found by unqualified lookup
>> /«PKGBUILDDIR»/contrib/Netgen/libsrc/include/../general/array.hpp:374:7: note: use 'this->SetSize' instead
>> make[4]: *** [CMakeFiles/gmsh.dir/contrib/Netgen/libsrc/meshing/ruler2.cpp.o] Error 1
> 
> The full build log is available from:
>   http://people.debian.org/~lucas/logs/2012/05/24/gmsh_2.5.1~beta2~svn11845~dfsg-2_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.
> 
> 
> 

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine








More information about the debian-science-maintainers mailing list