The current dev snapshot used by our port seems to have some serious bugs, such as malfunctions when creating dimensions. Currently, I'm running the previous release using my work-in-progress ports: https://github.com/outpaddling/freebsd-ports-wip/tree/master/opencascade770 https://github.com/outpaddling/freebsd-ports-wip/tree/master/freecad021 I'm also trying to get a newer dev snapshot working: https://github.com/outpaddling/freebsd-ports-wip/tree/master/freecad It's having problems linking with googletest, even though cmake reports that it was found: -- Found Google Test: version 1.14.0 My first question is whether we should try to get googletest linkage working, or disable it, which might require patching the code. It does not appear to be optional in the cmake scripts.
The current port is so broken that I'm glad that I can do my CAD elsewhere - that even saves me quite some cycles compile-time. I'd rather wait for a new release than chase git, but it's hard to follow their development because f*cking web forums. Why do we even have a snapshot here?
(In reply to Christoph Moench-Tegeder from comment #1) Many ports depend on opencascade, and the latest opencascade release broke compatibility with the last freecad release. So a decision had to be made whether to use a freecad dev snapshot, or delay updates to many other ports. The other option would be to maintain a legacy opencascade port, which would either conflict with the current release or use a different prefix, which would complicate dependent ports.
FYI, I have a working port of the latest Github commit at https://github.com/outpaddling/freebsd-ports-wip/tree/master/freecad. To fix the googletest link issues, I had to patch all the CMakeLists.txt files to link with both gtest_main and gtest.
Was getting a seg fault related to Qt5 and was informed by upstream that FreeCAD is stable with Qt6 now: https://github.com/FreeCAD/FreeCAD/issues/16047#issuecomment-2312519214 I've updated my WIP port to use Qt6. Will continue to post progress here.
FreeCAD is on RC1 now. Of the two issues I've encountered in the development snapshots, one has been fixed: https://github.com/FreeCAD/FreeCAD/issues/16047 For the other, I implemented a temporary hack to avert a segfault: https://github.com/FreeCAD/FreeCAD/issues/16116 Work is ongoing to get to the root of the problem, but I don't think it needs to hold up the FreeBSD port.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=078cb3bc84c761464daf1f93ca3f05f03f3ba228 commit 078cb3bc84c761464daf1f93ca3f05f03f3ba228 Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> AuthorDate: 2024-09-22 19:01:22 +0000 Commit: Christoph Moench-Tegeder <cmt@FreeBSD.org> CommitDate: 2024-09-22 19:03:39 +0000 cad/FreeCAD: update to 1.0rc1 newer (and less messy) than the snapshot before. Release Notes (WIP): https://wiki.freecad.org/Release_notes_1.0 PR: 280391 Reported By: jwb cad/freecad/Makefile | 38 +- cad/freecad/distinfo | 6 +- ..._FreeCAD__Helpers_SetupSalomeSMESH.cmake (gone) | 11 - .../files/patch-src_Gui_SoFCCSysDragger.cpp (gone) | 31 - .../files/patch-src_Mod_Gui_StartView.cpp (new) | 25 + ...patch-src_Mod_Material_Gui_CMakeLists.txt (new) | 22 + .../patch-src_Mod_MeshPart_App_CMakeLists.txt | 8 +- .../patch-src_Mod_Part_App_Geometry2d.cpp (gone) | 101 -- ...h-src_Tools_plugins_widget_CMakeLists.txt (new) | 21 + cad/freecad/pkg-plist | 1462 ++++++++++++-------- 10 files changed, 971 insertions(+), 754 deletions(-)