Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 543838 - sys-boot/efibootmgr fails to compile against musl
Summary: sys-boot/efibootmgr fails to compile against musl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on: 556876
Blocks: musl-porting
  Show dependency tree
 
Reported: 2015-03-20 03:11 UTC by Travis Tilley
Modified: 2015-09-24 14:53 UTC (History)
2 users (show)

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


Attachments
fix compilation against musl (0001-sys-boot-efibootmgr-fix-compilation-with-musl.patch,3.88 KB, patch)
2015-03-20 03:11 UTC, Travis Tilley
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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