Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713684 - net-wireless/srslte-19.09 : /.../backtrace.c: fatal error: execinfo.h: No such file or directory
Summary: net-wireless/srslte-19.09 : /.../backtrace.c: fatal error: execinfo.h: No suc...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: missing-musl-includes 716422
  Show dependency tree
 
Reported: 2020-03-20 20:14 UTC by Toralf Förster
Modified: 2020-07-24 22:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.58 KB, text/plain)
2020-03-20 20:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,208.46 KB, text/plain)
2020-03-20 20:14 UTC, Toralf Förster
Details
environment (environment,91.85 KB, text/plain)
2020-03-20 20:14 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.33 KB, application/x-bzip)
2020-03-20 20:14 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.59 KB, application/x-bzip)
2020-03-20 20:14 UTC, Toralf Förster
Details
net-wireless:srslte-19.09:20200320-191454.log (net-wireless:srslte-19.09:20200320-191454.log,25.11 KB, text/plain)
2020-03-20 20:14 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.64 KB, application/x-bzip)
2020-03-20 20:14 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-03-20 20:14:03 UTC
/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"
Comment 1 Toralf Förster gentoo-dev 2020-03-20 20:14:06 UTC
Created attachment 623414 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-20 20:14:08 UTC
Created attachment 623416 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-20 20:14:11 UTC
Created attachment 623418 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-20 20:14:14 UTC
Created attachment 623420 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-20 20:14:17 UTC
Created attachment 623422 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-20 20:14:19 UTC
Created attachment 623424 [details]
net-wireless:srslte-19.09:20200320-191454.log
Comment 7 Toralf Förster gentoo-dev 2020-03-20 20:14:22 UTC
Created attachment 623426 [details]
temp.tbz2
Comment 8 Rick Farina (Zero_Chaos) gentoo-dev 2020-07-23 16:04:48 UTC
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.
Comment 9 Michael 'veremitz' Everitt 2020-07-24 14:07:34 UTC
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.
Comment 10 Michael 'veremitz' Everitt 2020-07-24 22:32:03 UTC
(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
Comment 11 Michael 'veremitz' Everitt 2020-07-24 22:37:58 UTC
Here is a recent example of similar problem in ::gentoo, for reference - https://archives.gentoo.org/gentoo-dev/message/c693693cfc02e1f5e24005f0f5534bb9