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

Bug 543838

Summary: sys-boot/efibootmgr fails to compile against musl
Product: Gentoo Linux Reporter: Travis Tilley <ttilley>
Component: HardenedAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: blueness, floppym
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 556876    
Bug Blocks: 430702    
Attachments: fix compilation against musl

Description Travis Tilley 2015-03-20 03:11:02 UTC
Created attachment 399296 [details, diff]
fix compilation against musl

efibootmgr fails to compile under musl due to `sys/pci.h` not existing in a musl install. using `linux/pci.h` fixes the issue. attaches is a patch against hardened-dev musl branch.
Comment 1 Felix Janda 2015-03-21 08:46:13 UTC
Patch sent upstream:

https://github.com/rhinstaller/efibootmgr/pull/25
Comment 2 Anthony Basile gentoo-dev 2015-05-13 17:42:23 UTC
(In reply to Travis Tilley from comment #0)
> Created attachment 399296 [details, diff] [details, diff]
> fix compilation against musl
> 
> efibootmgr fails to compile under musl due to `sys/pci.h` not existing in a
> musl install. using `linux/pci.h` fixes the issue. attaches is a patch
> against hardened-dev musl branch.

i've added this to the overlay until it trickles down from upstream.
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-08-06 19:02:15 UTC
the comments on the PR and a small perusal of the code it looks to be fixed in 0.12