Summary: | media-sound/supercollider-3.11.0 with dev-libs/boost-1.74.0 - .../work/SuperCollider-3.11.0-Source/external_libraries/oscpack_build.cpp:1:10: fatal error: boost/detail/endian.hpp: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | hangglider |
Component: | Current packages | Assignee: | Hector Martin <marcan> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info |
Please attach the entire build log to this bug report. This doesn't make any sense, we have a patch for this in the tree already: https://github.com/gentoo/gentoo/blob/master/media-sound/supercollider/files/supercollider-3.11.0-boost-1.72.patch https://github.com/gentoo/gentoo/blob/master/media-sound/supercollider/supercollider-3.11.0.ebuild#L68 Please attach a full build log, something isn't sane here. Are you sure you're using the gentoo tree ebuild here? (In reply to Hector Martin from comment #2) > This doesn't make any sense, we have a patch for this in the tree already: > > https://github.com/gentoo/gentoo/blob/master/media-sound/supercollider/files/ > supercollider-3.11.0-boost-1.72.patch The Summary mentions boost-1.74 but you refer to a boost-1.72 patch. Created attachment 654992 [details]
build.log
please forgive not attaching the build.log, I already removed it after downgrading boost.
Seems that the *boost*.patch is not applied, albeit it isentioned in the ebuild. Created attachment 654994 [details]
emerge --info
(In reply to Jeroen Roovers from comment #3) > The Summary mentions boost-1.74 but you refer to a boost-1.72 patch. The problem started before boost-1.74. The patch I refer to literally removes the line of code that the bug report quotes as an error. > * Repository: own As I suspected, you aren't using the gentoo ebuild, you're using someone else's broken ebuild from an overlay :-) The problem should go away once you get rid of the broken overlay. Feel free to reopen if you still have this error after using the official ebuild. |
Looks much similar to 728444. >>> Source configured. >>> Compiling source in /var/tmp/portage/media-sound/supercollider-3.11.0/work/SuperCollider-3.11.0-Source ... >>> Working in BUILD_DIR: "/var/tmp/portage/media-sound/supercollider-3.11.0/work/supercollider-3.11.0_build" ninja -v -j5 -l0 [1/590] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_CHRONO_HEADER_ONLY -DBOOST_NO_AUTO_PTR -DSC_DATA_DIR=\"/usr/share/SuperCollider\" -I/var/tmp/portage/media-sound/supercollider-3.11.0/work/SuperCollider-3.11.0-Source/external_libraries/ja ckey -DNDEBUG -march=haswell -O2 -pipe -msse -mfpmath=sse -msse2 -fschedule-insns2 -fomit-frame-pointer -Wreturn-type -fno-math-errno -fno-signaling-nans -fsigned-zeros -fno-associative-math -pthread -fvisibility=hidden -std=gnu++11 - MD -MT external_libraries/CMakeFiles/oscpack.dir/oscpack_build.cpp.o -MF external_libraries/CMakeFiles/oscpack.dir/oscpack_build.cpp.o.d -o external_libraries/CMakeFiles/oscpack.dir/oscpack_build.cpp.o -c /var/tmp/portage/media-sound/sup ercollider-3.11.0/work/SuperCollider-3.11.0-Source/external_libraries/oscpack_build.cpp FAILED: external_libraries/CMakeFiles/oscpack.dir/oscpack_build.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_CHRONO_HEADER_ONLY -DBOOST_NO_AUTO_PTR -DSC_DATA_DIR=\"/usr/share/SuperCollider\" -I/var/tmp/portage/media-sound/supercollider-3.11.0/work/SuperCollider-3.11.0-Source/external_libraries/jackey -D NDEBUG -march=haswell -O2 -pipe -msse -mfpmath=sse -msse2 -fschedule-insns2 -fomit-frame-pointer -Wreturn-type -fno-math-errno -fno-signaling-nans -fsigned-zeros -fno-associative-math -pthread -fvisibility=hidden -std=gnu++11 -MD -MT e xternal_libraries/CMakeFiles/oscpack.dir/oscpack_build.cpp.o -MF external_libraries/CMakeFiles/oscpack.dir/oscpack_build.cpp.o.d -o external_libraries/CMakeFiles/oscpack.dir/oscpack_build.cpp.o -c /var/tmp/portage/media-sound/supercollid er-3.11.0/work/SuperCollider-3.11.0-Source/external_libraries/oscpack_build.cpp /var/tmp/portage/media-sound/supercollider-3.11.0/work/SuperCollider-3.11.0-Source/external_libraries/oscpack_build.cpp:1:10: fatal error: boost/detail/endian.hpp: No such file or directory 1 | #include <boost/detail/endian.hpp> | ^~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. Reproducible: Always Steps to Reproduce: 1.Update boost to 1.74.0 2.emerge supercollider Actual Results: see above problem Expected Results: successful build arch is amd64, faking missed /usr/include/boost/detail/endian.h to #define BOOST_LITTLE_ENDIAN leads to a few other problems later.