Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54364 - libungif refuses to compile - Patch error
Summary: libungif refuses to compile - Patch error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-18 14:53 UTC by Stephen McCants
Modified: 2004-06-19 01:11 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 Stephen McCants 2004-06-18 14:53:44 UTC
When I run "emerge libungif".  I get the errors below.  It seems that an expected patch is no longer downloaded.   

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

Actual Results:  
>>> Downloading
http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/libungif-4.1.0b1.tar.bz2
--16:51:19-- 
http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/libungif-4.1.0b1.tar.bz2
           => `/usr/portage/distfiles/libungif-4.1.0b1.tar.bz2'
Resolving distro.ibiblio.org... 152.2.210.109
Connecting to distro.ibiblio.org[152.2.210.109]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 312,668 [application/x-tar]

100%[====================================>] 312,668       29.98K/s    ETA 00:00

16:51:28 (37.94 KB/s) - `/usr/portage/distfiles/libungif-4.1.0b1.tar.bz2' saved
[312668/312668]

>>> md5 src_uri ;-) libungif-4.1.0b1.tar.bz2
>>> Unpacking source...
>>> Unpacking libungif-4.1.0b1.tar.bz2 to /var/tmp/portage/libungif-4.1.0.1b/work

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   /usr/portage/media-libs/libungif/files/libungif-CVS.patch


!!! ERROR: media-libs/libungif-4.1.0.1b failed.
!!! Function epatch, Line 182, Exitcode 0
!!! Cannot find $EPATCH_SOURCE!


Expected Results:  
I expected a successful compile.

Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.4.25-gentoo-r4)
=================================================================
System uname: 2.4.25-gentoo-r4 i686 Intel(R) Pentium(R) III Mobile CPU      1133MHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://dsse.con.can.ibm.com/gentoo-portage"
USE="X apm arts avi berkdb crypt cups encode esd 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 Stephen McCants 2004-06-18 15:07:24 UTC
Potential workaround for people who run into this bug:

1. emerge libungif
*this fails*
2. cd /usr/protage/distfiles
3. tar -jxvf libungif-<version>.tar.bz2
*Where <version> is the version of libungif downloaded*
4. cd libungif-<version>
5. ./configure
6. make
7. make install
*this installs libungif*
8. emerge inject media-libs/libungif-<version>
*this fools Portage into thinking the package was install via Portage/emerge.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-06-19 01:11:30 UTC
Resync and try it again please.  It works fine for me.
Reopen if it continues to be a problem.