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]

2012-05-24 Thread Lucas Nussbaum
Source: gmsh
Version: 2.5.1~beta2~svn11845~dfsg-2
Severity: serious
Tags: wheezy sid
User: debian...@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::ArrayMemT, S netgen::ArrayMemT, 
 S::operator=(const netgen::FlatArrayT) [with T = netgen::Point2d; int S = 
 100; netgen::ArrayMemT, S = netgen::ArrayMemnetgen::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::Arraynetgen::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::ArrayMemT, S netgen::ArrayMemT, 
 S::operator=(const netgen::FlatArrayT) [with T = netgen::INDEX_2; int S = 
 100; netgen::ArrayMemT, S = netgen::ArrayMemnetgen::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::Arraynetgen::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::ArrayMemT, S netgen::ArrayMemT, 
 S::operator=(const netgen::FlatArrayT) [with T = int; int S = 100; 
 netgen::ArrayMemT, S = netgen::ArrayMemint, 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::Arrayint, 0' are not found by 
 unqualified lookup
 /«PKGBUILDDIR»/contrib/Netgen/libsrc/include/../general/array.hpp:374:7: 
 note: use 'this-SetSize' instead
 

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]

2012-05-24 Thread Christophe Geuzaine

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...@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::ArrayMemT, S netgen::ArrayMemT, 
 S::operator=(const netgen::FlatArrayT) [with T = netgen::Point2d; int S 
 = 100; netgen::ArrayMemT, S = netgen::ArrayMemnetgen::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::Arraynetgen::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::ArrayMemT, S netgen::ArrayMemT, 
 S::operator=(const netgen::FlatArrayT) [with T = netgen::INDEX_2; int S 
 = 100; netgen::ArrayMemT, S = netgen::ArrayMemnetgen::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::Arraynetgen::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::ArrayMemT, S netgen::ArrayMemT, 
 S::operator=(const netgen::FlatArrayT) [with T = int; int S = 100; 
 netgen::ArrayMemT, S = netgen::ArrayMemint, 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::Arrayint, 

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]

2012-05-24 Thread Anton Gladky
tags 674358 fixed-upstream
thanks


Thanks, Christophe, for the very quick fix.
I will upload a new version from svn.

Anton



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org