* updating from commit: f7608a8fc48ad98e6d7227c10cf3786e37c4a2ab * to commit: 1f9dc0bb9d125449eb578dacb0bd3d50885292d6 uzbl from git (checkout January 26th at 10:50 EST) fails showing this message: >>> Unpacked to /var/tmp/portage/www-client/uzbl-9999/work/uzbl-9999 >>> Source unpacked in /var/tmp/portage/www-client/uzbl-9999/work >>> Preparing source in /var/tmp/portage/www-client/uzbl-9999/work/uzbl-9999 ... * Applying uzbl-9999-makefile-cleanup.patch ... * Failed Patch: uzbl-9999-makefile-cleanup.patch ! * ( /usr/portage/www-client/uzbl/files/uzbl-9999-makefile-cleanup.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/www-client/uzbl-9999/temp/uzbl-9999-makefile-cleanup.patch.out * ERROR: www-client/uzbl-9999 failed: * Failed Patch: uzbl-9999-makefile-cleanup.patch! * * Call stack: * ebuild.sh, line 48: Called src_prepare * environment, line 2682: Called epatch '/usr/portage/www-client/uzbl/files/uzbl-9999-makefile-cleanup.patch' * environment, line 1304: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; sorry for not Reproducible: Always
fixed, thanks :) + 27 Jan 2010; Alex Alexander <wired@gentoo.org> uzbl-9999.ebuild, + files/uzbl-9999-makefile-cleanup.patch: + fixed live ebuild && patch - bug 302331
I am still experiencing this problem with ebuild version 1.9 * Messages for package www-client/uzbl-9999: * GIT update --> * repository: git://github.com/Dieterbe/uzbl.git * at the commit: f8d6c936bd4fb3574f93811c6dcfce4b4ee39052 * branch: master * storage directory: "/usr/portage/distfiles/git-src/uzbl" * Failed Patch: uzbl-9999-makefile-cleanup.patch ! * ( /usr/portage/www-client/uzbl/files/uzbl-9999-makefile-cleanup.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/www-client/uzbl-9999/temp/uzbl-9999-makefile-cleanup.patch.out * ERROR: www-client/uzbl-9999 failed: * Failed Patch: uzbl-9999-makefile-cleanup.patch! * * Call stack: * ebuild.sh, line 54: Called src_prepare * environment, line 2679: Called epatch '/usr/portage/www-client/uzbl/files/uzbl-9999-makefile-cleanup.patch' * environment, line 1301: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; * * If you need support, post the output of 'emerge --info =www-client/uzbl-9999', * the complete build log and the output of 'emerge -pqv =www-client/uzbl-9999'. * The complete build log is located at '/var/tmp/portage/www-client/uzbl-9999/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-client/uzbl-9999/temp/environment'. * S: '/var/tmp/portage/www-client/uzbl-9999/work/uzbl-9999' the patch.out: ***** uzbl-9999-makefile-cleanup.patch ***** ============================================ PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < '/usr/portage/www-client/uzbl/files/uzbl-9999-makefile-cleanup.patch' ============================================ patching file Makefile Hunk #2 FAILED at 34. Hunk #3 succeeded at 100 (offset 4 lines). 1 out of 3 hunks FAILED -- saving rejects to file Makefile.rej ============================================ PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < '/usr/portage/www-client/uzbl/files/uzbl-9999-makefile-cleanup.patch' ============================================ can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Makefile.orig 2010-01-27 17:28:15.809737445 +0200 |+++ Makefile 2010-01-27 17:28:12.985756931 +0200 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored ============================================ PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch < '/usr/portage/www-client/uzbl/files/uzbl-9999-makefile-cleanup.patch' ============================================ can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Makefile.orig 2010-01-27 17:28:15.809737445 +0200 |+++ Makefile 2010-01-27 17:28:12.985756931 +0200 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored ============================================ PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < '/usr/portage/www-client/uzbl/files/uzbl-9999-makefile-cleanup.patch' ============================================ can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Makefile.orig 2010-01-27 17:28:15.809737445 +0200 |+++ Makefile 2010-01-27 17:28:12.985756931 +0200 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored ============================================ PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch < '/usr/portage/www-client/uzbl/files/uzbl-9999-makefile-cleanup.patch' ============================================ can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Makefile.orig 2010-01-27 17:28:15.809737445 +0200 |+++ Makefile 2010-01-27 17:28:12.985756931 +0200 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored
The patch breaks from time to time because upstream updates the Makefile. I've adjusted the patch to apply on current git master, thanks :)