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"
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
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....
*** This bug has been marked as a duplicate of 34465 ***
i've got the same bug when trying to emerge fltk-1.1.4