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

Bug 99133

Summary: can't emerge app-arch/dpkg 1.10.28 due to patching problem
Product: Gentoo Linux Reporter: daniel <dgorin>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description daniel 2005-07-15 10:41:37 UTC
Can't emerge dpkg 1.10.28 on a dual Xeon 64 EMT box

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge dpkg

Actual Results:  
papita ~ # emerge dpkg
Calculating dependencies ...done!
>>> emerge (1 of 1) app-arch/dpkg-1.10.28 to /
>>> md5 files   ;-) dpkg-1.10.28.ebuild
>>> md5 files   ;-) files/dpkg-1.10.27.gcc4.patch
>>> md5 files   ;-) files/dpkg-1.10.26.patch
>>> md5 files   ;-) files/digest-dpkg-1.10.28
>>> md5 src_uri ;-) dpkg_1.10.28.tar.gz
>>> Unpacking source...
>>> Unpacking dpkg_1.10.28.tar.gz to /var/tmp/portage/dpkg-1.10.28/work
 * Applying dpkg-1.10.26.patch ...                                        [ ok ]
 * 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-12246.out


!!! ERROR: app-arch/dpkg-1.10.28 failed.
!!! Function epatch, Line 359, Exitcode 0
!!! Failed Patch: dpkg-1.10.27.gcc4.patch!
!!! If you need support, post the topmost build error, NOT this status message.

papita ~ # cat /var/tmp/portage/dpkg-1.10.28/temp/dpkg-1.10.27.gcc4.patch-12246.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



dbpkg is required in order to install ghc (since it is used to install ghc-bin)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-15 10:43:16 UTC
Emerge sync before reporting bugs...

*** This bug has been marked as a duplicate of 98500 ***
Comment 2 daniel 2005-07-18 16:54:16 UTC
I'm reopening this bug because it is still not working. 

Since Bug http://bugs.gentoo.org/show_bug.cgi?id=98500 is marked as
Resolved-Fixed, I'm not sure if this is another bug or the former just wasn't
correctly fixed

(And yes, I did an emerge sync *before* reporting the bug :))
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-07-18 22:58:23 UTC
I'll reopen the original bug.

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