Freecad-0.19.1 compiles and runs ok. Freecad-0.19.2 fails to compile because it does not find opencascade 7.4 (which is installed). If we copy/rename the 0.19.1 ebuild (and remove one patchfile from the list), freecad-0.19.2 compiles and runs ok. It looks somehow like bug #788274, but with OpenCascade 7.4 Reproducible: Always Actual Results: Should configure/compile Expected Results: Configure fails
Created attachment 707634 [details] Build log
There seems to be a typo for the opencascade-7.4.0 branch: Could NOT find OCC (missing: OCC_INCLUDE_DIR), but the line reads -DOCC_INCLUDEDIR Thanks for reporting this.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b83b3eaf0c8423672624c1cb06cc0ff5bc4aa360 commit b83b3eaf0c8423672624c1cb06cc0ff5bc4aa360 Author: Bernd Waibel <waebbl-gentoo@posteo.net> AuthorDate: 2021-05-18 18:40:01 +0000 Commit: Alexey Shvetsov <alexxy@gentoo.org> CommitDate: 2021-05-31 19:26:02 +0000 media-gfx/freecad: fix opencascade issue Fix an issue with sci-libs/opencascade:7.4.0, where a wrong options has been passed to cmake. Additionally improves testing which version of opencascade has been installed and adds some guards to select correct options. Closes: https://bugs.gentoo.org/789705 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org> media-gfx/freecad/freecad-0.19.2.ebuild | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-)