Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 446022 - app-emulation/xen-tools-4.2.0-r1 - Failed Patch: ipxe-nopie.patch !
Summary: app-emulation/xen-tools-4.2.0-r1 - Failed Patch: ipxe-nopie.patch !
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ian Delaney (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-05 01:18 UTC by uen
Modified: 2013-12-08 19:42 UTC (History)
1 user (show)

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


Attachments
emerge --info (file_446022.txt,4.63 KB, text/plain)
2012-12-05 01:18 UTC, uen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description uen 2012-12-05 01:18:31 UTC
Created attachment 331476 [details]
emerge --info

xen-tools fails to apply ipxe-nopie.patch

...
 * Applying ipxe-nopie.patch ...

 * Failed Patch: ipxe-nopie.patch !
 *  ( /usr/portage/app-emulation/xen-tools/files/ipxe-nopie.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/app-emulation/xen-tools-4.2.0-r1/temp/ipxe-nopie.patch.out

 * ERROR: app-emulation/xen-tools-4.2.0-r1 failed (prepare phase):
 *   Failed Patch: ipxe-nopie.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 5203:  Called epatch '/usr/portage/app-emulation/xen-tools/files/ipxe-nopie.patch'
 *   environment, line 1747:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
...


ipxe-nopie.patch.out:
***** ipxe-nopie.patch *****
PWD: /var/tmp/portage/app-emulation/xen-tools-4.2.0-r1/work/xen-4.2.0

============================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch  < '/usr/portage/app-emulation/xen-tools/files/ipxe-nopie.patch'

============================
patching file a/tools/firmware/etherboot/patches/ipxe-nopie.patch
can't find file to patch at input line 23
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/tools/firmware/etherboot/patches/series  2011-03-25 11:42:50.000000000 +0100
|+++ b/tools/firmware/etherboot/patches/series  2011-03-27 17:45:45.140446216 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
============================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch  < '/usr/portage/app-emulation/xen-tools/files/ipxe-nopie.patch'

============================
patching file tools/firmware/etherboot/patches/ipxe-nopie.patch
patching file tools/firmware/etherboot/patches/series
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file tools/firmware/etherboot/patches/series.rej

patch program exited with status 1
============================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch  < '/usr/portage/app-emulation/xen-tools/files/ipxe-nopie.patch'

============================
patching file firmware/etherboot/patches/ipxe-nopie.patch
can't find file to patch at input line 23
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/tools/firmware/etherboot/patches/series  2011-03-25 11:42:50.000000000 +0100
|+++ b/tools/firmware/etherboot/patches/series  2011-03-27 17:45:45.140446216 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
============================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch  < '/usr/portage/app-emulation/xen-tools/files/ipxe-nopie.patch'

============================
patching file etherboot/patches/ipxe-nopie.patch
can't find file to patch at input line 23
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/tools/firmware/etherboot/patches/series  2011-03-25 11:42:50.000000000 +0100
|+++ b/tools/firmware/etherboot/patches/series  2011-03-27 17:45:45.140446216 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
============================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch  < '/usr/portage/app-emulation/xen-tools/files/ipxe-nopie.patch'

============================
patching file patches/ipxe-nopie.patch
can't find file to patch at input line 23
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/tools/firmware/etherboot/patches/series  2011-03-25 11:42:50.000000000 +0100
|+++ b/tools/firmware/etherboot/patches/series  2011-03-27 17:45:45.140446216 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1




2nd part of ipxe-nopie.patch should be:

--- a/tools/firmware/etherboot/patches/series   2012-12-05 00:39:43.309807905 +0100
+++ b/tools/firmware/etherboot/patches/series   2012-12-05 00:51:55.765657076 +0100
@@ -2,3 +2,4 @@
 build_fix_1.patch
 build_fix_2.patch
 build_fix_3.patch
+ipxe-nopie.patch

With this change i can build xen-tools-4.2.0-r1.
Comment 1 Hubert Faulhaber 2012-12-16 16:56:30 UTC
Same for me. Proposed change in patch file works for me, as well.
Comment 2 uen 2012-12-17 00:53:00 UTC
xen-tools-4.2.0-r2 is also affected
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2012-12-17 10:56:23 UTC
Thanks uen for the patch to the patch, please test and report it's all good.
Comment 4 uen 2012-12-17 21:32:17 UTC
ipxe-nopie.patch Rev. 1.2 works for me with xen-tools-4.2.0-r1 and xen-tools-4.2.0-r2.