Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27677 - app-misc/rpc-0.97-r1 patch failure: rpc-0.97-factorial-fix.diff.bz2
Summary: app-misc/rpc-0.97-r1 patch failure: rpc-0.97-factorial-fix.diff.bz2
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
: 29269 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-08-31 19:35 UTC by Octavio Ruiz (Ta^3)
Modified: 2003-10-22 12:37 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The patch that fixes the fix ;) (rpc-0.97-factorial-fix.diff.bz2,602 bytes, application/octet-stream)
2003-09-07 14:17 UTC, SpOeK
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Octavio Ruiz (Ta^3) 2003-08-31 19:35:17 UTC
cat /var/tmp/portage/rpc-0.97-r1/temp/rpc-0.97-factorial-fix.di
ff.bz2-31700.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/31700.patch
PATCH COMMAND:  patch  -p0 < /var/tmp/portage/rpc-0.97-r1/temp/31700.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/31700.patch
PATCH COMMAND:  patch  -p4 < /var/tmp/portage/rpc-0.97-r1/temp/31700.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. emerge rsync
2. emerge app-misc/rpc

Actual Results:  
 * 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-25841.out

!!! ERROR: app-misc/rpc-0.97-r1 failed.
!!! Function epatch, Line 321, Exitcode 0
!!! Failed Patch: rpc-0.97-factorial-fix.diff.bz2!

Expected Results:  
>>> app-misc/rpc-0.97-r1 merged.

Portage 2.0.49-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 Pentium III (Coppermine)
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="oss crypt foomaticdb libg++ mad mikmod nls pdflib quicktime spell xml2 gdbm
slang readline tetex java sdl tcpd pam libwww perl python imlib gtk motif opengl
-3dfx -3dnow aalib alsa -apache2 apm -arts avi berkdb cdr cups dga directfb dvd
emacs encode -esd fbcon gif -gnome gpm gtk2 joystick jpeg -kde leim mbox mmx
mozilla mpeg ncurses oggvorbis pda png tiff -qt samba scanner ssl sse svga tcltk
truetype X Xaw3d xmms xv zlib x86 rage128"
Comment 1 SpOeK 2003-09-07 14:17:00 UTC
Created attachment 17235 [details]
The patch that fixes the fix ;)

Hi, this is the factorial-fix.diff.bz2 fixed. You must save the file under the
next location: /usr/portage/app-misc/rpc/files, overwriting the previous file.
It worked for me. Bye!
Comment 2 Xavier Spriet 2003-09-23 19:25:33 UTC
*** Bug 29269 has been marked as a duplicate of this bug. ***
Comment 3 Markus Nigbur (RETIRED) gentoo-dev 2003-10-15 06:11:33 UTC

*** This bug has been marked as a duplicate of 19120 ***
Comment 4 SpOeK 2003-10-15 06:54:39 UTC
This bug is not a duplicate of 19120. It fails yet and hasn't been solved.
My first attachment fixes the problem. I have tried to emerge rpc today:

>>> 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-17343.out


!!! ERROR: app-misc/rpc-0.97-r1 failed.
!!! Function epatch, Line 322, Exitcode 0
!!! Failed Patch: rpc-0.97-factorial-fix.diff.bz2!


Same error reported by Octavio Ruiz (Ta^3)
Comment 5 Octavio Ruiz (Ta^3) 2003-10-15 06:59:34 UTC
This bug is not a duplicate of 19120. It fails yet and hasn't been solved.
Rafael's first attachment fixes the problem. I have tried to emerge rpc today
too

>>> 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-17343.out


!!! ERROR: app-misc/rpc-0.97-r1 failed.
!!! Function epatch, Line 322, Exitcode 0
!!! Failed Patch: rpc-0.97-factorial-fix.diff.bz2!
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2003-10-20 13:05:06 UTC
Everybody try rpc-0.98.  If it works out we can mark it stable and remove
0.97 from portage.
Comment 7 Octavio Ruiz (Ta^3) 2003-10-22 12:37:03 UTC
Before the arrival of "rpc-0.98", this version (rpc-0.97-r1) it will disappear
soon of the portage tree. So I resign myself, I will use rpc-0.98. Thanks
Rafael and Mr. Bones. :D