https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: games-fps/darkplaces-20140513-r2 fails to compile. Discovered on: amd64 (internal ref: gcc15_tinderbox) 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#CF0014
Created attachment 914885 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: Package alsa was not found in the pkg-config search path. ../../../qtypes.h:9:26: error: cannot use keyword ‘false’ as enumeration constant
*** Bug 952012 has been marked as a duplicate of this bug. ***
Unfortunately, this failure cannot be worked around by adding "-std=gnu17" to CFLAGS because the ebuild "helpfully" calls strip-flags, which causes: * strip-flags: CFLAGS: changed '-pipe -march=core2 -O3 -std=gnu17 -ggdb' to '-pipe -march=core2 -O3 -ggdb' It does work if you set CC='x86_64-pc-linux-gnu-gcc-15 -std=gnu17' since strip-flags doesn't touch CC.