Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 737458 - 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
Summary: media-sound/supercollider-3.11.0 with dev-libs/boost-1.74.0 - .../work/SuperC...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Hector Martin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-16 15:25 UTC by hangglider
Modified: 2020-08-17 00:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,31.63 KB, text/x-log)
2020-08-16 20:02 UTC, hangglider
Details
emerge --info (emerge.info,6.90 KB, text/plain)
2020-08-16 20:07 UTC, hangglider
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hangglider 2020-08-16 15:25:29 UTC
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.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2020-08-16 16:04:27 UTC
Please attach the entire build log to this bug report.
Comment 2 Hector Martin 2020-08-16 16:09:21 UTC
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?
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2020-08-16 17:39:32 UTC
(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.
Comment 4 hangglider 2020-08-16 20:02:57 UTC
Created attachment 654992 [details]
build.log

please forgive not attaching the build.log, I already removed it after downgrading boost.
Comment 5 hangglider 2020-08-16 20:05:22 UTC
Seems that the *boost*.patch is not applied, albeit it isentioned in the ebuild.
Comment 6 hangglider 2020-08-16 20:07:13 UTC
Created attachment 654994 [details]
emerge --info
Comment 7 Hector Martin 2020-08-17 00:57:24 UTC
(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.