Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478710 - app-emulation/libvirt-1.1.0-r4: 0014-maint-update-to-latest-gnulib.patch fails
Summary: app-emulation/libvirt-1.1.0-r4: 0014-maint-update-to-latest-gnulib.patch fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-30 02:47 UTC by Patrick Lauer
Modified: 2013-07-30 13:19 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2013-07-30 02:47:20 UTC
>>> Preparing source in /chroot/build/portage/app-emulation/libvirt-1.1.0-r4/work/libvirt-1.1.0 ...
 * Applying various patches (bugfixes/updates) ...
 *   0001-build-avoid-build-failure-without-gnutls.patch ...                                                                                                                                                                          [ ok ]
 *   0002-build-configure-must-not-affect-tarball-contents.patch ...                                                                                                                                                                  [ ok ]
 *   0003-qemu-fix-return-value-of-qemuDomainBlockPivot-on-err.patch ...                                                                                                                                                              [ ok ]
 *   0004-qemuNodeDeviceDetachFlags-Avoid-use-of-uninitialized.patch ...                                                                                                                                                              [ ok ]
 *   0005-build-work-around-mingw-header-pollution.patch ...                                                                                                                                                                          [ ok ]
 *   0006-build-don-t-ship-access-syms-files-in-tarball.patch ...                                                                                                                                                                     [ ok ]
 *   0007-scsi-Fix-construction-of-sysfs-device-path.patch ...                                                                                                                                                                        [ ok ]
 *   0008-Unlock-the-storage-volume-object-after-looking-it-up.patch ...                                                                                                                                                              [ ok ]
 *   0009-qemu-fix-double-free-in-qemuMigrationPrepareDirect.patch ...                                                                                                                                                                [ ok ]
 *   0010-Fix-crash-when-multiple-event-callbacks-were-registe.patch ...                                                                                                                                                              [ ok ]
 *   0011-storage-return-1-when-fs-pool-can-t-be-mounted.patch ...                                                                                                                                                                    [ ok ]
 *   0012-qemu-Prevent-crash-of-libvirtd-without-guest-agent-c.patch ...                                                                                                                                                              [ ok ]
 *   0013-qemu-Fix-double-free-of-returned-JSON-array-in-qemuA.patch ...                                                                                                                                                              [ ok ]
 *   0014-maint-update-to-latest-gnulib.patch ...

 * Failed Patch: 0014-maint-update-to-latest-gnulib.patch !
 *  ( /chroot/build/portage/app-emulation/libvirt-1.1.0-r4/work/libvirt-1.1.0/patches/0014-maint-update-to-latest-gnulib.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /chroot/build/portage/app-emulation/libvirt-1.1.0-r4/temp/0014-maint-update-to-latest-gnulib.patch.out

 * ERROR: app-emulation/libvirt-1.1.0-r4::gentoo failed (prepare phase):
 *   Failed Patch: 0014-maint-update-to-latest-gnulib.patch!

***** 0014-maint-update-to-latest-gnulib.patch *****
PWD: /chroot/build/portage/app-emulation/libvirt-1.1.0-r4/work/libvirt-1.1.0

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

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch  < '/chroot/build/portage/app-emulation/libvirt-1.1.0-r4/work/libvirt-1.1.0/patches/0014-maint-update-to-latest-gnulib.patch'

====================================================
can't find file to patch at input line 27
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From 47e2fbb5595ff1b6996f75b0153d6305c8c9d5a1 Mon Sep 17 00:00:00 2001
|From: Eric Blake <eblake@redhat.com>
|Date: Tue, 2 Jul 2013 17:26:42 -0600
|Subject: [PATCH 14/27] maint: update to latest gnulib
|
|The latest mingw headers on Fedora 19 fail to build with gnulib
|without an update.
|
|Meanwhile, now that upstream gnulib has better handling of -W
|probing for clang, we can drop some of our own solutions in
|favor of upstream; thus this reverts commit c1634100, "Correctly
|detect warning flags with clang".
|
|* .gnulib: Update to latest, for mingw and clang.
|
|Signed-off-by: Eric Blake <eblake@redhat.com>
|(cherry picked from commit cdd703f4758facf37bda891deacd561816926e75)
|---
| .gnulib                     |  2 +-
| m4/virt-compile-warnings.m4 | 22 ----------------------
| 2 files changed, 1 insertion(+), 23 deletions(-)
|
|diff --git a/.gnulib b/.gnulib
|index a363f4e..f40e61e 160000
|--- a/.gnulib
|+++ b/.gnulib
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 34
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/m4/virt-compile-warnings.m4 b/m4/virt-compile-warnings.m4
|index ce4e244..c6794b7 100644
|--- a/m4/virt-compile-warnings.m4
|+++ b/m4/virt-compile-warnings.m4
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored

patch program exited with status 1
[snip]
etc. etc.
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2013-07-30 13:19:56 UTC
Yeah mistake on my part, fixed in tree.