Bug 1842011 - [FTBFS] prusa-slicer fails to build with boost 1.73.0
Summary: [FTBFS] prusa-slicer fails to build with boost 1.73.0
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: prusa-slicer
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1843133 (view as bug list)
Depends On:
Blocks: F33FailsToInstall
TreeView+ depends on / blocked
 
Reported: 2020-05-30 06:32 UTC by Jonathan Wakely
Modified: 2020-06-03 11:24 UTC (History)
3 users (show)

Fixed In Version: prusa-slicer-2.2.0-2.fc33
Clone Of:
Environment:
Last Closed: 2020-06-03 11:24:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github prusa3d PrusaSlicer issues 4264 0 None open PrusaSlicer 2.2.0 does not build with boost-1.73.0 2020-06-01 13:59:03 UTC

Description Jonathan Wakely 2020-05-30 06:32:39 UTC
I am updating Boost in rawhide for https://fedoraproject.org/wiki/Changes/F33Boost173 and prusa-slicer fails to build with this error:


cd /builddir/build/BUILD/PrusaSlicer-version_2.2.0/Build/src/admesh && /usr/bin/c++  -DBOOST_LOG_DYN_LINK -DSLIC3R_GUI -DUNICODE -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/builddir/build/BUILD/PrusaSlicer-version_2.2.0/src -I/builddir/build/BUILD/PrusaSlicer-version_2.2.0/Build/src/platform -I/builddir/build/BUILD/PrusaSlicer-version_2.2.0/src/clipper -I/builddir/build/BUILD/PrusaSlicer-version_2.2.0/src/polypartition -isystem /usr/include/eigen3  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fext-numeric-literals -Wall -Wno-reorder -DNDEBUG -fPIC   -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -std=gnu++17 -o CMakeFiles/admesh.dir/stlinit.cpp.o -c /builddir/build/BUILD/PrusaSlicer-version_2.2.0/src/admesh/stlinit.cpp
/builddir/build/BUILD/PrusaSlicer-version_2.2.0/src/admesh/stlinit.cpp:31:10: fatal error: boost/detail/endian.hpp: No such file or directory
   31 | #include <boost/detail/endian.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.


Code outside Boost itself should not include "detail" headers.

It should probably be <boost/endian/endian.hpp>

There's a scratch build done in the f33-boost side tag (which has the new boost package):
https://koji.fedoraproject.org/koji/taskinfo?taskID=45165679

Comment 2 Miro Hrončok 2020-06-01 20:38:09 UTC
s390x: 4/7 Test #4: libslic3r_tests ..................***Failed    4.32 sec :/

Comment 3 Miro Hrončok 2020-06-02 17:45:44 UTC
*** Bug 1843133 has been marked as a duplicate of this bug. ***

Comment 4 Igor Raits 2020-06-03 11:24:40 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (ignatenkobrain).

All subpackages of a package agaisnt which this bug was filled are now installable or removed from Fedora 33.

Thanks for taking care of it!


Note You need to log in before you can comment on or make changes to this bug.