Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 765031 - media-gfx/prusaslicer-2.2.0-r1[gui] : Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES wxWidgets_INCLUDE_DIRS)
Summary: media-gfx/prusaslicer-2.2.0-r1[gui] : Could NOT find wxWidgets (missing: wxWi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: 3D Printing Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-01-11 23:29 UTC by ppdplayer
Modified: 2021-02-05 02:06 UTC (History)
2 users (show)

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


Attachments
Build log (build.log,12.75 KB, text/plain)
2021-01-11 23:29 UTC, ppdplayer
Details
emerge --info wxGTK (emerge.info,6.60 KB, text/plain)
2021-01-11 23:29 UTC, ppdplayer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ppdplayer 2021-01-11 23:29:18 UTC
Created attachment 682483 [details]
Build log

PrusaSlicer fails in the configuration step.
Comment 1 ppdplayer 2021-01-11 23:29:50 UTC
Created attachment 682486 [details]
emerge --info wxGTK
Comment 2 Ionen Wolkens gentoo-dev 2021-01-12 00:20:10 UTC
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].
Comment 3 ppdplayer 2021-01-12 01:02:35 UTC
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).
Comment 4 Ionen Wolkens gentoo-dev 2021-01-12 01:12:24 UTC
(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.
Comment 5 Larry the Git Cow gentoo-dev 2021-02-05 02:06:49 UTC
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(+)