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"
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 -----------------------------------------------
Created attachment 19260 [details, diff] patch for gforth-0.6.2.ebuild One line patch. please use to fix. :)
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*".
I knew having that cup of tea was a mistake.
I'm glad to be pointed out path problem. That is my mistake because I never make .patch file before... :)
regernated patch. thanks for the bug report