opencascade path structure seems to have changed a little bit... which breaks freecad compilation. Reproducible: Always Actual Results: CMake Error at cMake/FindOpenCasCade.cmake:95 (file): file STRINGS file "/usr/lib64/opencascade-7.3.0/ros/inc/Standard_Version.hxx" cannot be read. Call Stack (most recent call first): CMakeLists.txt:699 (find_package) CMake Error at cMake/FindOpenCasCade.cmake:98 (string): string sub-command REGEX, mode MATCH needs at least 5 arguments total to command. Call Stack (most recent call first): CMakeLists.txt:699 (find_package) CMake Error at cMake/FindOpenCasCade.cmake:99 (file): file STRINGS file "/usr/lib64/opencascade-7.3.0/ros/inc/Standard_Version.hxx" cannot be read. Call Stack (most recent call first): CMakeLists.txt:699 (find_package)
Created attachment 584458 [details, diff] fix OCC include/lib path.
Created attachment 584460 [details, diff] fix libmed/fem dependency I'm adding this as a kind of bonus... as it's not directly related to the bug. but I got fed up with having to fight with libmed and found out libmed is actually required if you enabled BUILD_FEM too. not happy with the patch as I'm sure there's a better way to express the fact that enabling fem actually enables smesh, which then depends on libmed.
freecad is not even in Gentoo ebuild repository. - missing emerge --info - missing build.log
(In reply to Andreas Sturmlechner from comment #3) > freecad is not even in Gentoo ebuild repository. > > - missing emerge --info > - missing build.log you are right. it's in the fordfrog overlay. is it the proper place to report bugs in "official" overlays? https://gitweb.gentoo.org/dev/fordfrog.git/
i'll have a look at it, probably this evening europe time. though i compile freecad daily and have no issues at this moment so i'm not able to reproduce it myself. `emerge --info` and build.log would be really helpful.
Created attachment 584468 [details] build.log commit: 0f6fb8a1c5d2e8b478c720c8a192d9698ab30769
Created attachment 584470 [details] emerge --info
(In reply to Miroslav Šulc from comment #5) > i'll have a look at it, probably this evening europe time. though i compile > freecad daily and have no issues at this moment so i'm not able to reproduce > it myself. `emerge --info` and build.log would be really helpful. there you go. ~ # eselect opencascade list Installed opencascade [1] 7.3.0 * ~ # tree -L 1 /usr/lib64/opencascade-7.3.0/ros/ /usr/lib64/opencascade-7.3.0/ros/ |-- bin |-- include |-- lib `-- share HTH, Guillaume.
Guillaume Ranquet, i applied your patch for occ as it is definitely correct. with regard to libmed, i did it in a different way: 1) i added check whether smesh module is enabled when fem module is enabled 2) and i also enabled smesh module by default as as you wrote, it s built when fem is enabled and so it makes no sense to have fem enabled by default and smesh not i did also some other fixes to the ebuild. thank you for reporting the bugs and providing the patches.