Summary: | media-gfx/prusaslicer-2.7.4 fails to build: "link interface of [multiple targets] contains QT5::Widgets but the target was not found" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Scott Alfter <scott> |
Component: | Current packages | Assignee: | 3D Printing Team <3dprint> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | atoth, fordfrog, hangglider, janne-gentoo, manschwetus, me, scott |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
emerge --info |
Description
Scott Alfter
2024-03-27 01:04:42 UTC
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. |