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

Bug 29269

Summary: RPC ebuild fails to apply patch (factorial diff)
Product: Gentoo Linux Reporter: Xavier Spriet <xavier>
Component: New packagesAssignee: George Shapovalov (RETIRED) <george>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Xavier Spriet 2003-09-21 08:31:20 UTC
Attempting to 'emerge rpc'
Here is the content of my
/var/tmp/portage/rpc-0.97-r1/temp/rpc-0.97-factorial-fix.diff.bz2-2928.out:

***** rpc-0.97-factorial-fix.diff.bz2 *****
 
===========================================
 
PIPE_COMMAND:  bzip2 -dc
/usr/portage/app-misc/rpc/files/rpc-0.97-factorial-fix.diff.bz2 >
/var/tmp/portage/rpc-0.97-r1/temp/2928.patch
PATCH COMMAND:  patch -g0 -p0 < /var/tmp/portage/rpc-0.97-r1/temp/2928.patch
 
===========================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: rpc/ChangeLog
|diff -u rpc/ChangeLog:1.1.1.1 rpc/ChangeLog:1.2
|--- rpc/ChangeLog:1.1.1.1       Thu Apr 10 16:28:24 2003
|+++ rpc/ChangeLog       Thu Apr 10 16:48:12 2003
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 30
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: rpc/src/RpcInterface.cpp
|diff -u rpc/src/RpcInterface.cpp:1.1.1.1 rpc/src/RpcInterface.cpp:1.2
|--- rpc/src/RpcInterface.cpp:1.1.1.1    Thu Apr 10 16:28:24 2003
|+++ rpc/src/RpcInterface.cpp    Thu Apr 10 16:46:12 2003
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
===========================================
 
PIPE_COMMAND:  bzip2 -dc
/usr/portage/app-misc/rpc/files/rpc-0.97-factorial-fix.diff.bz2 >
/var/tmp/portage/rpc-0.97-r1/temp/2928.patch
PATCH COMMAND:  patch -g0 -p1 < /var/tmp/portage/rpc-0.97-r1/temp/2928.patch
 
===========================================
patching file ChangeLog
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 30.
2 out of 2 hunks FAILED -- saving rejects to file ChangeLog.rej
patching file src/RpcInterface.cpp
===========================================
 
PIPE_COMMAND:  bzip2 -dc
/usr/portage/app-misc/rpc/files/rpc-0.97-factorial-fix.diff.bz2 >
/var/tmp/portage/rpc-0.97-r1/temp/2928.patch
PATCH COMMAND:  patch -g0 -p2 < /var/tmp/portage/rpc-0.97-r1/temp/2928.patch
 
===========================================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: rpc/ChangeLog
|diff -u rpc/ChangeLog:1.1.1.1 rpc/ChangeLog:1.2
|--- rpc/ChangeLog:1.1.1.1       Thu Apr 10 16:28:24 2003
|+++ rpc/ChangeLog       Thu Apr 10 16:48:12 2003
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 30
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: rpc/src/RpcInterface.cpp
|diff -u rpc/src/RpcInterface.cpp:1.1.1.1 rpc/src/RpcInterface.cpp:1.2
|--- rpc/src/RpcInterface.cpp:1.1.1.1    Thu Apr 10 16:28:24 2003
|+++ rpc/src/RpcInterface.cpp    Thu Apr 10 16:46:12 2003
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
===========================================
 
PIPE_COMMAND:  bzip2 -dc
/usr/portage/app-misc/rpc/files/rpc-0.97-factorial-fix.diff.bz2 >
/var/tmp/portage/rpc-0.97-r1/temp/2928.patch
PATCH COMMAND:  patch -g0 -p3 < /var/tmp/portage/rpc-0.97-r1/temp/2928.patch
 
===========================================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: rpc/ChangeLog
|diff -u rpc/ChangeLog:1.1.1.1 rpc/ChangeLog:1.2
|--- rpc/ChangeLog:1.1.1.1       Thu Apr 10 16:28:24 2003
|+++ rpc/ChangeLog       Thu Apr 10 16:48:12 2003
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
missing header for unified diff at line 30 of patch
can't find file to patch at input line 30
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: rpc/src/RpcInterface.cpp
|diff -u rpc/src/RpcInterface.cpp:1.1.1.1 rpc/src/RpcInterface.cpp:1.2
|--- rpc/src/RpcInterface.cpp:1.1.1.1    Thu Apr 10 16:28:24 2003
|+++ rpc/src/RpcInterface.cpp    Thu Apr 10 16:46:12 2003
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
===========================================
 
PIPE_COMMAND:  bzip2 -dc
/usr/portage/app-misc/rpc/files/rpc-0.97-factorial-fix.diff.bz2 >
/var/tmp/portage/rpc-0.97-r1/temp/2928.patch
PATCH COMMAND:  patch -g0 -p4 < /var/tmp/portage/rpc-0.97-r1/temp/2928.patch
 
===========================================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: rpc/ChangeLog
|diff -u rpc/ChangeLog:1.1.1.1 rpc/ChangeLog:1.2
|--- rpc/ChangeLog:1.1.1.1       Thu Apr 10 16:28:24 2003
|+++ rpc/ChangeLog       Thu Apr 10 16:48:12 2003
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
missing header for unified diff at line 30 of patch
can't find file to patch at input line 30
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: rpc/src/RpcInterface.cpp
|diff -u rpc/src/RpcInterface.cpp:1.1.1.1 rpc/src/RpcInterface.cpp:1.2
|--- rpc/src/RpcInterface.cpp:1.1.1.1    Thu Apr 10 16:28:24 2003
|+++ rpc/src/RpcInterface.cpp    Thu Apr 10 16:46:12 2003
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

Reproducible: Always
Steps to Reproduce:
1.unmerge rpc && emerge rpc
2.
3.

Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 1) app-misc/rpc-0.97-r1 to /
>>> md5 src_uri ;-) rpc-0.97.tar.gz
>>> Unpacking source...
>>> Unpacking rpc-0.97.tar.gz to /var/tmp/portage/rpc-0.97-r1/work
>>> Source unpacked.
 * Applying rpc-0.97-factorial-fix.diff.bz2...
 
 * Failed Patch: rpc-0.97-factorial-fix.diff.bz2!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/rpc-0.97-r1/temp/rpc-0.97-factorial-fix.diff.bz2-2123.out
 
 
!!! ERROR: app-misc/rpc-0.97-r1 failed.
!!! Function epatch, Line 322, Exitcode 0
!!! Failed Patch: rpc-0.97-factorial-fix.diff.bz2!

Expected Results:  
RPC install
Comment 1 Xavier Spriet 2003-09-23 19:25:33 UTC

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