Output and outfile follow: !!! ERROR: media-libs/svgalib-1.4.3-r4 failed. !!! Function epatch, Line 321, Exitcode 0 !!! Failed Patch: svgalib-1.4.3-gentoo.diff! /var/tmp/portage/svgalib-1.4.3-r4/temp/svgalib-1.4.3-gentoo.diff-18284.out: ***** svgalib-1.4.3-gentoo.diff ***** ===================================== PATCH COMMAND: patch -p0 < /usr/portage/media-libs/svgalib/files/svgalib-1.4.3 -gentoo.diff ===================================== patch unexpectedly ends in middle of line patch: **** Only garbage was found in the patch input. ===================================== PATCH COMMAND: patch -p1 < /usr/portage/media-libs/svgalib/files/svgalib-1.4.3 -gentoo.diff ===================================== patch unexpectedly ends in middle of line patch: **** Only garbage was found in the patch input. ===================================== PATCH COMMAND: patch -p2 < /usr/portage/media-libs/svgalib/files/svgalib-1.4.3 -gentoo.diff ===================================== patch unexpectedly ends in middle of line patch: **** Only garbage was found in the patch input. ===================================== PATCH COMMAND: patch -p3 < /usr/portage/media-libs/svgalib/files/svgalib-1.4.3 -gentoo.diff ===================================== patch unexpectedly ends in middle of line patch: **** Only garbage was found in the patch input. ===================================== PATCH COMMAND: patch -p4 < /usr/portage/media-libs/svgalib/files/svgalib-1.4.3 -gentoo.diff ===================================== patch unexpectedly ends in middle of line patch: **** Only garbage was found in the patch input.
>>> md5 src_uri ;-) svgalib-1.4.3.tar.gz >>> md5 src_uri ;-) r128.c >>> Unpacking source... >>> Unpacking svgalib-1.4.3.tar.gz to /var/tmp/portage/svgalib-1.4.3-r4/work * Applying svgalib-1.4.3-gentoo.diff... [ ok ] * Applying svgalib-1.4.3-userpriv.patch... [ ok ]>>> Source unpacked. Works for me so... I suggest you emerge sync and try again to see what happens.
I tried again and still got the same error... is there any other information I can give that might help?
The output of emerge info is requested on the bug submission page. That's good to include. ;-)
Emerge output follows: bash-2.05b# emerge svgalib Calculating dependencies ...done! >>> emerge (1 of 1) media-libs/svgalib-1.4.3-r4 to / >>> md5 src_uri ;-) svgalib-1.4.3.tar.gz >>> md5 src_uri ;-) r128.c >>> Unpacking source... >>> Unpacking svgalib-1.4.3.tar.gz to /var/tmp/portage/svgalib-1.4.3-r4/work * Applying svgalib-1.4.3-gentoo.diff... * Failed Patch: svgalib-1.4.3-gentoo.diff! * * Include in your bugreport the contents of: * * /var/tmp/portage/svgalib-1.4.3-r4/temp/svgalib-1.4.3-gentoo.diff-8696.out !!! ERROR: media-libs/svgalib-1.4.3-r4 failed. !!! Function epatch, Line 321, Exitcode 0 !!! Failed Patch: svgalib-1.4.3-gentoo.diff! The outfile it asks for is included in my first post.
No. I can see how it might be confusing, but the output I'm looking for is the output from the "emerge --info" command. Please post that output here. Thanks.
Aha, my mistake... sorry about that. Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-g ================================================================= System uname: 2.4.20-gentoo-r6 i686 Pentium III (Coppermine) ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kd /config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/con CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org x/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 gpm jpeg kde gnom libwww mad mikmod mmx mpeg ncurses nls pdflib png quicktime sdl spell s ype xml2 xmms xv zlib gdbm berkdb slang readline arts tcltk java X tcpd perl python esd imlib oggvorbis gtk qt motif opengl mozilla"
This is working fine for me so I suspect some local corruption or something on your side. Can you resync and try again please? The md5sum of the files should look like this: 69c4d564b08853fd458643a046195e12 svgalib-1.4.3-r4.ebuild 19b74fedfd6953bd3537a803abecc4d3 files/svgalib-1.4.3-gentoo.diff c4b69ccaea188c0ee4b32111b769ae6d files/svgalib-1.4.3-userpriv.patch I guess it might also be interesting to know what the output of "patch --version" is. Mine is patch 2.5.9 If you still have problems after resyncing please try remerging the patch program by "emerge patch" and portage by "emerge portage" to make sure things are sane. Thanks.
Aha... it looks like the .diff file was corrupted. When I deleted it and resynced, everything worked fine. Thanks for the help! Sorry about the silly problem.
excellent. Glad things worked out for you.