[ 82%] Building C object src/CMakeFiles/glyrc.dir/glyrc/glyrc.c.o cd /var/tmp/portage/media-libs/glyr-1.0.10/work/glyr-1.0.10_build/src && /usr/bin/x86_64-gentoo-linux-musl-gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -std=c99 -Wall -Wextra -Wstrict-prototypes -W -Wno-unused-parameter -Wno-strict-prototypes -fvisibility=hidden -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -o CMakeFiles/glyrc.dir/glyrc/glyrc.c.o -c /var/tmp/portage/media-libs/glyr-1.0.10/work/glyr-1.0.10/src/glyrc/glyrc.c /var/tmp/portage/media-libs/glyr-1.0.10/work/glyr-1.0.10/src/glyrc/glyrc.c:29:10: fatal error: execinfo.h: No such file or directory 29 | #include <execinfo.h> | ^~~~~~~~~~~~ compilation terminated. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200311-204810 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-9.2.0 * [2] x86_64-gentoo-linux-musl-9.3.0 clang version 10.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-bin-1.41.1 [2] rust-1.41.1 * The following VMs are available for generation-2: repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Sun, 15 Mar 2020 07:39:00 +0000 emerge -qpvO media-libs/glyr [ebuild N ] media-libs/glyr-1.0.10
Created attachment 619616 [details] emerge-info.txt
Created attachment 619618 [details] emerge-history.txt
Created attachment 619620 [details] environment
Created attachment 619622 [details] etc.portage.tbz2
Created attachment 619624 [details] logs.tbz2
Created attachment 619626 [details] media-libs:glyr-1.0.10:20200315-083008.log
Created attachment 619628 [details] temp.tbz2
The first attempt to tinderbox a musl image failed at all. I'll mass close therefore all filed bug reports of the last days related to this tinderbox image. Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.
tinderbox_musl has reproduced this issue with version 1.0.10-r1 - Updating summary.
I was able to successfully build on Musl with the following patches from Void: --- a/src/glyrc/glyrc.c.original +++ b/src/glyrc/glyrc.c @@ -24,7 +24,7 @@ #include <glib.h> #include <glib/gstdio.h> -#ifdef __linux__ +#ifdef __GLIBC__ /* Backtrace*/ #include <execinfo.h> #endif @@ -102,7 +102,7 @@ //////////////////////////////////////////////////////////////// -#ifdef __linux__ +#ifdef __GLIBC__ #define STACK_FRAME_SIZE 20 /* Obtain a backtrace and print it to stdout. */ @@ -141,7 +141,7 @@ cvprint (DEFAULT," It would be just natural to blame us now, so just visit <https://github.com/sahib/glyr/issues>\n"); cvprint (DEFAULT," and throw hard words like 'backtrace', 'bug report' or even the '$(command I issued' at them).\n"); cvprint (DEFAULT," The libglyr developers will try to fix it as soon as possible so please stop pulling their hair.\n"); -#ifdef __linux__ +#ifdef __GLIBC__ cvprint (DEFAULT,"\nA list of the last called functions follows, please add this to your report:\n"); print_trace(); #endif Index: CMakeLists.txt =================================================================== --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,7 +60,6 @@ exec_program( IF(CMAKE_BUILD_TYPE STREQUAL "debug") SET(GLYR_DEBUG TRUE) ELSE() - SET(CMAKE_BUILD_TYPE "release") SET(GLYR_DEBUG FALSE) ENDIF() MESSAGE("-- Building Target: ${CMAKE_BUILD_TYPE}")