https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-gfx/openscad-2021.01-r5 fails to compile. Discovered on: x86 (internal ref: tinderbox_x86) System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0002
Created attachment 905783 [details] build.log.xz build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Error(s) that match a know pattern in addition to what has been reported in the summary: /usr/include/CGAL/Intersection_traits.h:124:15: internal compiler error: Segmentation fault /usr/include/CGAL/config.h:147:2: error: #error "CGAL requires C++ 17"
Thanks, sent upstream as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117146
I beleave that media-gfx/openscad-2021.01-r5 is incompatible with sci-mathematics/cgal-6.0 or newer. Actually any openscad-2021.01. #### Why: Build log says (see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117146 referenced in comment #3): /usr/include/CGAL/config.h:147:2: error: #error "CGAL requires C++ 17" And the following line is present on https://github.com/openscad/openscad/releases/tag/openscad-2021.01 Switch to C++14 and allow usage of header-only CGAL I compiled openscad by masking cgal 6.0 and compiling cgal and openscad: #### Commands and outputs: # echo "=sci-mathematics/cgal-6.0" >> /etc/portage/package.mask/openscad-cgal # emerge -1vq sci-mathematics/cgal && emerge -1vq openscad >>> Verifying ebuild manifests >>> Emerging (1 of 1) sci-mathematics/cgal-5.6::gentoo >>> Installing (1 of 1) sci-mathematics/cgal-5.6::gentoo >>> Completed (1 of 1) sci-mathematics/cgal-5.6::gentoo >>> Jobs: 1 of 1 complete Load avg: 0.68, 0.53, 0.38 !!! existing preserved libs found >>> Verifying ebuild manifests >>> Emerging (1 of 1) media-gfx/openscad-2021.01-r5::gentoo >>> Installing (1 of 1) media-gfx/openscad-2021.01-r5::gentoo >>> Completed (1 of 1) media-gfx/openscad-2021.01-r5::gentoo >>> Jobs: 1 of 1 complete Load avg: 1.30, 1.57, 1.42 #### Sugested fix thatI don't know the correct way of doing: ebuild depend on <sci-mathematics/cgal-6
Confirmed solution After I did emerge -1a =sci-mathematics/cgal-5.6.1 the emerge -a media-gfx/openscad completed successfully. Thank you to Fernando B. Nascimento!