Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927925 - media-gfx/prusaslicer-2.7.2 fails to build: "link interface of [multiple targets] contains QT5::Widgets but the target was not found"
Summary: media-gfx/prusaslicer-2.7.2 fails to build: "link interface of [multiple targ...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: 3D Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-27 01:04 UTC by Scott Alfter
Modified: 2024-04-17 10:05 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,22.78 KB, text/x-log)
2024-03-27 01:05 UTC, Scott Alfter
Details
emerge --info (file_927925.txt,8.28 KB, text/plain)
2024-03-27 01:05 UTC, Scott Alfter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Alfter 2024-03-27 01:04:42 UTC
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
Comment 1 Scott Alfter 2024-03-27 01:05:22 UTC
Created attachment 888732 [details]
build log
Comment 2 Scott Alfter 2024-03-27 01:05:53 UTC
Created attachment 888733 [details]
emerge --info
Comment 3 Scott Alfter 2024-03-27 01:07:43 UTC
dev-qt/qtwidgets-5.15.13 is installed, BTW.
Comment 4 Knut Masanetz 2024-04-01 08:57:23 UTC
Failes here with sci-libs/opencascade-7.7.2:0, if this is relevant...
Comment 5 Scott Alfter 2024-04-01 16:45:19 UTC
(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. :)
Comment 6 Janne Grunau 2024-04-06 12:55:34 UTC
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"
Comment 7 Attila Tóth 2024-04-06 13:17:02 UTC
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.
Comment 8 Attila Tóth 2024-04-06 14:22:28 UTC
(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.
Comment 9 Attila Tóth 2024-04-06 15:20:46 UTC
(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.
Comment 10 Attila Tóth 2024-04-06 20:11:40 UTC
(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.
Comment 11 Florian Manschwetus 2024-04-17 10:05:54 UTC
This affects also media-gfx/netgen