FS#68673 - [opencascade74] conflicts with opencascade

Attached to Project: Community Packages
Opened by M. Greyson Christoforo (greyltc) - Thursday, 19 November 2020, 19:06 GMT
Last edited by Alexander F. Rødseth (xyproto) - Thursday, 26 November 2020, 10:55 GMT
Task Type General Gripe
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 8
Private No

Details

Would be great if you can make this somehow not conflict with the opencascade package.

If that's not possible, it would be nice if it would provide opencascade. As it stands right now, if I want to install freecad on my system, all other packages that depend on opencascade are broken since opencascade must be removed to have this and then there's nothing on my system that provides opencascade.
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Thursday, 26 November 2020, 10:55 GMT
Reason for closing:  Not a bug
Comment by M. Greyson Christoforo (greyltc) - Friday, 20 November 2020, 10:11 GMT
We just discussed this in IRC. Another good solution here might be to remove this package entirely and bundle opencascade version 7.4 in with the freecad package.
Comment by Alexander F. Rødseth (xyproto) - Monday, 23 November 2020, 13:32 GMT
Thanks for reporting.

It's not a bug that one package conflicts with another, which is the case here, but I understand your concern.

If opencascade was not upgraded in a way that broke FreeCAD, this would not be an issue in the first place.

My hope is that FreeCAD will update the code to support opencascade 7.5.0. I will remove the opencascade74 package when this happens.

Please direct this to the FreeCAD developers, in the form of a bug report and/or feature request for them supporting opencascade 7.5.0.
Comment by Alexander F. Rødseth (xyproto) - Monday, 23 November 2020, 13:33 GMT
I will not bundle opencascade74 with freecad, since I think this is an uglier solution.
Comment by Shcherbakov (Shcherbakov) - Tuesday, 24 November 2020, 20:05 GMT
The problem is not only with the freecad program, but also with the KiCad.
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 25 November 2020, 13:25 GMT
Does KiCad also have issues with opencascade 7.5.0?
Comment by M. Greyson Christoforo (greyltc) - Wednesday, 25 November 2020, 15:09 GMT
The precompiled kicad 5.1.8-1 package throws a popup dialog window with a warning/error message about an opencascade undefined symbol when you use the 3d viewer. If you click past the popup, it seems to work alright.
If I build kicad-5.1.8-3 locally, everything seems to work fine.

FYI my workaround to the problem in this bug report has been to just use freecad-git from the AUR (works with opencascade 7.5). That way I can keep the opencascade74 off my system which allows me to keep opencascade and retain access to both freecad and kicad at once.
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 25 November 2020, 17:41 GMT
@greyltc, That's promising, but did you check that FreeCAD not only build and starts, but also not crashes when a file is loaded?
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 25 November 2020, 19:07 GMT
Tested `freecad-git`, and it worked here now. I'm now trying to find which commit(s) makes FreeCAD work with opencascade 7.5, after FreeCAD 0.18.4.
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 25 November 2020, 20:28 GMT
FreeCAD 0.18.4 does not compile with opencascade 7.5. Neither does the 0.19_pre tag. I'm looking into using the same git commit hash as the freecad-git package, but avoiding non-release tags would be better.
Comment by Alexander F. Rødseth (xyproto) - Thursday, 26 November 2020, 10:54 GMT
Since these are not problems with the opencascade74 package, I created this feature request for the freecad package instead: https://bugs.archlinux.org/task/68752

Loading...