Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31179 - gforth-0.6.2 emerging failed in epatch()
Summary: gforth-0.6.2 emerging failed in epatch()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-14 23:01 UTC by Park Jong-young
Modified: 2003-10-15 18:49 UTC (History)
0 users

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


Attachments
patch for gforth-0.6.2.ebuild (gforth-ebuild.patch,306 bytes, patch)
2003-10-14 23:24 UTC, Park Jong-young
Details | Diff
patch for the patch file. :-) (gforth.el-gentoo.patch.patch,584 bytes, patch)
2003-10-15 00:09 UTC, James Harlow (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Park Jong-young 2003-10-14 23:01:49 UTC
In 'emerge -u gforth', emerge put out error message.
That means gforth.el-gentoo.patch patch failed.


Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge -u gforth


Actual Results:  
Portage put out following error :

-----------------------------------------
!!! ERROR: dev-lang/gforth-0.6.2 failed.
!!! Function epatch, Line 354, Exitcode 0
!!! Failed Patch: gforth.el-gentoo.patch!
-----------------------------------------



And, following "/var/tmp/portage/gforth-0.6.2/temp/gforth.el-gentoo.patch-
20271.out"





***** gforth.el-gentoo.patch *****

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

PATCH COMMAND:  patch  -p0 < /usr/portage/dev-lang/gforth/files/gforth.el-
gentoo.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:
-------------------------- 
|--- gforth.el  2003-03-09 09:05:33.000000000 -0600
|+++ gforth.el~ 2003-04-02 04:34:42.000000000 -0600
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
==================================

PATCH COMMAND:  patch  -p1 < /usr/portage/dev-lang/gforth/files/gforth.el-
gentoo.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:
--------------------------
|--- gforth.el  2003-03-09 09:05:33.000000000 -0600
|+++ gforth.el~ 2003-04-02 04:34:42.000000000 -0600
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
==================================

PATCH COMMAND:  patch  -p2 < /usr/portage/dev-lang/gforth/files/gforth.el-
gentoo.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:
--------------------------
|--- gforth.el  2003-03-09 09:05:33.000000000 -0600
|+++ gforth.el~ 2003-04-02 04:34:42.000000000 -0600
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
==================================

PATCH COMMAND:  patch  -p3 < /usr/portage/dev-lang/gforth/files/gforth.el-
gentoo.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:
--------------------------
|--- gforth.el  2003-03-09 09:05:33.000000000 -0600
|+++ gforth.el~ 2003-04-02 04:34:42.000000000 -0600
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
==================================

PATCH COMMAND:  patch  -p4 < /usr/portage/dev-lang/gforth/files/gforth.el-
gentoo.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:
--------------------------
|--- gforth.el  2003-03-09 09:05:33.000000000 -0600
|+++ gforth.el~ 2003-04-02 04:34:42.000000000 -0600
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

Expected Results:  
merging :)

Portage 2.0.49-r13 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-xfs-r3)
=================================================================
System uname: 2.4.20-xfs-r3 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -fPIC"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/shar
e/config /usr/X11R6/lib/X11/xkb /opt/tomcat/conf /usr/kde/3.1/share/config /usr
/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -
fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://ftp.gentoo.or.kr 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="x86 oss apm avi crypt cups encode foomaticdb gif jpeg kde libg++ mad 
mikmod mpeg ncurses nls pdflib png quicktime slang spell truetype xml2 xmms xv 
zlib gdbm berkdb readline arts svga java ruby mysql X sdl gpm tcpd pam libwww 
ssl perl python esd imlib oggvorbis gnome gtk qt motif opengl mozilla gtk2"
Comment 1 Park Jong-young 2003-10-14 23:17:30 UTC
I patched. please fix gforth-0.6.2.ebuild : 

----------------------------------------------
gforth-0.6.2.ebuild : LINE 25

< epatch ${FILESDIR}/gforth.el-gentoo.patch || die

to

> cd ${S} && epatch ${FILESDIR}/gforth.el-gentoo.patch || die

-----------------------------------------------
Comment 2 Park Jong-young 2003-10-14 23:24:41 UTC
Created attachment 19260 [details, diff]
patch for gforth-0.6.2.ebuild

One line patch. please use to fix. :)
Comment 3 James Harlow (RETIRED) gentoo-dev 2003-10-15 00:09:43 UTC
Created attachment 19261 [details, diff]
patch for the patch file. :-)

Patch doesn't apply because there's isn't any path information in the header,
this patch fixes that. The submitter should download it and apply with "patch
<
./attachment.cgi*".
Comment 4 James Harlow (RETIRED) gentoo-dev 2003-10-15 00:12:42 UTC
I knew having that cup of tea was a mistake.
Comment 5 Park Jong-young 2003-10-15 00:38:02 UTC
I'm glad to be pointed out path problem. That is my mistake because I never
make .patch file before... :)
Comment 6 Matthew Kennedy (RETIRED) gentoo-dev 2003-10-15 18:49:33 UTC
regernated patch. thanks for the bug report