Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 936146

Summary: media-gfx/superslicer-2.5.59.10 fails to compile: BitmapCache.cpp:245:23: error: debug was not declared in this scope
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: 3D Printing Team <3dprint>
Status: RESOLVED FIXED    
Severity: normal CC: egor-gl, gentoo.2019, gustav.schaffter, niteblade, pacho, pawel, sam, william
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.xz
Patch to fix compilation issues

Description Agostino Sarubbo gentoo-dev 2024-07-16 08:22:01 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/superslicer-2.5.59.10 fails to compile.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-07-16 08:22:02 UTC
Created attachment 897775 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-07-16 08:22:03 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- Could NOT find CURL (missing: CURL_DIR)
FAILED: src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/BitmapCache.cpp.o 
FAILED: src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/GLTexture.cpp.o 
/var/tmp/portage/media-gfx/superslicer-2.5.59.10/work/SuperSlicer-2.5.59.10/src/slic3r/GUI/BitmapCache.cpp:245:23: error: ‘debug’ was not declared in this scope
Comment 3 William Pettersson 2024-08-10 11:26:50 UTC
Created attachment 899757 [details, diff]
Patch to fix compilation issues

I've attached a patch that fixes compilation on my end at least. It's only changes to included headers in a few files. I'm not sure if the changes are needed due to new/different boost versions, or something else.
Comment 4 Robert G. Siebeck 2024-08-12 10:42:04 UTC
(In reply to William Pettersson from comment #3)
> Created attachment 899757 [details, diff] [details, diff]
> Patch to fix compilation issues
> 
> I've attached a patch that fixes compilation on my end at least. It's only
> changes to included headers in a few files. I'm not sure if the changes are
> needed due to new/different boost versions, or something else.

Works for me with boost-1.85.0-r1, thank you very much!
Comment 5 Mike Gilbert gentoo-dev 2024-09-01 17:06:38 UTC
*** Bug 938884 has been marked as a duplicate of this bug. ***
Comment 6 Larry the Git Cow gentoo-dev 2024-09-15 12:25:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12895db94a8b7166dbcd7006ecfc05bcbc44dd39

commit 12895db94a8b7166dbcd7006ecfc05bcbc44dd39
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2024-09-15 12:12:18 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2024-09-15 12:25:00 +0000

    media-gfx/superslicer: Fix boost headers and support wxGTK 3.2
    
    Thanks-to: William Pettersson
    Closes: https://bugs.gentoo.org/936146
    Closes: https://bugs.gentoo.org/939115
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 .../superslicer-2.5.59.10-boost-headers.patch      |  45 +++++++++
 .../superslicer/superslicer-2.5.59.10-r1.ebuild    | 110 +++++++++++++++++++++
 2 files changed, 155 insertions(+)