Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 99738

Summary: error while 'emerge -1O dpkg' with "failed to apply patch"
Product: Gentoo Linux Reporter: tiago caxias <tcx.taliesin>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: trivial    
Priority: High    
Version: 2005.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description tiago caxias 2005-07-20 17:23:01 UTC
* Applying dpkg-1.10.27.gcc4.patch ...

 * Failed Patch: dpkg-1.10.27.gcc4.patch !
 *  ( /usr/portage/app-arch/dpkg/files/dpkg-1.10.27.gcc4.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/dpkg-1.10.28/temp/dpkg-1.10.27.gcc4.patch-30892.out
************************************************************************

***** dpkg-1.10.27.gcc4.patch *****

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

PATCH COMMAND:  patch -p0 -g0 --no-backup-if-mismatch <
/usr/portage/app-arch/dpkg/files/dpkg-1.10.27.gcc4.patch

===================================
patching file lib/parse.c
Hunk #1 FAILED at 39.
1 out of 3 hunks FAILED -- saving rejects to file lib/parse.c.rej
===================================

PATCH COMMAND:  patch -p1 -g0 --no-backup-if-mismatch <
/usr/portage/app-arch/dpkg/files/dpkg-1.10.27.gcc4.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:
--------------------------
|--- lib/parse.c.orig   2005-07-07 18:51:15.000000000 +0200
|+++ lib/parse.c        2005-07-07 18:53:35.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
===================================

PATCH COMMAND:  patch -p2 -g0 --no-backup-if-mismatch <
/usr/portage/app-arch/dpkg/files/dpkg-1.10.27.gcc4.patch

===================================
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:
--------------------------
|--- lib/parse.c.orig   2005-07-07 18:51:15.000000000 +0200
|+++ lib/parse.c        2005-07-07 18:53:35.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
===================================

PATCH COMMAND:  patch -p3 -g0 --no-backup-if-mismatch <
/usr/portage/app-arch/dpkg/files/dpkg-1.10.27.gcc4.patch

===================================
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:
--------------------------
|--- lib/parse.c.orig   2005-07-07 18:51:15.000000000 +0200
|+++ lib/parse.c        2005-07-07 18:53:35.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
===================================

PATCH COMMAND:  patch -p4 -g0 --no-backup-if-mismatch <
/usr/portage/app-arch/dpkg/files/dpkg-1.10.27.gcc4.patch

===================================
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:
--------------------------
|--- lib/parse.c.orig   2005-07-07 18:51:15.000000000 +0200
|+++ lib/parse.c        2005-07-07 18:53:35.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-21 07:09:28 UTC
Please, emerge sync and try again. Reopen if the patch still does not work then.

*** This bug has been marked as a duplicate of 98500 ***