Bug#1017235: netgen: FTBFS: occgenmesh.cpp:1158:43: error: ‘class Poly_Triangulation’ has no member named =?UTF-8?Q?=E2=80=98Nodes=E2=80=99; ?= did you mean ‘Node’?
Lucas Nussbaum
lucas at debian.org
Sun Aug 14 09:04:59 BST 2022
Source: netgen
Version: 6.2.2006+really6.2.1905+dfsg-5
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220813 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libsrc/occ && /usr/bin/c++ -DHAVE_DLFCN_H -DMETIS -DNETGEN_PYTHON -DNETGEN_VERSION=\"6.2-dev\" -DNGINTERFACE_EXPORTS -DNG_PYTHON -DOCCGEOMETRY -DOPENGL -DPARALLEL -DTCL -DTOGL_X11 -DUSE_TOGL_2 -D_OCC64 -Docc_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libsrc/occ -I/<<PKGBUILDDIR>>/libsrc/occ -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/libsrc/include -I/usr/include/tcl -I/usr/include/python3.10 -I/usr/lib/x86_64-linux-gnu/openmpi/include -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/include/opencascade -DMPICH_SKIP_MPICXX -lmpi -fPIC -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -g -DNDEBUG -fPIC -std=gnu++14 -MD -MT libsrc/occ/CMakeFiles/occ.dir/occgeom.cpp.o -MF CMakeFiles/occ.dir/occgeom.cpp.o.d -o CMakeFiles/occ.dir/occgeom.cpp.o -c /<<PKGBUILDDIR>>/libsrc/occ/occgeom.cpp
> In file included from /<<PKGBUILDDIR>>/libsrc/occ/../meshing/meshing.hpp:64:
> /<<PKGBUILDDIR>>/libsrc/occ/../meshing/basegeom.hpp: In destructor ‘virtual netgen::GeometryRegisterArray::~GeometryRegisterArray()’:
> /<<PKGBUILDDIR>>/libsrc/occ/../meshing/basegeom.hpp:52:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
> 52 | for (int i = 0; i < Size(); i++)
> | ~~^~~~~~~~
> In file included from /<<PKGBUILDDIR>>/libsrc/occ/../meshing/meshing.hpp:67:
> /<<PKGBUILDDIR>>/libsrc/occ/../meshing/paralleltop.hpp: In member function ‘void netgen::ParallelMeshTopology::GetDistantPNums(int, int*) const’:
> /<<PKGBUILDDIR>>/libsrc/occ/../meshing/paralleltop.hpp:70:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
> 70 | for (int i = 0; i < loc2distvert[locpnum-1].Size(); i++ )
> | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/../meshing/paralleltop.hpp: In member function ‘void netgen::ParallelMeshTopology::GetDistantFaceNums(int, int*) const’:
> /<<PKGBUILDDIR>>/libsrc/occ/../meshing/paralleltop.hpp:76:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
> 76 | for ( int i = 0; i < loc2distface[locfacenum-1].Size(); i++ )
> | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/../meshing/paralleltop.hpp: In member function ‘void netgen::ParallelMeshTopology::GetDistantEdgeNums(int, int*) const’:
> /<<PKGBUILDDIR>>/libsrc/occ/../meshing/paralleltop.hpp:87:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
> 87 | for (int i = 0; i < loc2distedge[locedgenum-1].Size(); i++ )
> | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp: In instantiation of ‘TIND netgen::FlatArray<T, BASE, TIND>::Pos(const T&) const [with T = int; int BASE = 0; TIND = int]’:
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:198:16: required from ‘bool netgen::FlatArray<T, BASE, TIND>::Contains(const T&) const [with T = int; int BASE = 0; TIND = int]’
> /<<PKGBUILDDIR>>/libsrc/occ/../general/netgenout.hpp:103:35: required from here
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:190:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
> 190 | for(TIND i=0; pos==-1 && i < this->size; i++)
> | ~~^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp: In instantiation of ‘void netgen::Array<T, BASE, TIND>::ReSize(std::size_t) [with T = netgen::Segment; int BASE = 0; TIND = long unsigned int; std::size_t = long unsigned int]’:
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:292:2: required from ‘void netgen::Array<T, BASE, TIND>::SetSize(std::size_t) [with T = netgen::Segment; int BASE = 0; TIND = long unsigned int; std::size_t = long unsigned int]’
> /<<PKGBUILDDIR>>/libsrc/occ/../meshing/meshclass.hpp:211:23: required from here
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:438:20: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class netgen::Segment’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
> 438 | memcpy (p, data, sizeof(T)*mins);
> | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/../meshing/meshtype.hpp:932:9: note: ‘class netgen::Segment’ declared here
> 932 | class Segment
> | ^~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp: In instantiation of ‘void netgen::Array<T, BASE, TIND>::ReSize(std::size_t) [with T = netgen::FaceDescriptor; int BASE = 0; TIND = int; std::size_t = long unsigned int]’:
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:308:2: required from ‘void netgen::Array<T, BASE, TIND>::Append(const T&) [with T = netgen::FaceDescriptor; int BASE = 0; TIND = int]’
> /<<PKGBUILDDIR>>/libsrc/occ/../meshing/meshclass.hpp:603:26: required from here
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:438:20: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class netgen::FaceDescriptor’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
> 438 | memcpy (p, data, sizeof(T)*mins);
> | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/../meshing/meshtype.hpp:1066:9: note: ‘class netgen::FaceDescriptor’ declared here
> 1066 | class FaceDescriptor
> | ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp: In instantiation of ‘netgen::FlatArray<T, BASE, TIND>& netgen::FlatArray<T, BASE, TIND>::operator=(const T&) [with T = bool; int BASE = 0; TIND = int]’:
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:367:43: required from ‘netgen::Array<T, BASE, TIND>& netgen::Array<T, BASE, TIND>::operator=(const T&) [with T = bool; int BASE = 0; TIND = int]’
> /<<PKGBUILDDIR>>/libsrc/occ/occgeom.hpp:367:28: required from here
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:175:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
> 175 | for (int i = 0; i < size; i++)
> | ~~^~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp: In instantiation of ‘void netgen::Array<T, BASE, TIND>::ReSize(std::size_t) [with T = netgen::Vec<3, double>; int BASE = 0; TIND = int; std::size_t = long unsigned int]’:
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:292:2: required from ‘void netgen::Array<T, BASE, TIND>::SetSize(std::size_t) [with T = netgen::Vec<3, double>; int BASE = 0; TIND = int; std::size_t = long unsigned int]’
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:414:11: required from ‘typename std::enable_if<is_archivable<T2>, void>::type netgen::Array<T, BASE, TIND>::DoArchive(ngcore::Archive&) [with T2 = netgen::Vec<3, double>; T = netgen::Vec<3, double>; int BASE = 0; TIND = int; typename std::enable_if<is_archivable<T2>, void>::type = void]’
> /<<PKGBUILDDIR>>/libsrc/occ/../general/../core/archive.hpp:307:20: required from ‘ngcore::Archive& ngcore::Archive::operator&(T&) [with T = netgen::Array<netgen::Vec<3, double> >; <template-parameter-1-2> = void]’
> /<<PKGBUILDDIR>>/libsrc/occ/../meshing/curvedelems.hpp:56:70: required from here
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:438:20: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class netgen::Vec<3, double>’; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
> 438 | memcpy (p, data, sizeof(T)*mins);
> | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/libsrc/occ/../meshing/../include/../gprim/gprim.hpp:17,
> from /<<PKGBUILDDIR>>/libsrc/occ/../meshing/../include/gprim.hpp:1,
> from /<<PKGBUILDDIR>>/libsrc/occ/../meshing/meshing.hpp:7:
> /<<PKGBUILDDIR>>/libsrc/occ/../meshing/../include/../gprim/geomobjects.hpp:76:9: note: ‘class netgen::Vec<3, double>’ declared here
> 76 | class Vec : public ngsimd::AlignedAlloc<Vec<D,T>>
> | ^~~
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp: In function ‘void netgen::DivideEdge(TopoDS_Edge&, Array<MeshPoint>&, Array<double>&, Mesh&)’:
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:238:14: warning: unused variable ‘maxh’ [-Wunused-variable]
> 238 | double maxh = mparam.maxh;
> | ^~~~
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:241:14: warning: unused variable ‘svalue’ [-Wunused-variable]
> 241 | double svalue[DIVIDEEDGESECTIONS];
> | ^~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:245:14: warning: unused variable ‘L’ [-Wunused-variable]
> 245 | double L = system.Mass();
> | ^
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:253:14: warning: variable ‘olddist’ set but not used [-Wunused-but-set-variable]
> 253 | double olddist = 0;
> | ^~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp: In function ‘void netgen::OCCFindEdges(OCCGeometry&, Mesh&)’:
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:337:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
> 337 | for (PointIndex pi = 1; pi <= mesh.GetNP(); pi++)
> | ~~~^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:337:13: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
> 337 | for (PointIndex pi = 1; pi <= mesh.GetNP(); pi++)
> | ^~~
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:344:16: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
> 344 | if (!exists)
> | ^~
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:426:31: warning: comparison of integer expressions of different signedness: ‘std::size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
> 426 | if(geom.fnames.Size()>=facenr)
> | ~~~~~~~~~~~~~~~~~~^~~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:502:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
> 502 | for (int i = 1; i <= mp.Size(); i++)
> | ~~^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:506:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
> 506 | for (j = first_ep; j <= mesh.GetNP(); j++)
> | ~~^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:506:19: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
> 506 | for (j = first_ep; j <= mesh.GetNP(); j++)
> | ^~~
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:513:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
> 513 | if (exists)
> | ^~
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:526:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
> 526 | for (int i = 1; i <= mp.Size()+1; i++)
> | ~~^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp: In function ‘void netgen::OCCMeshSurface(OCCGeometry&, Mesh&, int)’:
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:753:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
> 753 | for (l = 0; l < gis.Size() && locpnum[j] == 0; l++)
> | ~~^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:819:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
> 819 | for (int i = noldsurfel+1; i <= mesh.GetNSE(); i++)
> | ~~^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:846:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
> 846 | for (i = oldnf+1; i <= mesh.GetNSE(); i++)
> | ~~^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:656:27: warning: unused variable ‘fd’ [-Wunused-variable]
> 656 | FaceDescriptor & fd = mesh.GetFaceDescriptor(k);
> | ^~
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:875:32: warning: variable ‘point’ set but not used [-Wunused-but-set-variable]
> 875 | gp_Pnt point = BRep_Tool::Pnt(vertex);
> | ^~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:913:27: warning: unused variable ‘fd’ [-Wunused-variable]
> 913 | FaceDescriptor & fd = mesh.GetFaceDescriptor(k);
> | ^~
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:612:11: warning: unused variable ‘changed’ [-Wunused-variable]
> 612 | int changed;
> | ^~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp: In function ‘void netgen::OCCSetLocalMeshSize(OCCGeometry&, Mesh&)’:
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:1157:51: warning: ‘const Poly_Array1OfTriangle& Poly_Triangulation::Triangles() const’ is deprecated: Deprecated method, Triangle() should be used instead [-Wdeprecated-declarations]
> 1157 | int n = triangulation->Triangles()(j)(k);
> | ~~~~~~~~~~~~~~~~~~~~~~~~^~
> In file included from /usr/include/opencascade/Poly_ListOfTriangulation.hxx:20,
> from /usr/include/opencascade/BRep_Tool.hxx:30,
> from /<<PKGBUILDDIR>>/libsrc/occ/occgeom.hpp:14:
> /usr/include/opencascade/Poly_Triangulation.hxx:318:32: note: declared here
> 318 | const Poly_Array1OfTriangle& Triangles() const { return myTriangles; }
> | ^~~~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:1158:43: error: ‘class Poly_Triangulation’ has no member named ‘Nodes’; did you mean ‘Node’?
> 1158 | p[k-1] = triangulation->Nodes()(n).Transformed(loc);
> | ^~~~~
> | Node
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:1159:45: error: ‘class Poly_Triangulation’ has no member named ‘UVNodes’; did you mean ‘UVNode’?
> 1159 | par[k-1] = triangulation->UVNodes()(n);
> | ^~~~~~~
> | UVNode
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:1246:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
> 1246 | for (int j = 0; j < linenums.Size(); j++)
> | ~~^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp: In function ‘int netgen::OCCGenerateMesh(OCCGeometry&, std::shared_ptr<Mesh>&, MeshingParameters&)’:
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:1470:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
> 1470 | for (int i = 1; i <= mesh->GetNP(); i++)
> | ~~^~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/libsrc/occ/../general/myadt.hpp:31:
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp: In instantiation of ‘netgen::Array<T, BASE, TIND>& netgen::Array<T, BASE, TIND>::operator=(const netgen::FlatArray<T>&) [with T = int; int BASE = 0; TIND = int]’:
> /<<PKGBUILDDIR>>/libsrc/occ/../meshing/paralleltop.hpp:82:47: required from here
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:384:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
> 384 | for (TIND i = BASE; i < size+BASE; i++)
> | ~~^~~~~~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp: In instantiation of ‘TIND netgen::FlatArray<T, BASE, TIND>::Pos(const T&) const [with T = int; int BASE = 0; TIND = int]’:
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:198:16: required from ‘bool netgen::FlatArray<T, BASE, TIND>::Contains(const T&) const [with T = int; int BASE = 0; TIND = int]’
> /<<PKGBUILDDIR>>/libsrc/occ/../general/netgenout.hpp:103:35: required from here
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:190:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
> 190 | for(TIND i=0; pos==-1 && i < this->size; i++)
> | ~~^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp: In instantiation of ‘void netgen::Array<T, BASE, TIND>::ReSize(std::size_t) [with T = netgen::Segment; int BASE = 0; TIND = long unsigned int; std::size_t = long unsigned int]’:
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:292:2: required from ‘void netgen::Array<T, BASE, TIND>::SetSize(std::size_t) [with T = netgen::Segment; int BASE = 0; TIND = long unsigned int; std::size_t = long unsigned int]’
> /<<PKGBUILDDIR>>/libsrc/occ/../meshing/meshclass.hpp:211:23: required from here
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:438:20: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class netgen::Segment’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
> 438 | memcpy (p, data, sizeof(T)*mins);
> | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/../meshing/meshtype.hpp:932:9: note: ‘class netgen::Segment’ declared here
> 932 | class Segment
> | ^~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp: In instantiation of ‘void netgen::Array<T, BASE, TIND>::ReSize(std::size_t) [with T = netgen::FaceDescriptor; int BASE = 0; TIND = int; std::size_t = long unsigned int]’:
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:308:2: required from ‘void netgen::Array<T, BASE, TIND>::Append(const T&) [with T = netgen::FaceDescriptor; int BASE = 0; TIND = int]’
> /<<PKGBUILDDIR>>/libsrc/occ/../meshing/meshclass.hpp:603:26: required from here
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:438:20: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class netgen::FaceDescriptor’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
> 438 | memcpy (p, data, sizeof(T)*mins);
> | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/../meshing/meshtype.hpp:1066:9: note: ‘class netgen::FaceDescriptor’ declared here
> 1066 | class FaceDescriptor
> | ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp: In instantiation of ‘netgen::FlatArray<T, BASE, TIND>& netgen::FlatArray<T, BASE, TIND>::operator=(const T&) [with T = bool; int BASE = 0; TIND = int]’:
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:367:43: required from ‘netgen::Array<T, BASE, TIND>& netgen::Array<T, BASE, TIND>::operator=(const T&) [with T = bool; int BASE = 0; TIND = int]’
> /<<PKGBUILDDIR>>/libsrc/occ/occgeom.hpp:367:28: required from here
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:175:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
> 175 | for (int i = 0; i < size; i++)
> | ~~^~~~~~
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp: In instantiation of ‘netgen::FlatArray<T, BASE, TIND>& netgen::FlatArray<T, BASE, TIND>::operator=(const T&) [with T = int; int BASE = 0; TIND = int]’:
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:367:43: required from ‘netgen::Array<T, BASE, TIND>& netgen::Array<T, BASE, TIND>::operator=(const T&) [with T = int; int BASE = 0; TIND = int]’
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:357:26: required from here
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:175:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp: In instantiation of ‘netgen::FlatArray<T, BASE, TIND>& netgen::FlatArray<T, BASE, TIND>::operator=(const T&) [with T = double; int BASE = 0; TIND = int]’:
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:367:43: required from ‘netgen::Array<T, BASE, TIND>& netgen::Array<T, BASE, TIND>::operator=(const T&) [with T = double; int BASE = 0; TIND = int]’
> /<<PKGBUILDDIR>>/libsrc/occ/occgenmesh.cpp:998:24: required from here
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:175:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp: In instantiation of ‘void netgen::Array<T, BASE, TIND>::ReSize(std::size_t) [with T = netgen::Vec<3, double>; int BASE = 0; TIND = int; std::size_t = long unsigned int]’:
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:292:2: required from ‘void netgen::Array<T, BASE, TIND>::SetSize(std::size_t) [with T = netgen::Vec<3, double>; int BASE = 0; TIND = int; std::size_t = long unsigned int]’
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:414:11: required from ‘typename std::enable_if<is_archivable<T2>, void>::type netgen::Array<T, BASE, TIND>::DoArchive(ngcore::Archive&) [with T2 = netgen::Vec<3, double>; T = netgen::Vec<3, double>; int BASE = 0; TIND = int; typename std::enable_if<is_archivable<T2>, void>::type = void]’
> /<<PKGBUILDDIR>>/libsrc/occ/../general/../core/archive.hpp:307:20: required from ‘ngcore::Archive& ngcore::Archive::operator&(T&) [with T = netgen::Array<netgen::Vec<3, double> >; <template-parameter-1-2> = void]’
> /<<PKGBUILDDIR>>/libsrc/occ/../meshing/curvedelems.hpp:56:70: required from here
> /<<PKGBUILDDIR>>/libsrc/occ/../general/array.hpp:438:20: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class netgen::Vec<3, double>’; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
> 438 | memcpy (p, data, sizeof(T)*mins);
> | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/libsrc/occ/../meshing/../include/../gprim/gprim.hpp:17,
> from /<<PKGBUILDDIR>>/libsrc/occ/../meshing/../include/gprim.hpp:1,
> from /<<PKGBUILDDIR>>/libsrc/occ/../meshing/meshing.hpp:7:
> /<<PKGBUILDDIR>>/libsrc/occ/../meshing/../include/../gprim/geomobjects.hpp:76:9: note: ‘class netgen::Vec<3, double>’ declared here
> 76 | class Vec : public ngsimd::AlignedAlloc<Vec<D,T>>
> | ^~~
> [ 9%] Building CXX object libsrc/visualization/CMakeFiles/visual.dir/mvdraw.cpp.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libsrc/visualization && /usr/bin/c++ -DHAVE_DLFCN_H -DMETIS -DNETGEN_PYTHON -DNETGEN_VERSION=\"6.2-dev\" -DNGINTERFACE_EXPORTS -DNG_PYTHON -DOCCGEOMETRY -DOPENGL -DPARALLEL -DTCL -DTOGL_X11 -DUSE_TOGL_2 -D_OCC64 -Dvisual_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libsrc/visualization -I/<<PKGBUILDDIR>>/libsrc/visualization -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/libsrc/include -I/usr/include/tcl -I/usr/include/python3.10 -I/usr/lib/x86_64-linux-gnu/openmpi/include -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/include/opencascade -DMPICH_SKIP_MPICXX -lmpi -fPIC -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -g -DNDEBUG -fPIC -std=gnu++14 -MD -MT libsrc/visualization/CMakeFiles/visual.dir/mvdraw.cpp.o -MF CMakeFiles/visual.dir/mvdraw.cpp.o.d -o CMakeFiles/visual.dir/mvdraw.cpp.o -c /<<PKGBUILDDIR>>/libsrc/visualization/mvdraw.cpp
> make[3]: *** [libsrc/occ/CMakeFiles/occ.dir/build.make:177: libsrc/occ/CMakeFiles/occ.dir/occgenmesh.cpp.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/08/13/netgen_6.2.2006+really6.2.1905+dfsg-5_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220813;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220813&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the debian-science-maintainers
mailing list