Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 581470 - sys-boot/vboot-utils-42_p20150219 with musl - fatal error: execinfo.h: No such file or directory
Summary: sys-boot/vboot-utils-42_p20150219 with musl - fatal error: execinfo.h: No suc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords: InVCS, PATCH
Depends on:
Blocks: musl-porting
  Show dependency tree
 
Reported: 2016-04-28 18:52 UTC by Felix Janda
Modified: 2016-05-02 00:54 UTC (History)
1 user (show)

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


Attachments
Upstream patch (vboot-utils-42_p20150219-execinfo.patch,2.74 KB, patch)
2016-04-28 18:52 UTC, Felix Janda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Janda 2016-04-28 18:52:47 UTC
Created attachment 432450 [details, diff]
Upstream patch

As reported by Laine Gholson (you can find emerge --info and complete build log at https://archives.gentoo.org/gentoo-musl/message/ae11c600384656ea575748179fd8d8f9 ) compiling sys-boot/vboot-utils on the musl profiles leads to the compilation error:

firmware/stub/vboot_api_stub_sf.c:8:22: fatal error: execinfo.h: No such file or directory
#include <execinfo.h>
Comment 1 Felix Janda 2016-04-30 05:31:00 UTC
I had forgotten that to make it work, also the ebuild needs to be
modified to pass HAVE_MUSL to make when elibc_musl.
Comment 2 Zac Medico gentoo-dev 2016-05-02 00:49:42 UTC
I've added a new snapshot which includes the upstream patch, and updated the ebuild to pass HAVE_MUSL=1 in the make arguments:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3a0da18e1aa518ac3a3d09691b262b644ac5154
Comment 3 Anthony Basile gentoo-dev 2016-05-02 00:54:56 UTC
fyi, i've broken out libubacktrace from uclibc and will be adding it to the tree.  the work is at https://github.com/blueness/libubacktrace-standalone.  once that's in tree, we can avoid patches like this.