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

Bug 918510

Summary: media-gfx/superslicer-2.5.59.8: version bump (fixes: src/slic3r/GUI/ScriptExecutor.cpp:13:10: fatal error: boost/filesystem/string_file.hpp: No such file or directory)
Product: Gentoo Linux Reporter: Gustav Schaffter <gustav.schaffter>
Component: Current packagesAssignee: 3D Printing Team <3dprint>
Status: RESOLVED FIXED    
Severity: normal CC: asturm, brutus_dansereau, cloos, egorr.berd, gentoo.2019, gentoo, gustav.schaffter, n8hth, pacho, william
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/supermerill/SuperSlicer/
See Also: https://bugs.gentoo.org/show_bug.cgi?id=924105
https://bugs.gentoo.org/show_bug.cgi?id=936144
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 921609    
Attachments: Superslicer 2.5.59.6 ebuild
Some additional import fixes
Superslicer 2.5.59.8 ebuild
Superslicer 2.5.59.8 additional import fixes
Superslicer 2.5.59.8 fix for gnu17 compilation error
Superslicer 2.5.59.8 libnest2d linking error against xcb
Superslicer 2.5.59.8 fix for usage of deprecated load_string_file from boost
superslicer-2.5.59.8-boost-replace-load-string-file.patch

Description Gustav Schaffter 2023-11-25 10:57:39 UTC
media-gfx/superslicer version 2.5.59.3 has been released.


https://github.com/supermerill/SuperSlicer/releases
Comment 1 Egor 2023-12-26 09:02:01 UTC
There is already 2.5.59.4 release available: https://github.com/supermerill/SuperSlicer/releases/tag/2.5.59.4
Comment 2 gordon 2024-01-04 19:37:23 UTC
There is 2.5.59.6 already:
https://github.com/supermerill/SuperSlicer/releases/tag/2.5.59.6
Comment 3 Egor 2024-01-06 12:23:23 UTC
Created attachment 881557 [details]
Superslicer 2.5.59.6 ebuild
Comment 4 Egor 2024-01-06 12:23:48 UTC
Created attachment 881558 [details, diff]
Some additional import fixes
Comment 5 Egor 2024-01-06 12:25:28 UTC
I've created an ebuild for latest release based on existing one. Dropped 'superslicer-2.5.59.2-fix-spiral_vase-null-pointer.patch' patch as it is seems not needed and added some additional missing imports patch.
Comment 6 gordon 2024-01-07 12:11:55 UTC
New ebuild doesn't compile with boost-1.84.0-r1. According to boost changelog string_file.hpp is deprecated and removed https://www.boost.org/doc/libs/1_84_0/libs/filesystem/doc/release_history.html

FAILED: src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/ScriptExecutor.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_DYN_LINK -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DHAVE_SPNAV -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOPENVDB_ABI_VERSION_NUMBER=10 -DOPENVDB_USE_DELAYED_LOADING -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_UNICODE -D__WXGTK__ -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/var/tmp/portage/media-gfx/superslicer-2.5.59.6/work/SuperSlicer-2.5.59.6/src -I/var/tmp/portage/media-gfx/superslicer-2.5.59.6/work/SuperSlicer-2.5.59.6_build/src/platform -I/var/tmp/portage/media-gfx/superslicer-2.5.59.6/work/SuperSlicer-2.5.59.6/src/hidapi/include -I/var/tmp/portage/media-gfx/superslicer-2.5.59.6/work/SuperSlicer-2.5.59.6/src/exif/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gio-unix-2.0 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/var/tmp/portage/media-gfx/superslicer-2.5.59.6/work/SuperSlicer-2.5.59.6_build/src/libslic3r -I/var/tmp/portage/media-gfx/superslicer-2.5.59.6/work/SuperSlicer-2.5.59.6/src/libnest2d/include -I/var/tmp/portage/media-gfx/superslicer-2.5.59.6/work/SuperSlicer-2.5.59.6/src/miniz -I/var/tmp/portage/media-gfx/superslicer-2.5.59.6/work/SuperSlicer-2.5.59.6/src/glu-libtess/include -isystem /usr/include/eigen3 -isystem /usr/lib64/wx/include/gtk3-unicode-3.0-gtk3 -isystem /usr/include/wx-3.0-gtk3 -isystem /var/tmp/portage/media-gfx/superslicer-2.5.59.6/work/SuperSlicer-2.5.59.6/src/libigl -isystem /usr/include/opencascade -isystem /usr/include/Imath  -DNDEBUG -O2 -pipe -march=corei7-avx -mtune=corei7-avx -fno-strict-aliasing -fext-numeric-literals -Wall -Wno-reorder -pthread -std=gnu++17 -fPIC -fsigned-char -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -MD -MT src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/ScriptExecutor.cpp.o -MF src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/ScriptExecutor.cpp.o.d -o src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/ScriptExecutor.cpp.o -c /var/tmp/portage/media-gfx/superslicer-2.5.59.6/work/SuperSlicer-2.5.59.6/src/slic3r/GUI/ScriptExecutor.cpp
/var/tmp/portage/media-gfx/superslicer-2.5.59.6/work/SuperSlicer-2.5.59.6/src/slic3r/GUI/ScriptExecutor.cpp:13:10: fatal error: boost/filesystem/string_file.hpp: No such file or directory
   13 | #include <boost/filesystem/string_file.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
 * ERROR: media-gfx/superslicer-2.5.59.6::local failed (compile phase):
 *   ninja -v -j4 -l4 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 2206:  Called cmake_src_compile
 *   environment, line  911:  Called cmake_build
 *   environment, line  878:  Called eninja
 *   environment, line 1352:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=media-gfx/superslicer-2.5.59.6::local'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/superslicer-2.5.59.6::local'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/superslicer-2.5.59.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/superslicer-2.5.59.6/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/superslicer-2.5.59.6/work/SuperSlicer-2.5.59.6_build'
 * S: '/var/tmp/portage/media-gfx/superslicer-2.5.59.6/work/SuperSlicer-2.5.59.6'

