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

Bug 30515

Summary: When doing an emerge -u dhcpcd I get an error about the dry run of the patch working, but applying the patch failed.
Product: Gentoo Linux Reporter: James Zappia <james>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description James Zappia 2003-10-06 15:45:34 UTC
***** dhcpcd-1.3.22_p4.diff.bz2 *****

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

PIPE_COMMAND:  bzip2 -dc /usr/portage/distfiles/dhcpcd-1.3.22_p4.diff.bz2 >
/var/tmp/portage/dhcpcd-1.3.22_p4-r1/temp/23205.patch
PATCH COMMAND:  patch  -p0 < /var/tmp/portage/dhcpcd-1.3.22_p4-r1/temp/23205.patch

=====================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN dhcpcd-1.3.22-pl4.orig/cache.c dhcpcd-1.3.22-pl4/cache.c
|--- dhcpcd-1.3.22-pl4.orig/cache.c     2002-12-30 19:31:08.000000000 -0700
|+++ dhcpcd-1.3.22-pl4/cache.c  2003-09-06 16:08:08.000000000 -0600
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN dhcpcd-1.3.22-pl4.orig/dhcpcd.8 dhcpcd-1.3.22-pl4/dhcpcd.8
|--- dhcpcd-1.3.22-pl4.orig/dhcpcd.8    2002-12-31 18:31:31.000000000 -0700
|+++ dhcpcd-1.3.22-pl4/dhcpcd.8 2003-09-06 16:14:25.000000000 -0600
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
can't find file to patch at input line 72
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN dhcpcd-1.3.22-pl4.orig/dhcpcd.c dhcpcd-1.3.22-pl4/dhcpcd.c
|--- dhcpcd-1.3.22-pl4.orig/dhcpcd.c    2002-12-31 18:26:32.000000000 -0700
|+++ dhcpcd-1.3.22-pl4/dhcpcd.c 2003-09-06 16:11:28.000000000 -0600
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 84
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN dhcpcd-1.3.22-pl4.orig/dhcpconfig.c dhcpcd-1.3.22-pl4/dhcpconfig.c
|--- dhcpcd-1.3.22-pl4.orig/dhcpconfig.c        2002-12-29 15:05:44.000000000 -0700
|+++ dhcpcd-1.3.22-pl4/dhcpconfig.c     2003-09-06 17:05:36.000000000 -0600
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 96
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN dhcpcd-1.3.22-pl4.orig/pathnames.h dhcpcd-1.3.22-pl4/pathnames.h
|--- dhcpcd-1.3.22-pl4.orig/pathnames.h 2002-09-29 09:55:31.000000000 -0600
|+++ dhcpcd-1.3.22-pl4/pathnames.h      2003-09-06 17:05:23.000000000 -0600
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 117
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN dhcpcd-1.3.22-pl4.orig/signals.c dhcpcd-1.3.22-pl4/signals.c
|--- dhcpcd-1.3.22-pl4.orig/signals.c   2002-01-20 15:51:46.000000000 -0700
|+++ dhcpcd-1.3.22-pl4/signals.c        2003-09-06 17:05:54.000000000 -0600
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored
=====================================

PIPE_COMMAND:  bzip2 -dc /usr/portage/distfiles/dhcpcd-1.3.22_p4.diff.bz2 >
/var/tmp/portage/dhcpcd-1.3.22_p4-r1/temp/23205.patch
PATCH COMMAND:  patch  -p1 < /var/tmp/portage/dhcpcd-1.3.22_p4-r1/temp/23205.patch

=====================================
patching file cache.c
patching file dhcpcd.8
Get file dhcpcd.c from Perforce with lock? [y]
patching file dhcpcd.c
patching file dhcpconfig.c
patching file pathnames.h
patching file signals.c
=====================================

ACTUALLY APPLYING dhcpcd-1.3.22_p4.diff.bz2...

=====================================
patching file cache.c
patching file dhcpcd.8
Get file dhcpcd.c from Perforce with lock? [y]
Client 'toolshed' unknown - use 'client' command to create it.
patch: **** Can't get file dhcpcd.c from Perforce

Reproducible: Always
Steps to Reproduce:
1. emerge -u dhcpcd

Actual Results:  
emerge -u dhcpcd
Calculating dependencies ...done!
>>> emerge (1 of 1) net-misc/dhcpcd-1.3.22_p4-r1 to /
>>> md5 src_uri ;-) dhcpcd-1.3.22-pl4.tar.gz
>>> md5 src_uri ;-) dhcpcd-1.3.22_p4.diff.bz2
>>> md5 src_uri ;-) dhcpcd-1.3.22_p4-keepCacheAndResolv.diff.bz2
>>> Unpacking source...
>>> Unpacking dhcpcd-1.3.22-pl4.tar.gz to /var/tmp/portage/dhcpcd-1.3.22_p4-r1/work
>>> Unpacking dhcpcd-1.3.22_p4.diff.bz2 to /var/tmp/portage/dhcpcd-1.3.22_p4-r1/work
>>> Unpacking dhcpcd-1.3.22_p4-keepCacheAndResolv.diff.bz2 to
/var/tmp/portage/dhcpcd-1.3.22_p4-r1/work
 * Applying dhcpcd-1.3.22_p4.diff.bz2...

 * A dry-run of patch command succeeded, but actually
 * applying the patch failed!

 * Failed Patch: dhcpcd-1.3.22_p4.diff.bz2!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/dhcpcd-1.3.22_p4-r1/temp/dhcpcd-1.3.22_p4.diff.bz2-16505.out


!!! ERROR: net-misc/dhcpcd-1.3.22_p4-r1 failed.
!!! Function epatch, Line 354, Exitcode 0
!!! Failed Patch: dhcpcd-1.3.22_p4.diff.bz2!

Expected Results:  
It should have installed the lastest version of dhcpcd.
Comment 1 SpanKY gentoo-dev 2003-10-06 15:53:14 UTC
fixed the ebuild in cvs

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