https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: games-fps/gzdoom-4.8.2-r1 fails to compile (MUSL). Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: This machine uses MUSL libc
Created attachment 803416 [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 'musl-fts', required by 'virtual:world', not found -- Could NOT find Backtrace (missing: Backtrace_LIBRARY Backtrace_INCLUDE_DIR) FAILED: libraries/lzma/CMakeFiles/lzma.dir/C/LzFindMt.c.o /var/tmp/portage/games-fps/gzdoom-4.8.2-r1/work/gzdoom-g4.8.2/libraries/lzma/C/Threads.h:80:9: error: unknown type name 'cpu_set_t'
Seems this is already known upstream and a patch is attached (https://github.com/ZDoom/gzdoom/pull/1662). It did not get merged however as it force settings that are platform specific on all targets. A 2nd patch is necessary to make it build on musl (https://github.com/ZDoom/gzdoom/pull/1663) but it was not merged for the same reason. With the 2 patches applied however it builds fine on musl.
(In reply to ernsteiswuerfel from comment #3) > Seems this is already known upstream and a patch is attached > (https://github.com/ZDoom/gzdoom/pull/1662). It did not get merged however > as it force settings that are platform specific on all targets. > They're wrong on the first one wrt -D_GNU_SOURCE, it should be fine to unconditionally pass. > A 2nd patch is necessary to make it build on musl > (https://github.com/ZDoom/gzdoom/pull/1663) but it was not merged for the > same reason. :(
tinderbox_musl has reproduced this issue with version 4.10.0 - Updating summary.