[WIP] occt: update to 7.6.2
Testing the changes
- I tested the changes in this PR: briefly
Local build testing
- I built this PR locally for my native architecture, x64-glibc
Like previously, broken ABI
During initialization the error "/usr/lib/freecad/lib64/Part.so: undefined symbol: _ZN24BRepBuilderAPI_MakeShape5BuildEv" occurred in /home/nilsson/.FreeCAD/Mod/A2plus/InitGui.py
Please look into the log file for further information
Wizard shaft module cannot be loaded
/usr/lib/freecad/lib64/Part.so: undefined symbol: _ZN24BRepBuilderAPI_MakeShape5BuildEv
connect failed: No such file or directory
Looks like we'll have to update or patch freecad
In file included from /usr/include/opencascade/Extrema_POnSurf.lxx:15,
from /usr/include/opencascade/Extrema_POnSurf.hxx:75,
from /usr/include/opencascade/Extrema_ExtPElS.hxx:27,
from /usr/include/opencascade/Extrema_ExtPS.hxx:24,
from /usr/include/opencascade/ShapeAnalysis_Surface.hxx:20,
from ../src/3rdParty/salomesmesh/inc/SMESH_MesherHelper.hxx:37,
from ../src/3rdParty/salomesmesh/src/SMESH/SMESH_Mesh.cpp:34:
/usr/include/opencascade/Precision.hxx:98:7: note: previous definition of 'class Precision'
98 | class Precision
| ^~~~~~~~~
ping @Piraty
sigh
I'm just going to wait for the release of freecad v0.20. There's a slew of patches required to build with occt 7.6.x
@karl-nilsson Heads-up: FreeCAD v0.20 has been released
Thanks for you work on this!
@Piraty I think it's ready
@yopito I updated FreeCAD to v0.20, and it looks like most of the patches were upstreamed. Could you please double-check my work?
regarding FreeCAD 0.20 (only): I have some WIP on it, here some points about it:
- help is not generated anymore from source by available (only) from online: see my review of your freecad/template
-
freecad/patches/010-salomesmesh-execinfo.patchis uneeded anymore - I've also update libspnav to 1.0 on my side, so additional patch for freecad is needed: could you add these into your commits ?
- libspnav : update to 1.0: https://gist.github.com/yopito/2757c1a501e2772143814b4a3553cbea
- freecad: : fix PATH_MAX on musl libc : https://gist.github.com/yopito/fd25b30edcbc762babd9069641a9b86e
- another fix:
- freecad: : fix build (stderr resource is readonly): https://gist.github.com/yopito/3ac7d4c8fee646171ca900ff17452567
- I have some SIGSEGV on running FreeCAD (x86_64 musl) when it's using Coin/pivy and shiboken2/pyside2 in 5.15.5 (in WIP) : don't know yet if related to shiboken2/pyside2 in 5.15.5 : see https://github.com/coin3d/pivy/issues/98
=> could you run at least
FreeCAD -t MeshTestsAppto see if you have the same trouble ?
hello, any news regarding FreeCAD packaging ?
JFYI, OCCT v7.6.3 has been released
hello, since this PR looks stale, I will shortly open another PR focused on freecad 0.20.1 and related updated stuff (pyside2, libspnav). Then this one could focus on OCCT solely ?
Edit: this is just a proposal, don't hesitate to react.
hello, since this PR looks stale, I will shortly open another PR focused on freecad 0.20.1 and related updated stuff (pyside2, libspnav). Then this one could focus on OCCT solely ?
Edit: this is just a proposal, don't hesitate to react.
Please do! I've been swamped with work lately, I should have some time in the coming weeks to finish this PR.
hello, since this PR looks stale, I will shortly open another PR focused on freecad 0.20.1 and related updated stuff (pyside2, libspnav). Then this one could focus on OCCT solely ? Edit: this is just a proposal, don't hesitate to react.
Please do! I've been swamped with work lately, I should have some time in the coming weeks to finish this PR.
OK, thanks. Here it is: #38856 I suggest to close this PR ?
For the musl build, libexecinfo-devel should allow it to work. Got about 75% through the build after adding it to the dependency list.
ping
any more traction here ?
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
bump
I assume no. anyone interested in picking up is welcome to open a new PR