>>> Failed to emerge media-gfx/superslicer-2.5.59.6, Log file:

>>>  '/var/tmp/portage/media-gfx/superslicer-2.5.59.6/temp/build.log'

 * Messages for package media-gfx/superslicer-2.5.59.6:

 * ERROR: media-gfx/superslicer-2.5.59.6::local failed (compile phase):
 *   ninja -v -j4 -l4 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 2206:  Called cmake_src_compile
 *   environment, line  911:  Called cmake_build
 *   environment, line  878:  Called eninja
 *   environment, line 1352:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=media-gfx/superslicer-2.5.59.6::local'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/superslicer-2.5.59.6::local'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/superslicer-2.5.59.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/superslicer-2.5.59.6/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/superslicer-2.5.59.6/work/SuperSlicer-2.5.59.6_build'
 * S: '/var/tmp/portage/media-gfx/superslicer-2.5.59.6/work/SuperSlicer-2.5.59.6'
╭
Comment 7 Torsten Kurbad 2024-01-29 12:29:39 UTC
Any progress on the boost problem? Tried to fix it, but ran into a lot of follow-up problems.

Also, 2.5.59.3 is from the master branch, while 2.5.59.4~6 are tagged from the nightly-dev branch. I think we should stick to the master releases...
Comment 8 Egor 2024-02-18 13:21:08 UTC
Created attachment 885342 [details]
Superslicer 2.5.59.8 ebuild
Comment 9 Egor 2024-02-18 13:21:44 UTC
Created attachment 885343 [details, diff]
Superslicer 2.5.59.8 additional import fixes
Comment 10 Egor 2024-02-18 13:22:22 UTC
Created attachment 885344 [details, diff]
Superslicer 2.5.59.8 fix for gnu17 compilation error
Comment 11 Egor 2024-02-18 13:22:58 UTC
Created attachment 885345 [details, diff]
Superslicer 2.5.59.8 libnest2d linking error against xcb
Comment 12 Egor 2024-02-18 13:23:37 UTC
Created attachment 885346 [details, diff]
Superslicer 2.5.59.8 fix for usage of deprecated load_string_file from boost
Comment 13 Egor 2024-02-18 13:25:01 UTC
Based on my ebuild from comment #5 I've created a new ebuild for 2.5.59.8 pre-release. This should compile with boost 1.84.0.
Comment 14 Robert G. Siebeck 2024-03-04 16:47:51 UTC
Created attachment 886707 [details, diff]
superslicer-2.5.59.8-boost-replace-load-string-file.patch

I fixed one of the patchches (see attachment) to finally make it build.
Comment 15 Egor 2024-04-30 20:26:59 UTC
There is a new release 2.5.59.9 which is considered stable: https://github.com/supermerill/SuperSlicer/releases/tag/2.5.59.9
Comment 16 Gustav Schaffter 2024-05-23 14:39:56 UTC
Since this bug report initially was a 'version bump' report:

There is now a new bug-fix release 2.5.59.10 , untested under Linux,
which might be worthy inclusion in the unstable branch of Gentoo for testing.

https://github.com/supermerill/SuperSlicer/releases
Comment 17 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-16 07:04:56 UTC
*** Bug 936128 has been marked as a duplicate of this bug. ***
Comment 18 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-16 07:19:29 UTC
(In reply to Gustav Schaffter from comment #16)
> Since this bug report initially was a 'version bump' report:
> 

It still is in the title.

> There is now a new bug-fix release 2.5.59.10 , untested under Linux,
> which might be worthy inclusion in the unstable branch of Gentoo for testing.
> 
> https://github.com/supermerill/SuperSlicer/releases

I'll take a quick look, but doing it as a drive-by, I don't use the 3D stuff at all. Thanks to all for sharing patches/ebuilds above.
Comment 19 Larry the Git Cow gentoo-dev 2024-07-16 07:24:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d274045638c2ef671a60b5c324ea264c3f85e5b

commit 1d274045638c2ef671a60b5c324ea264c3f85e5b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-07-16 07:18:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-07-16 07:18:51 +0000

    media-gfx/superslicer: add 2.5.59.8
    
    Closes: https://bugs.gentoo.org/918510
    Thanks-to: Egor <egorr.berd@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/superslicer/Manifest                     |   2 +
 ...rslicer-2.5.59.8-additional-imports-fixes.patch | 111 +++++++++++++++++++++
 ...r-2.5.59.8-boost-replace-load-string-file.patch |  43 ++++++++
 ...icer-2.5.59.8-fix-compilation-error-gnu17.patch |  20 ++++
 .../superslicer-2.5.59.8-libnest2d-link-xcb.patch  |  12 +++
 media-gfx/superslicer/superslicer-2.5.59.8.ebuild  | 109 ++++++++++++++++++++
 6 files changed, 297 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f22a961465cbd9c83d63d96f5e614563b756434

commit 7f22a961465cbd9c83d63d96f5e614563b756434
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-07-16 07:22:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-07-16 07:22:27 +0000

    media-gfx/superslicer: add 2.5.59.10
    
    Bug: https://bugs.gentoo.org/918510
    Closes: https://bugs.gentoo.org/924105
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/superslicer/Manifest                     |   2 +
 media-gfx/superslicer/superslicer-2.5.59.10.ebuild | 108 +++++++++++++++++++++
 2 files changed, 110 insertions(+)