/usr/bin/x86_64-gentoo-linux-musl-gcc -DDISABLE_RF -DHAVE_MBEDTLS -Ilib/include -I/var/tmp/portage/net-wireless/srslte-19.09/work/srslte-19.09/lib/include -DNDEBUG -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-comment -Wno-write-strings -Winline -Wno-unused-result -Wformat -Wmissing-field-initializers -Wtype-limits -std=c99 -D_GNU_SOURCE -O3 -fno-trapping-math -fno-math-errno -DBUILD_TYPE_RELEASE -march=native -mfpmath=sse -mavx2 -DLV_HAVE_AVX2 -DLV_HAVE_AVX -DLV_HAVE_SSE -mfma -DLV_HAVE_FMA -Ofast -funroll-loops -fPIC -Werror=incompatible-pointer-types -MD -MT lib/src/common/CMakeFiles/srslte_common.dir/backtrace.c.o -MF lib/src/common/CMakeFiles/srslte_common.dir/backtrace.c.o.d -o lib/src/common/CMakeFiles/srslte_common.dir/backtrace.c.o -c /var/tmp/portage/net-wireless/srslte-19.09/work/srslte-19.09/lib/src/common/backtrace.c /var/tmp/portage/net-wireless/srslte-19.09/work/srslte-19.09/lib/src/common/backtrace.c:21:10: fatal error: execinfo.h: No such file or directory 21 | #include <execinfo.h> | ^~~~~~~~~~~~ compilation terminated. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200316-165821 ------------------------------------------------------------------- gcc-config -l: [1] 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-1.41.1 * timestamp of HEAD at this tinderbox image: /var/db/repos/gentoo Fri Mar 20 18:09:00 UTC 2020 /var/db/repos/musl Wed Mar 18 03:21:45 UTC 2020 emerge -qpvO net-wireless/srslte [ebuild N ] net-wireless/srslte-19.09 USE="-bladerf -simcard -soapysdr -uhd -zeromq"
Created attachment 623414 [details] emerge-info.txt
Created attachment 623416 [details] emerge-history.txt
Created attachment 623418 [details] environment
Created attachment 623420 [details] etc.portage.tbz2
Created attachment 623422 [details] logs.tbz2
Created attachment 623424 [details] net-wireless:srslte-19.09:20200320-191454.log
Created attachment 623426 [details] temp.tbz2
I appreciate the musl team doing this kind of testing, but maybe to link me to something like what do do about it? At this point the only thing I can do it tell upstream "btw, did you know this only builds with glibc" and that doesn't seem useful.
The problem boils down to a lack of 'backtrace' support in musl-libc. There are a couple of 'stock' responses to this issue, and I'll try to follow-up with a link/two in due course. One approach is to port this functionality to something more portable/generic, such as libunwind, which is encouraged. In the meantime, some form of disabling this functionality, possibly with some 'ifdef' guards, usually suffices as an 'unblocker'. Again, will add some further tips on this in a follow-up comment.
(In reply to Rick Farina (Zero_Chaos) from comment #8) > I appreciate the musl team doing this kind of testing, but maybe to link me > to something like what do do about it? At this point the only thing I can > do it tell upstream "btw, did you know this only builds with glibc" and that > doesn't seem useful. Yeah the blocker bug has some handy starting points here .. https://bugs.gentoo.org/716422#c0 From upstream: https://www.openwall.com/lists/musl/2015/04/09/2 HTH
Here is a recent example of similar problem in ::gentoo, for reference - https://archives.gentoo.org/gentoo-dev/message/c693693cfc02e1f5e24005f0f5534bb9
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcb9defbdf0e7ce88f73475e4b553403239a7b35 commit dcb9defbdf0e7ce88f73475e4b553403239a7b35 Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2022-04-15 13:04:14 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2022-04-15 13:07:21 +0000 net-wireless/srslte: treeclean Closes: https://bugs.gentoo.org/733662 Closes: https://bugs.gentoo.org/713684 Closes: https://bugs.gentoo.org/731720 Closes: https://bugs.gentoo.org/832618 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> net-wireless/srslte/Manifest | 1 - .../files/srslte-20.10.1-add-missing-include.patch | 26 ---------- net-wireless/srslte/metadata.xml | 18 ------- net-wireless/srslte/srslte-20.10.1-r2.ebuild | 60 ---------------------- net-wireless/srslte/srslte-9999.ebuild | 56 -------------------- profiles/package.mask | 1 - 6 files changed, 162 deletions(-)