Summary: | games-arcade/supertux-0.6.3-r2 fails to compile: ld: compositor.cpp:(.text+0x5d5): undefined reference to _obstack_begin | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | fordhenry2299 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log.xz
A patch which is working on a musl system |
Description
Agostino Sarubbo
2022-03-23 14:59:27 UTC
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> |