https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: games-arcade/supertux-0.6.3 fails to compile. Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: This machine uses MUSL libc
Created attachment 767653 [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: -- Package 'raqm', required by 'virtual:world', not found -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Could NOT find RAQM (missing: RAQM_INCLUDE_DIR RAQM_LIBRARY) /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: compositor.cpp:(.text+0x5d5): undefined reference to `_obstack_begin' FAILED: supertux2 canvas.cpp:(.text+0x11fe): undefined reference to `_obstack_newchunk' canvas.cpp:(.text+0x143e): undefined reference to `_obstack_newchunk' canvas.cpp:(.text+0x1689): undefined reference to `_obstack_newchunk' canvas.cpp:(.text+0x192e): undefined reference to `_obstack_newchunk' canvas.cpp:(.text+0xe9e): undefined reference to `_obstack_newchunk' canvas.cpp:(.text._ZdlPvR7obstack[_ZdlPvR7obstack]+0x24): undefined reference to `obstack_free' compositor.cpp:(.text+0x593): undefined reference to `obstack_free' compositor.cpp:(.text+0x7c): undefined reference to `_obstack_begin' compositor.cpp:(.text+0xf2): undefined reference to `obstack_free' collect2: error: ld returned 1 exit status
tinderbox_musl has reproduced this issue with version 0.6.3-r2 - Updating summary.
Created attachment 869175 [details, diff] A patch which is working on a musl system Created a patch which allows this package to build on musl. I took a cmake module from some google project (https://kernel.googlesource.com/pub/scm/devel/pahole/pahole/+/refs/heads/master/cmake/modules/Findobstack.cmake). I have only tested this on a musl system but from the description it should work fine on glibc too. Signed-off-by: Henry Ford <fordhenry2299@gmail.com>