tpaviot/oce — Issue #160: Build with TBB fails (Fedora 15 x86_64)
Author: hobbes1069
Created: 2011-11-08 19:36:55+00:00
State: open

I'm trying to package OCE for possible inclusion at RPM Fusion as a replacement for OCC as it needs a ton of patches to build and has a very large source archive.

When trying to build with TBB enabled I get the following:
cd /home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/build/adm/cmake/TKPrim && /usr/lib64/ccache/c++ -DTKPrim_EXPORTS -D_OCC64 -DHAVE_FTGL_NEWER212 -DHAVE_CONFIG_H -DCSFDB -DOCC_CONVERT_SIGNALS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O3 -DNDEBUG -fPIC -I/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/build/build_inc -I/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc -I/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/src/BRepPrim -I/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/drv/BRepPrim -I/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/src/Primitives -I/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/drv/Primitives -I/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/src/BRepSweep -I/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/drv/BRepSweep -I/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/src/Sweep -I/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/drv/Sweep -I/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/src/BRepPrimAPI -I/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/drv/BRepPrimAPI -o CMakeFiles/TKPrim.dir/__/__/__/src/BRepPrim/BRepPrim_Sphere.cxx.o -c /home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/src/BRepPrim/BRepPrim_Sphere.cxx
In file included from /home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/drv/BRepMesh/BRepMesh_IncrementalMesh.jxx:2:0,
from /home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/drv/BRepMesh/BRepMesh_IncrementalMesh.ixx:6,
In file included from /home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/drv/BRepMesh/BRepMesh_IncrementalMesh.jxx:2:0,
from /home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/drv/BRepMesh/BRepMesh_IncrementalMesh.ixx:6,
from /home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/src/BRepMesh/BRepMesh_IncrementalMesh.cxx:7:
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/BRepMesh_DataMapOfVertexInteger.hxx: In copy constructor 'BRepMesh_FastDiscret::BRepMesh_FastDiscret(const BRepMesh_FastDiscret&)':
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/BRepMesh_DataMapOfVertexInteger.hxx:101:3: error: 'BRepMesh_DataMapOfVertexInteger::BRepMesh_DataMapOfVertexInteger(const BRepMesh_DataMapOfVertexInteger&)' is private
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/BRepMesh_FastDiscret.hxx:101:7: error: within this context
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/BRepMesh_DataMapOfShapePairOfPolygon.hxx:102:3: error: 'BRepMesh_DataMapOfShapePairOfPolygon::BRepMesh_DataMapOfShapePairOfPolygon(const BRepMesh_DataMapOfShapePairOfPolygon&)' is private
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/BRepMesh_FastDiscret.hxx:101:7: error: within this context
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/BRepMesh_DataMapOfShapePairOfPolygon.hxx:102:3: error: 'BRepMesh_DataMapOfShapePairOfPolygon::BRepMesh_DataMapOfShapePairOfPolygon(const BRepMesh_DataMapOfShapePairOfPolygon&)' is private
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/BRepMesh_FastDiscret.hxx:101:7: error: within this context
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/BRepMesh_DataMapOfShapePairOfPolygon.hxx:102:3: error: 'BRepMesh_DataMapOfShapePairOfPolygon::BRepMesh_DataMapOfShapePairOfPolygon(const BRepMesh_DataMapOfShapePairOfPolygon&)' is private
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/BRepMesh_FastDiscret.hxx:101:7: error: within this context
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/BRepMesh_DataMapOfIntegerPnt.hxx:101:3: error: 'BRepMesh_DataMapOfIntegerPnt::BRepMesh_DataMapOfIntegerPnt(const BRepMesh_DataMapOfIntegerPnt&)' is private
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/BRepMesh_FastDiscret.hxx:101:7: error: within this context
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/BRepMesh_DataMapOfFaceAttribute.hxx:105:3: error: 'BRepMesh_DataMapOfFaceAttribute::BRepMesh_DataMapOfFaceAttribute(const BRepMesh_DataMapOfFaceAttribute&)' is private
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/BRepMesh_FastDiscret.hxx:101:7: error: within this context
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/BRepMesh_DataMapOfFaceAttribute.hxx:105:3: error: 'BRepMesh_DataMapOfFaceAttribute::BRepMesh_DataMapOfFaceAttribute(const BRepMesh_DataMapOfFaceAttribute&)' is private
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/BRepMesh_FastDiscret.hxx:101:7: error: within this context
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/TColStd_IndexedMapOfInteger.hxx:97:3: error: 'TColStd_IndexedMapOfInteger::TColStd_IndexedMapOfInteger(const TColStd_IndexedMapOfInteger&)' is private
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/BRepMesh_FastDiscret.hxx:101:7: error: within this context
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/BRepMesh_DataMapOfIntegerListOfXY.hxx:101:3: error: 'BRepMesh_DataMapOfIntegerListOfXY::BRepMesh_DataMapOfIntegerListOfXY(const BRepMesh_DataMapOfIntegerListOfXY&)' is private
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/BRepMesh_FastDiscret.hxx:101:7: error: within this context
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/TopTools_DataMapOfShapeReal.hxx:104:3: error: 'TopTools_DataMapOfShapeReal::TopTools_DataMapOfShapeReal(const TopTools_DataMapOfShapeReal&)' is private
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/BRepMesh_FastDiscret.hxx:101:7: error: within this context
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/TopTools_ListOfShape.hxx:112:3: error: 'TopTools_ListOfShape::TopTools_ListOfShape(const TopTools_ListOfShape&)' is private
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/BRepMesh_FastDiscret.hxx:101:7: error: within this context
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/TopTools_ListOfShape.hxx:112:3: error: 'TopTools_ListOfShape::TopTools_ListOfShape(const TopTools_ListOfShape&)' is private
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/inc/BRepMesh_FastDiscret.hxx:101:7: error: within this context
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/src/BRepMesh/BRepMesh_IncrementalMesh.cxx: In member function 'void BRepMesh_IncrementalMesh::Update(const TopoDS_Shape&)':
/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/src/BRepMesh/BRepMesh_IncrementalMesh.cxx:225:79: note: synthesized method 'BRepMesh_FastDiscret::BRepMesh_FastDiscret(const BRepMesh_FastDiscret&)' first required here
/usr/include/tbb/parallel_for_each.h:68:10: error: initializing argument 3 of 'Function tbb::parallel_for_each(InputIterator, InputIterator, Function) [with InputIterator = __gnu_cxx::__normal_iterator >, Function = BRepMesh_FastDiscret]'
make[2]: *** [adm/cmake/TKMesh/CMakeFiles/TKMesh.dir/__/__/__/src/BRepMesh/BRepMesh_IncrementalMesh.cxx.o] Error 1
make[2]: Leaving directory `/home/build/rpmbuild/OCE/BUILD/tpaviot-oce-a384024/build'
make[1]: *** [adm/cmake/TKMesh/CMakeFiles/TKMesh.dir/all] Error 2
---

This is with tbb version 2.2.

Is the version just too old? They are finally building 3 for Fedora 16 and 4 for Fedora 17, but I don't think 15 will get the upgrade.

Thanks,
Richard