Created attachment 248727 [details] Upgrade to 7.8.0 Release notes at <https://dev.opencascade.org/content/open-cascade-technology-780-released>. This new release has many interesting features, but unfortunately it breaks several dependencies, and it cannot be committed without good collaboration with the managers of other ports. E.g. cad/freecad fails with this error: ld: error: unable to find library -lTKIGES ld: error: unable to find library -lTKSTL ld: error: unable to find library -lTKSTEPBase ld: error: unable to find library -lTKSTEPAttr ld: error: unable to find library -lTKSTEP209 ld: error: unable to find library -lTKSTEP ld: error: unable to find library -lTKXDESTEP ld: error: unable to find library -lTKXDEIGES Same kind of errors for cad/gmsh: see <https://gitlab.onelab.info/gmsh/gmsh/-/issues/2744>. cmt@FreeBSD.org, teodorsigaev@gmail.com, henrik@gulbra.net, yuri@FreeBSD.org, wen@FreeBSD.org and mr@FreeBSD.org, I suggest to open PRs for the following ports: cad/freecad cad/PrusaSlicer science/elmerfem graphics/f3d cad/gmsh cad/horizon-eda cad/kicad cad/kicad-devel cad/librepcb cad/py-gmsh math/py-topologic math/topologic
math/topologic builds fine against opencascade-7.8.0: [ 98% 52/53] : && /usr/local/libexec/ccache/c++ -fPIC -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -flto=thin -fstack-protector-strong -L/usr/local/lib -shared -Wl,-soname,libTopologicCore.so.0 -o /wrkdirs/usr/ports/math/topologic/work/Topologic-0.6.0-3-gdbddce9/output/x64/Release/libTopologicCore.so.0.0.0 TopologicCore/CMakeFiles/TopologicCore.dir/src/About.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Aperture.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Cell.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/CellComplex.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Cluster.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/ContentManager.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Context.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/ContextManager.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Dictionary.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Edge.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Face.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/GlobalCluster.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Graph.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/InstanceGUIDManager.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Shell.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Topology.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Utilities.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Vertex.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Wire.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/AttributeManager.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/DoubleAttribute.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/IntAttribute.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/ListAttribute.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/StringAttribute.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/ApertureFactory.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/CellComplexFactory.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/CellFactory.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/ClusterFactory.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/EdgeFactory.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/FaceFactory.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/ShellFactory.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/TopologyFactoryManager.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/VertexFactory.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/WireFactory.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Geometry.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Line.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/NurbsCurve.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/NurbsSurface.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/PlanarSurface.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Surface.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Bitwise.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Utilities/CellUtility.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Utilities/Direction.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Utilities/EdgeUtility.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Utilities/FaceUtility.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Utilities/ShellUtility.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Utilities/TopologyUtility.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Utilities/TransformationMatrix2D.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Utilities/Vector.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Utilities/VertexUtility.cpp.o TopologicCore/CMakeFiles/TopologicCore.dir/src/Utilities/WireUtility.cpp.o -L/wrkdirs/usr/ports/math/topologic/work/Topologic-0.6.0-3-gdbddce9/TopologicCore -Wl,-rpath,/wrkdirs/usr/ports/math/topologic/work/Topologic-0.6.0-3-gdbddce9/TopologicCore: -lTKOffset -lTKPrim -lTKMesh -lTKBO -lTKShHealing -lTKG3d -lTKG2d -lTKGeomBase -lTKGeomAlgo -lTKTopAlgo -lTKernel -lTKMath -luuid && :
Patches in my ports are approved.
Note from <https://dev.opencascade.org/doc/overview/html/occt__upgrade.html#upgrade_occt780>: Reorganized DE TK DE TK components have been combined or separated based on specific CAD formats to support plug-in ability. Components now have a "TKDE" prefix. The available list includes TKDESTEP, TKDEOBJ, TKDEIGES, TKDEGLTF, TKDEVRML, TKDEPLY, TKDESTL. The DE DRAW TK has been updated in a similar way: DRAW components now have a "TKXSDRAW" prefix. The available list includes TKXSDRAWSTEP, TKXSDRAWOBJ, TKXSDRAWIGES, TKXSDRAWGLTF, TKXSDRAWVRML, TKXSDRAWPLY, TKXSDRAWSTL. Migration problems may occur during configuration time or compile time. Ensure that you update your project configuration accordingly.
All the dependent ports have been fixed and can now build with OpenCascade 7.8.0, but I won't commit it right now, because a regression has been detected, and this causes a crash at runtime: see - <https://dev.opencascade.org/content/occt-780-fails-read-step-file-stepcontrolreader-works-stepcafcontrolreader-doesnt> - <https://tracker.dev.opencascade.org/view.php?id=33631>.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=70f1bafe4df72f739cd64e033903b299c1b5f347 commit 70f1bafe4df72f739cd64e033903b299c1b5f347 Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2024-02-25 10:38:04 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2024-03-21 18:01:17 +0000 cad/opencascade: upgrade to 7.8.0 Release notes at <https://dev.opencascade.org/content/open-cascade-technology-780-released> It includes a patch from ichesnok <ichesnok@opencascade.com> to fix the problem reported at <https://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=0f6f5b64d321a988399567f6b901bef385cc8d41> PR: 277294 cad/opencascade/Makefile | 63 +- cad/opencascade/distinfo | 8 +- cad/opencascade/files/patch-CMakeLists.txt | 8 +- cad/opencascade/files/patch-adm_UDLIST (new) | 10 + .../files/patch-adm_cmake_occt__macros.cmake | 6 +- .../files/patch-adm_templates_custom.install.sh.in | 4 +- .../patch-src_IVtkDraw_IVtkDraw__Interactor.cxx | 6 +- ...h-src_Message_Message__AttributeMeter.cxx (new) | 10 + ...h-src_NCollection_NCollection__Array1.hxx (new) | 39 + ...NCollection_NCollection__DynamicArray.hxx (new) | 29 + ...src_NCollection_NCollection__Iterator.hxx (new) | 19 + ...STEPCAFControl_STEPCAFControl__Reader.cxx (new) | 21 + .../files/patch-src_Standard_Standard__CString.cxx | 4 +- ...-src_Standard_Standard__MMgrTBBalloc.cxx (gone) | 12 - cad/opencascade/pkg-plist | 3211 ++++++++++---------- 15 files changed, 1864 insertions(+), 1586 deletions(-)
Just committed - thanks to everybody involved!