FS#73235 - [Freecad] Opencascade 7.6.0-1 Breaks Freecad

Attached to Project: Community Packages
Opened by Eric Waller (ewaller) - Sunday, 02 January 2022, 20:05 GMT
Last edited by George Rawlinson (rawlinsong) - Wednesday, 12 January 2022, 15:40 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
George Rawlinson (rawlinsong)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

With Opencascade 7.6.0, most things in Freecad are broken. It will open to the UI, but, for example, selecting a different workbench yields a error dialog.

Additional info:

ewaller@odin/home/ewaller % freecad
FreeCAD 0.19, Libs: 0.19R24291 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2021
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##

connect failed: No such file or directory
/usr/lib/freecad/lib/Part.so: undefined symbol: _ZN24BRepBuilderAPI_MakeShape5BuildEv
Traceback (most recent call last):
File "<string>", line 43, in Initialize
File "/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)

ewaller@odin/home/ewaller %
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
Update opencascade, launch freecad, attempt to change workbench
This task depends upon

Closed by  George Rawlinson (rawlinsong)
Wednesday, 12 January 2022, 15:40 GMT
Reason for closing:  Fixed
Comment by Eric Waller (ewaller) - Sunday, 02 January 2022, 20:10 GMT
Also,

sudo pacman -U /var/cache/pacman/pkg/opencascade-7.5.3-4-x86_64.pkg.tar.zst

fixes the issue
Comment by Andreas Richter (df8oe) - Monday, 03 January 2022, 13:05 GMT
I can confirm. Additionally it breaks KiCAD - same reason.
Comment by Stephen Tanner (scubanator87) - Monday, 10 January 2022, 20:52 GMT
Can also confirm this has broken freecad
Comment by George Rawlinson (rawlinsong) - Tuesday, 11 January 2022, 21:14 GMT
Okay, this seems to be wholly my fault.

I had opencascade in testing for ~10 days, I assumed it was safe to move it to community.

FreeCAD's patches for opencascade 7.6.0 aren't complete, and KiCad doesn't have any yet so I'll be reverting to the previous version via epoch bump.

In the meantime, downgrade to 7.5.3.

Apologies to all affected.
Comment by George Rawlinson (rawlinsong) - Tuesday, 11 January 2022, 22:53 GMT
Pushed a new version of opencascade, can everyone please confirm that the issue is fixed?
Comment by Eric Waller (ewaller) - Wednesday, 12 January 2022, 01:16 GMT
pacman -Syuu
installed opencascade 1:7.5.3-1 abd Freecad behaved itself.

Anyone who has this issue will need to use -Syuu and not -Syu.

And rawinsong, don't sweat the small stuff. Thanks for your contributions.
Comment by Andreas Richter (df8oe) - Wednesday, 12 January 2022, 06:53 GMT
KiCAD now behaves as it should. Everything working again here with 1:7.5.3-1. Thanks for your work!

Loading...