Bug#1071283: src:freecad: FTBFS with opencascade 7.8.1

Tobias Frost tobi at debian.org
Fri May 17 16:57:47 BST 2024


Package: freecad
Version: 0.21.2+dfsg1-1
Severity: important
Tags: ftbfs

freecad fails to build with opencascade 7.8.1, which is now in experimental.

(Once the transistion starts, this bug will become RC.)

snippet attached:

[  0%] Linking CXX shared library ../../../lib/libSMDS.so
cd /build/freecad-0.21.2+dfsg1/debian/build-py3/src/3rdParty/salomesmesh && /usr/bin/cmake -E cmake_link_script CMakeFiles/SMDS.dir/link.txt --verbose=1
/usr/lib/ccache/c++ -fPIC  -Wall -Wextra -Wno-write-strings -g -O2 -ffile-prefix-map=/build/freecad-0.21.2+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fpermissive -I/usr/include/python3.11 -flto -Wno-sign-compare -Wno-reorder -Wno-switch -Wno-unused-variable -Wno-unused-but-set-variable -Wno-comment -Wno-unused-parameter -Wno-empty-body -Wno-pedantic -Wno-unused-result -Wno-cast-function-type -Wno-maybe-uninitialized -Wno-missing-field-initializers -O2 -g -DNDEBUG -L/usr/lib/x86_64-linux-gnu/openmpi/lib -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-flto -shared -Wl,-soname,libSMDS.so -o ../../../lib/libSMDS.so CMakeFiles/SMDS.dir/src/SMDS/SMDS_BallElement.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_Downward.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_EdgePosition.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_FaceOfEdges.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_FaceOfNodes.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_FacePosition.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_IteratorOfElements.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_LinearEdge.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_Mesh.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_Mesh0DElement.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_MeshCell.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_MeshEdge.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_MeshElement.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_MeshElementIDFactory.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_MeshFace.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_MeshGroup.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_MeshIDFactory.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_MeshNode.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_MeshNodeIDFactory.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_MeshObject.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_MeshVolume.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_PolygonalFaceOfNodes.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_PolyhedralVolumeOfNodes.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_Position.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_QuadraticEdge.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_QuadraticFaceOfNodes.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_QuadraticVolumeOfNodes.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_SpacePosition.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_UnstructuredGrid.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_VertexPosition.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_VolumeOfFaces.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_VolumeOfNodes.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_VolumeTool.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_VtkCellIterator.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_VtkEdge.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_VtkFace.cpp.o CMakeFiles/SMDS.dir/src/SMDS/SMDS_VtkVolume.cpp.o CMakeFiles/SMDS.dir/src/SMDS/Utils_SALOME_Exception.cpp.o CMakeFiles/SMDS.dir/src/SMDS/chrono.cpp.o CMakeFiles/SMDS.dir/src/SMDS/duplicate.cpp.o   -L/usr/lib/x86_64-linux-gnu/hdf5/serial  -L/usr/lib/x86_64-linux-gnu/openmpi/lib  -Wl,-rpath,/usr/lib/x86_64-linux-gnu/hdf5/serial:/usr/lib/x86_64-linux-gnu/openmpi/lib: -lhdf5 -lmpi_cxx -lmpi -lTKIGES -lTKSTL /usr/lib/x86_64-linux-gnu/libTKXSBase.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKOffset.so.7.8.1 -lTKSTEPBase -lTKSTEPAttr -lTKSTEP209 -lTKSTEP /usr/lib/x86_64-linux-gnu/libTKFeat.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKBin.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKBinL.so.7.8.1 -lTKXDESTEP -lTKXDEIGES /usr/lib/x86_64-linux-gnu/libTKMeshVS.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKRWMesh.so.7.8.1 /usr/lib/x86_64-linux-gnu/libvtkFiltersVerdict-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkIOMPIParallel-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkInteractionStyle-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkRenderingFreeType-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkRenderingOpenGL2-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libTKFillet.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKBool.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKXCAF.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKVCAF.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKCAF.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKBO.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKPrim.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKLCAF.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKCDF.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKV3d.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKMesh.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKShHealing.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKHLR.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKTopAlgo.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKGeomAlgo.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKBRep.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKGeomBase.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKG3d.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKG2d.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKService.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKMath.so.7.8.1 -lfontconfig /usr/lib/x86_64-linux-gnu/libfreeimage.so -lGL -lX11 /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib/x86_64-linux-gnu/libTKDE.so.7.8.1 /usr/lib/x86_64-linux-gnu/libTKernel.so.7.8.1 -lpthread -lrt -lstdc++ -ltbb -ltbbmalloc /usr/lib/x86_64-linux-gnu/libvtkverdict-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkIOParallel-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkIOGeometry-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libjsoncpp.so /usr/lib/x86_64-linux-gnu/libvtkIOImage-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkImagingCore-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5_hl.so /usr/lib/x86_64-linux-gnu/libvtkFiltersExtraction-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkIOXML-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkIOXMLParser-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkParallelMPI-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkParallelCore-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkIOLegacy-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkIOCore-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libmpi.so /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib/x86_64-linux-gnu/libvtkRenderingUI-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkRenderingCore-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkFiltersSources-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkFiltersGeneral-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkFiltersGeometry-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkFiltersCore-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkCommonExecutionModel-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkCommonDataModel-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkCommonTransforms-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkCommonMisc-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkCommonMath-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libvtkkissfft-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libGLEW.so /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu/libvtkCommonCore-9.1.so.9.1.0 /usr/lib/x86_64-linux-gnu/libtbb.so.12.11 /usr/lib/x86_64-linux-gnu/libvtksys-9.1.so.9.1.0 -ldl
/usr/bin/ld: cannot find -lTKIGES: No such file or directory
/usr/bin/ld: cannot find -lTKSTL: No such file or directory
/usr/bin/ld: cannot find -lTKSTEPBase: No such file or directory
/usr/bin/ld: cannot find -lTKSTEPAttr: No such file or directory
/usr/bin/ld: cannot find -lTKSTEP209: No such file or directory
/usr/bin/ld: cannot find -lTKSTEP: No such file or directory
/usr/bin/ld: cannot find -lTKXDESTEP: No such file or directory
/usr/bin/ld: cannot find -lTKXDEIGES: No such file or directory
collect2: error: ld returned 1 exit status



-- System Information:
Debian Release: trixie/sid
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.7.12-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages freecad depends on:
ii  freecad-python3  0.21.2+dfsg1-1+b3

Versions of packages freecad recommends:
ii  calculix-ccx        2.21-1
ii  graphviz            2.42.2-9+b1
ii  python3-opencamlib  2023.01.11-5

Versions of packages freecad suggests:
pn  povray  <none>

-- no debconf information



More information about the debian-science-maintainers mailing list