Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302331 - www-client/uzbl-9999 fails to apply cleaunp patch
Summary: www-client/uzbl-9999 fails to apply cleaunp patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alex Alexander (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-26 15:59 UTC by Rodrigo Lazo
Modified: 2010-02-17 07:20 UTC (History)
0 users

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 Rodrigo Lazo 2010-01-26 15:59:39 UTC
*    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
Comment 1 Alex Alexander (RETIRED) gentoo-dev 2010-01-27 15:36:12 UTC
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
Comment 2 Tom Gillespie 2010-02-14 00:41:58 UTC
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
Comment 3 Alex Alexander (RETIRED) gentoo-dev 2010-02-17 07:20:17 UTC
The patch breaks from time to time because upstream updates the Makefile.

I've adjusted the patch to apply on current git master, thanks :)