Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 575044 - =app-emulation/xen-tools-4.6.1 fails to build with USE='-ovmf'
Summary: =app-emulation/xen-tools-4.6.1 fails to build with USE='-ovmf'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-18 13:42 UTC by Austin S. Hemmelgarn
Modified: 2016-02-18 20:57 UTC (History)
1 user (show)

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


Attachments
Patch to fix xen-tools-4.6.1.ebuild (file_575044.txt,540 bytes, text/plain)
2016-02-18 13:42 UTC, Austin S. Hemmelgarn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Austin S. Hemmelgarn 2016-02-18 13:42:09 UTC
Created attachment 425782 [details]
Patch to fix xen-tools-4.6.1.ebuild

I discovered this on a hardened 64-bit system, but it affect all profiles because it's a bug in the ebuild.  At some point, the following line:

mv ../ovmf-${OVMF_PV} tools/firmware/ovmf-dir-remote || die

got moved out of the conditional section in src_prepare that was preventing it from being executed when USE='-ovmf'.  This causes the ebuild to fail during src_prepare because ../ovmf-${OVMF_PV} doesn't exist if USE='-ovmf'

I've attached a patch that reverts this change and makes the build work again.