I just ran into this myself, and it looks as though somebody mangled /usr/portage/eclass/eutils.eclass, by leaving it like this:
if [ $CROSSCOMPILE -eq 1 ] then else ... fi ...which isn't valid. I just added the following line: echo -n "" ...between the "then" and "else" (on a line by itself), and it appears to have fixed the problem (for now <shrug>) On Fri, 4 Feb 2005 00:04:09 +0000, Helder Lima <[EMAIL PROTECTED]> wrote: > When run emerge --update world, i get the some errors: > Calculating world dependencies ...done! > >>> emerge (1 of 38) sys-libs/gpm-1.20.1 to / > /usr/lib/portage/bin/ebuild.sh: /usr/portage/eclass/eutils.eclass: > line 39: syntax error near unexpected token `else' > /usr/lib/portage/bin/ebuild.sh: /usr/portage/eclass/eutils.eclass: > line 39: ` else' > > !!! ERROR: sys-libs/gpm-1.20.1 failed. > !!! Function inherit, Line 1320, Exitcode 1 > !!! died sourcing /usr/portage/eclass/eutils.eclass in inherit() > !!! If you need support, post the topmost build error, NOT this status > message. > > How solve this problem? > I'm running gentoo linux with 2.6.10 kernel(development source) > -- > Atenciosamente > Helder Fábio Santos Lima > linux User 372369 > [EMAIL PROTECTED] > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list