https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-libs/ftgl-2.1.3_rc5 fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses a clang/LLVM toolchain. If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004. This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Created attachment 657902 [details] build.log build log and emerge --info
Created attachment 657904 [details] 1-autoconf.out 1-autoconf.out
The actual issue is that while configuring sources it strips CXXFLAGS so that they are cleared off from any unwanted flags from the perspective of configuration scripts. I used to be able to compile when passed c++03 as a standard to build with, but now the configuration wipes it out from CXXFLAGS and as the result I see the build fail
commit 2919a7d7469a54cf50ff469f76f71bf7cc4ca20f Author: Denis Pronin <dannftk@yandex.ru> Date: Sat Mar 12 13:07:26 2022 +0300 added ftgl-2.1.3_rc5-clang.patch patch that fixes building with clang using c++11 Signed-off-by: Denis Pronin <dannftk@yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/24505 Signed-off-by: James Le Cuirot <chewi@gentoo.org>