After upgrading opencascade to version 7.7.0 freecad fails to build due to Standard_TooManyUsers.hxx no longer being installed by opencascade 7.7.0.
Created attachment 836805 [details] build log
Looks like this is already fixed in master. I see, if I can apply the patch isolated or take some other measures. https://github.com/FreeCAD/FreeCAD/commit/9a41845a417189776741297c50a3827ce292bc4f
confirmed here.
Unfortunately the patch from comment #2 doesn't cleanly apply and needs additional patches, some of them really big and intrusive. As there's already plans to release a 0.20.2 version[1], I'd prefer to not go through the hassle of identifying and applying all patches related to building against OCC 7.7.0, but instead wait until the new version gets released and restrict 0.20.1 to <sci-libs/opencascade-7.7.0. There's no guarantee, that all OCC 7.7.0 related patches will apply selectively and don't break the build or the app either. If someone needs FC build against OCC 7.7.0, I recommend using the live ebuild, which succeeds to build against v7.7.0, as of a test I ran today. [1] https://forum.freecadweb.org/viewtopic.php?f=10&t=73645&sid=2c7e974d3c1234abf9963fb604f89385
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=734858c39ae95ae5fcdaa3178583d43b8ea52de4 commit 734858c39ae95ae5fcdaa3178583d43b8ea52de4 Author: Bernd Waibel <waebbl-gentoo@posteo.net> AuthorDate: 2022-11-27 11:38:54 +0000 Commit: Piotr Karbowski <slashbeast@gentoo.org> CommitDate: 2022-11-27 13:23:01 +0000 media-gfx/freecad: restrict to <sci-libs/opencascade-7.7.0 Several issues when trying to build against OCC 7.7.0. They have been updated upstream already and there's an v0.20.2 version planed for release, so just restrict the dependency for now. If you rely on FreeCAD build against OCC 7.7.0, you can use the live ebuild. Closes: https://bugs.gentoo.org/883073 Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> Closes: https://github.com/gentoo/gentoo/pull/28447 Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org> media-gfx/freecad/freecad-0.20.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
(In reply to Bernd from comment #4) > but instead wait until the new version gets > released and restrict 0.20.1 to <sci-libs/opencascade-7.7.0. Fair enough and fine with me. Thx for fixing the dependancy in current ebuild !
The 0.20 series will stay at 7.6.3. I got an issue, while packaging 0.20.2 which is related to OCC 7.7.0 as well and upstream confirmed the policy is to stay with 7.6.x with the 0.20 series. See https://forum.freecadweb.org/viewtopic.php?f=10&t=73645&p=647036#p647028
*** Bug 905939 has been marked as a duplicate of this bug. ***