Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 581470

Summary: sys-boot/vboot-utils-42_p20150219 with musl - fatal error: execinfo.h: No such file or directory
Product: Gentoo Linux Reporter: Felix Janda <felix.janda>
Component: [OLD] Core systemAssignee: Zac Medico <zmedico>
Status: RESOLVED FIXED    
Severity: normal CC: vapier
Priority: Normal Keywords: InVCS, PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    
Attachments: Upstream patch

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.