Multiple CMake errors in OpenCASCADE*Targets.cmake...could it be a USE flag for sci-libs/opencascade that needs to be set? emerge -1pv opencascade prusaslicer returns the following: [ebuild R ~] sci-libs/opencascade-7.7.2:0/7.7::gentoo USE="X gui json opengl tbb tk vtk -debug -doc -examples -ffmpeg -freeimage -freetype -gles2-only -optimize -test -testprograms" 0 KiB [ebuild N ~] media-gfx/prusaslicer-2.7.2::gentoo USE="-test" 0 KiB Reproducible: Always Steps to Reproduce: sudo emerge -1 opencascade && sudo emerge prusaslicer Actual Results: error log to be attached below Expected Results: successful ebuild
Created attachment 888732 [details] build log
Created attachment 888733 [details] emerge --info
dev-qt/qtwidgets-5.15.13 is installed, BTW.
Failes here with sci-libs/opencascade-7.7.2:0, if this is relevant...
(In reply to Knut Masanetz from comment #4) > Failes here with sci-libs/opencascade-7.7.2:0, if this is relevant... ...which is the version I have installed. I also have media-gfx/freecad installed, which doesn't build against newer versions. Might this end up as a non-resolvable dependency conflict? I'm currently running the PrusaSlicer AppImage downloaded into /usr/local/bin, but I'd prefer to build from source if possible because it's the Gentoo way. :)
This is an issue an apparent issue in opencascade's installed cmake files (I'm oblivious to the exact issue). prusalicer-2.7.4 builds fine against following opencascade version / USE flags: sci-libs/opencascade-7.7.2:0/7.7::gentoo USE="opengl -X -debug -doc -examples -ffmpeg -freeimage -freetype -gles2-only -gui -json -optimize -tbb -test -testprograms -tk -vtk"
Downgrading opencascade to 7.7.0-r2, which also includes downgrading vtk to 9.2.6-r1 makes prusaslicer-2.7.2 and prusaslicer-2.7.3 compile again. I've just noticed prusaslicer-2.7.4 in the tree and a new patch for opencascade-7.8.0, so I go ahead an give it a try.
(In reply to Janne Grunau from comment #6) > This is an issue an apparent issue in opencascade's installed cmake files > (I'm oblivious to the exact issue). > > prusalicer-2.7.4 builds fine against following opencascade version / USE > flags: > > sci-libs/opencascade-7.7.2:0/7.7::gentoo USE="opengl -X -debug -doc > -examples -ffmpeg -freeimage -freetype -gles2-only -gui -json -optimize -tbb > -test -testprograms -tk -vtk" It didn't merge for me with 7.7.2, but I had +X +gui +vtk +freeimage +freetype +tbb among my USE flags. I try to figure out which one to be blame and report back.
(In reply to Attila Tóth from comment #8) > (In reply to Janne Grunau from comment #6) > > This is an issue an apparent issue in opencascade's installed cmake files > > (I'm oblivious to the exact issue). > > > > prusalicer-2.7.4 builds fine against following opencascade version / USE > > flags: > > > > sci-libs/opencascade-7.7.2:0/7.7::gentoo USE="opengl -X -debug -doc > > -examples -ffmpeg -freeimage -freetype -gles2-only -gui -json -optimize -tbb > > -test -testprograms -tk -vtk" > > It didn't merge for me with 7.7.2, but I had +X +gui +vtk +freeimage > +freetype +tbb among my USE flags. I try to figure out which one to be blame > and report back. So: it's USE=gui.
(In reply to Attila Tóth from comment #9) > (In reply to Attila Tóth from comment #8) > > (In reply to Janne Grunau from comment #6) > > > This is an issue an apparent issue in opencascade's installed cmake files > > > (I'm oblivious to the exact issue). > > > > It didn't merge for me with 7.7.2, but I had +X +gui +vtk +freeimage > > +freetype +tbb among my USE flags. I try to figure out which one to be blame > > and report back. > > So: it's USE=gui. Conclusion: if I compile opencascade with USE=-gui, then prusaslicer-2.7.4 will compile fine against vtk-9.3.0 & opencascade-7.8.0.
This affects also media-gfx/netgen
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e58c588b049f5e80f7d84f864b0dd3e551c637fa commit e58c588b049f5e80f7d84f864b0dd3e551c637fa Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2024-05-10 09:09:17 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2024-05-10 09:09:17 +0000 media-gfx/prusaslicer: dropped obsolete 2.7.2 Bug: https://bugs.gentoo.org/927925 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> media-gfx/prusaslicer/Manifest | 1 - media-gfx/prusaslicer/prusaslicer-2.7.2.ebuild | 99 -------------------------- 2 files changed, 100 deletions(-)
what is the status here? we don't have opencascade-7.8.0 anymore, just 7.8.1, and it doesn't have gui use flag.