Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34467 - emerges fail with inherit error from eclass/eutils.eclass
Summary: emerges fail with inherit error from eclass/eutils.eclass
Status: RESOLVED DUPLICATE of bug 34465
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-26 14:24 UTC by Bryan Whitehead
Modified: 2011-10-30 22:18 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 Bryan Whitehead 2003-11-26 14:24:50 UTC
when I try to emerge magic I get this error:
Calculating dependencies ...done!
>>> emerge (1 of 1) app-sci/magic-7.1-r2 to /
/usr/sbin/ebuild.sh: /usr/portage/eclass/eutils.eclass: line 977: syntax error
near unexpected token `)'
/usr/sbin/ebuild.sh: /usr/portage/eclass/eutils.eclass: line 977: `            
gzip*)'

!!! ERROR: app-sci/magic-7.1-r2 failed.
!!! Function inherit, Line 1018, Exitcode 1
!!! died sourcing /usr/portage/eclass/eutils.eclass in inherit()

I have no problems emerging other applications.... so it might be something
within magic-7.1-r2.

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

Actual Results:  
emerge fails

Expected Results:  
emerge completes.

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.20-xfs-r3)
=================================================================
System uname: 2.4.20-xfs-r3 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -fomit-frame-pointer -pipe -ffast-math
-fno-strength-reduce"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/opt/tomcat/conf /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -fomit-frame-pointer -pipe -ffast-math
-fno-strength-reduce"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
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="x86 oss apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad
mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib
gdbm berkdb slang readline tetex bonobo java guile mysql postgres X sdl gpm tcpd
pam libwww ssl perl python esd imlib oggvorbis gtk qt motif opengl mozilla cdr
-arts -alsa -kde gtk2 cupsi -svga imap"
Comment 1 Bryan Whitehead 2003-11-26 14:25:59 UTC
I thought maybe I just got a bad mirror so I did a "emerge --sync" several times to make sure I got a good snapshot...

-Bryan
Comment 2 Bryan Whitehead 2003-11-26 14:40:09 UTC
looks like /usr/portage/eclass/eutils.eclass is missing a ;; on line 997

Should look like this:

                bzip2*)
                        tail -n +${skip} ${src} | bzip2 -dc | tar -xf -
                        ;;
                gzip*)

NOT like this:

                bzip2*)
                        tail -n +${skip} ${src} | bzip2 -dc | tar -xf -
                gzip*)

This bug is not magic's fault....
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2003-11-26 14:52:14 UTC

*** This bug has been marked as a duplicate of 34465 ***
Comment 4 Imre Lorvi 2003-11-26 15:12:45 UTC
i've got the same bug when trying to emerge fltk-1.1.4