Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 441746 - app-emulation/qemu-9999: cannot find $EPATCH_SOURCE having qemu-1.2.0 ${P}
Summary: app-emulation/qemu-9999: cannot find $EPATCH_SOURCE having qemu-1.2.0 ${P}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-04 13:38 UTC by Jeff Kowalczyk
Modified: 2012-11-05 05:32 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge-info.txt,5.66 KB, text/plain)
2012-11-04 13:40 UTC, Jeff Kowalczyk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Kowalczyk 2012-11-04 13:38:20 UTC
qemu-9999 does not find qemu-1.2.0-cflags.patch based on the ${P} specifier. I do not know whether qemu git master still needs this patch or if it applies cleanly, but if so the patch needs a generic filename or the ebuild needs a generic specifier. 

grep cflags /usr/portage/app-emulation/qemu/qemu-9999.ebuild 
        epatch "${FILESDIR}"/${P}-cflags.patch

/usr/portage/app-emulation/qemu/files/qemu-9999-cflags.patch
( qemu-9999-cflags.patch )
ERROR: app-emulation/qemu-9999 failed (prepare phase):
Cannot find $EPATCH_SOURCE!


Reproducible: Always
Comment 1 Jeff Kowalczyk 2012-11-04 13:40:57 UTC
Created attachment 328322 [details]
emerge --info
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2012-11-04 21:58:30 UTC
Fixed in tree.
Comment 3 iGentoo 2012-11-05 03:44:08 UTC
There's a typo in the ebuild.

--- qemu-9999.ebuild
+++ qemu-9999.ebuild
@@ -352,7 +352,7 @@ src_install() {
 	dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
 
 	# Remove iPXE since we're using the iPXE packaged one
-	rm "${ED}/usr/share/qemu/pxe-*.rom"
+	rm "${ED}"/usr/share/qemu/pxe-*.rom
 	dosym ../ipxe/808610de.rom /usr/share/qemu/pxe-e1000.rom
 	dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
 	dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2012-11-05 05:32:14 UTC
Fixed again.