Created attachment 682483 [details] Build log PrusaSlicer fails in the configuration step.
Created attachment 682486 [details] emerge --info wxGTK
Hmm, seems it uses gtk2 by default and fails to detect wxGTK:3.0-gtk3 slot, worked if I add -DSLIC3R_GTK=3 Try with MYCMAKEARGS="-DSLIC3R_GTK=3" as a workaround I also ran into another issue because my own wxGTK was built with USE=-opengl, dep needs [opengl].
Adding -DSLIC3R_GTK=3 does seem to fix that bug. Now i'm running into https://bugs.gentoo.org/761541 (error: ‘mz_zip_archive’ was not declared in this scope).
(In reply to ppdplayer from comment #3) > Adding -DSLIC3R_GTK=3 does seem to fix that bug. Now i'm running into > https://bugs.gentoo.org/761541 (error: ‘mz_zip_archive’ was not declared in > this scope). Yeah I figured that'd happen unfortunately, I haven't looked into a proper fix but there is a (very) dirty workaround. Assuming you already have the other deps installed, you can workaround it this way: emerge -C miniz MYCMAKEARGS="-DSLIC3R_GTK=3" emerge -O prusaslicer That will cause prusaslicer to (unfortunately) use its bundled copy of miniz. You can let miniz be re-installed after so portage doesn't complain.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fc943a7edd78e5ba3c0d42f053ca1e966e0032a commit 4fc943a7edd78e5ba3c0d42f053ca1e966e0032a Author: Ionen Wolkens <sudinave@gmail.com> AuthorDate: 2021-01-12 07:35:53 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-02-05 02:06:42 +0000 media-gfx/prusaslicer: 2.3.0 version bump + fixes ebuild changes from 2.2.0-r1 to 2.3.0: + REQUIRED_USE on gui for tests (bug #760096) + patch to add missing miniz header (bug #761541) + qhull:=[static-libs] (qhull_r.so subslot + qhullcpp.a, bug #764338) + force GTK3 (bug #765031) + GUI deps optional with USE=-gui + hopefully all missing dependencies - Release build type, not needed - previous patches (applied upstream) + use .desktop files provided by the package + update licenses + minor cleanups Closes: https://bugs.gentoo.org/760096 Closes: https://bugs.gentoo.org/761541 Closes: https://bugs.gentoo.org/764338 Closes: https://bugs.gentoo.org/765031 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/19059 Signed-off-by: Sam James <sam@gentoo.org> media-gfx/prusaslicer/Manifest | 1 + .../files/prusaslicer-2.3.0-miniz-zip-header.patch | 9 +++ media-gfx/prusaslicer/prusaslicer-2.3.0.ebuild | 86 ++++++++++++++++++++++ 3 files changed, 96 insertions(+)