Bug 1842011

Summary: [FTBFS] prusa-slicer fails to build with boost 1.73.0
Product: [Fedora] Fedora Reporter: Jonathan Wakely <jwakely>
Component: prusa-slicerAssignee: Miro Hrončok <mhroncok>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: igor.raits, j, mhroncok
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: prusa-slicer-2.2.0-2.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-03 11:24:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1803235    

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!