Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284818 - www-client/elinks-0.11.7 - patch fails
Summary: www-client/elinks-0.11.7 - patch fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
: 285114 285123 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-13 20:19 UTC by Maciej Piechotka
Modified: 2009-09-15 20:16 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 Maciej Piechotka 2009-09-13 20:19:34 UTC
* Applying elinks-0.10.4.conf-syscharset.diff ...

 * Failed Patch: elinks-0.10.4.conf-syscharset.diff !
 *  ( /usr/portage/www-client/elinks/files/elinks-0.10.4.conf-syscharset.diff )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/paludis/www-client-elinks-0.11.7/temp//elinks-0.10.4.conf-syscharset.diff-6025.out


Reproducible: Always

Steps to Reproduce:

Actual Results:  
***** elinks-0.10.4.conf-syscharset.diff *****

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

PATCH COMMAND:	 patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/www-client/elinks/files/elinks-0.10.4.conf-syscharset.diff

==============================================
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:
--------------------------
|--- elinks-0.10.4.conf	2005-04-08 15:29:49.000000000 -0700
|+++ elinks-0.10.4-syscharset.conf	2006-11-04 00:26:26.000000000 -0800
--------------------------
No file to patch.  Skipping patch.
8 out of 8 hunks ignored
==============================================

PATCH COMMAND:	 patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/www-client/elinks/files/elinks-0.10.4.conf-syscharset.diff

==============================================
missing header for unified diff at line 3 of 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:
--------------------------
|--- elinks-0.10.4.conf	2005-04-08 15:29:49.000000000 -0700
|+++ elinks-0.10.4-syscharset.conf	2006-11-04 00:26:26.000000000 -0800
--------------------------
No file to patch.  Skipping patch.
8 out of 8 hunks ignored
==============================================

PATCH COMMAND:	 patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/www-client/elinks/files/elinks-0.10.4.conf-syscharset.diff

==============================================
missing header for unified diff at line 3 of 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:
--------------------------
|--- elinks-0.10.4.conf	2005-04-08 15:29:49.000000000 -0700
|+++ elinks-0.10.4-syscharset.conf	2006-11-04 00:26:26.000000000 -0800
--------------------------
No file to patch.  Skipping patch.
8 out of 8 hunks ignored
==============================================

PATCH COMMAND:	 patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/www-client/elinks/files/elinks-0.10.4.conf-syscharset.diff

==============================================
missing header for unified diff at line 3 of 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:
--------------------------
|--- elinks-0.10.4.conf	2005-04-08 15:29:49.000000000 -0700
|+++ elinks-0.10.4-syscharset.conf	2006-11-04 00:26:26.000000000 -0800
--------------------------
No file to patch.  Skipping patch.
8 out of 8 hunks ignored
==============================================

PATCH COMMAND:	 patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/www-client/elinks/files/elinks-0.10.4.conf-syscharset.diff

==============================================
missing header for unified diff at line 3 of 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:
--------------------------
|--- elinks-0.10.4.conf	2005-04-08 15:29:49.000000000 -0700
|+++ elinks-0.10.4-syscharset.conf	2006-11-04 00:26:26.000000000 -0800
--------------------------
No file to patch.  Skipping patch.
8 out of 8 hunks ignored
Comment 1 Wormo (RETIRED) gentoo-dev 2009-09-13 22:57:33 UTC
Looks like a bug crept in when converting to EAPI 2... the code that migrated from src_unpack() to src_prepare() is now starting from a different directory. Adding 'cd ${WORKDIR}' to the top of src_prepare() ought to fix it.
Comment 2 Martin Jansa 2009-09-14 08:35:13 UTC
(In reply to comment #1)
> Looks like a bug crept in when converting to EAPI 2... the code that migrated
> from src_unpack() to src_prepare() is now starting from a different directory.
> Adding 'cd ${WORKDIR}' to the top of src_prepare() ought to fix it.

You're right, with 'cd ${WORKDIR}' compiled fine here.
Comment 3 allein 2009-09-14 19:01:25 UTC
Same here.
Comment 4 Rebecca Menessec 2009-09-15 15:49:04 UTC
(In reply to comment #1)
> Looks like a bug crept in when converting to EAPI 2... the code that migrated
> from src_unpack() to src_prepare() is now starting from a different directory.
> Adding 'cd ${WORKDIR}' to the top of src_prepare() ought to fix it.
> 

Reproduced, confirmed, fixed with suggested change.
Comment 5 Michal Januszewski (RETIRED) gentoo-dev 2009-09-15 16:13:26 UTC
This should now be fixed in CVS.  Thanks!
Comment 6 Sebastian Luther (few) 2009-09-15 17:58:26 UTC
*** Bug 285114 has been marked as a duplicate of this bug. ***
Comment 7 Sebastian Luther (few) 2009-09-15 20:16:59 UTC
*** Bug 285123 has been marked as a duplicate of this bug. ***