Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52543 - Failed Patch: gtkspell-2.0.4-enchant.patch in gtkspell ebuild.
Summary: Failed Patch: gtkspell-2.0.4-enchant.patch in gtkspell ebuild.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-31 03:58 UTC by Kevin Paradine
Modified: 2004-05-31 09:17 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Paradine 2004-05-31 03:58:50 UTC
epatch fails due to malformed patch, that's what it appears to be at least.

Reproducible: Always
Steps to Reproduce:
1.emerge gtkspell
2.
3.

Actual Results:  
kevinw2k root # emerge gtkspell 
Calculating dependencies ...done! 
>>> emerge (1 of 1) app-text/gtkspell-2.0.4-r1 to / 
>>> md5 src_uri ;-) gtkspell-2.0.4.tar.gz 
>>> Unpacking source... 
>>> Unpacking gtkspell-2.0.4.tar.gz to /var/tmp/portage/gtkspell-2.0.4-r1/work 
 * Applying gtkspell-2.0.4-docbookx.patch...                              
[ ok ] 
 * Applying gtkspell-2.0.4-enchant.patch... 
 
 * Failed Patch: gtkspell-2.0.4-enchant.patch! 
 * 
 * Include in your bugreport the contents of: 
 * 
 *   /var/tmp/portage/gtkspell-2.0.4-r1/temp/gtkspell-2.0.4-enchant.patch-26478.out 
 

Expected Results:  
Installed gtkspell 

 
***** gtkspell-2.0.4-enchant.patch ***** 
 
======================================== 
 
PATCH COMMAND:  patch -p0 -g0 
< /usr/portage/app-text/gtkspell/files/gtkspell-2.0.4-enchant.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: 
-------------------------- 
|- AppConfig-1.56.orig/lib/AppConfig/File.pm	2004-02-04 02:28:28.000000000 
-0800 
|+++ AppConfig-1.56/lib/AppConfig/File.pm	2004-05-26 15:54:17.854304993 
-0700 
-------------------------- 
No file to patch.  Skipping patch. 
1 out of 1 hunk ignored 
missing header for unified diff at line 14 of patch 
can't find file to patch at input line 14 
Perhaps you used the wrong -p or --strip option? 
The text leading up to this was: 
-------------------------- 
| 
 
!!! ERROR: app-text/gtkspell-2.0.4-r1 failed. 
!!! Function epatch, Line 322, Exitcode 0 
!!! Failed Patch: gtkspell-2.0.4-enchant.patch! 
 
Portage info: 
 
Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 
2.4.25-gentoo-r2) 
================================================================= 
System uname: 2.4.25-gentoo-r2 i686 AMD Athlon(tm) XP 3000+ 
Gentoo Base System version 1.4.10 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
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="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X alsa apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gnome gpm 
gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls 
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang 
spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 stan 2004-05-31 07:32:57 UTC
the gtkspell-2.0.4-enchant.patch is applied successfully here, have you emerge sync'ed recently?

md5sum match this?
$ md5sum /usr/portage/app-text/gtkspell/files/gtkspell-2.0.4-enchant.patch
2c687dc22e69904275ba8afee73f55a9  /usr/portage/app-text/gtkspell/files/gtkspell-2.0.4-enchant.patch
Comment 2 Kevin Paradine 2004-05-31 08:46:36 UTC
Md5sum 4a28f895930d7b32a504a71603caab82  /usr/portage/app-text/gtkspell/files/gtkspell-2.0.4-enchant.patch

Looks like I have a bad patch file.  Sorry about that.  I had synced right before I reported and I still ended up with a bad patch.  Strange.
Comment 3 Kevin Paradine 2004-05-31 09:17:07 UTC
re-emerging the patch solved the problem.  I learnt something about Portage in the process, so thank you.