What is the math-sequence it's complaining about? -------------------------------------------------------------------------------- phoebe root # emerge gnome Calculating dependencies ...done! >>> emerge (1 of 27) media-plugins/gst-plugins-mad-0.6.4 to / /usr/sbin/ebuild.sh: line 1: math-sequence: command not found /usr/sbin/ebuild.sh: /usr/portage/eclass/gst-plugins.eclass: line 2: syntax error near unexpected token `}' /usr/sbin/ebuild.sh: /usr/portage/eclass/gst-plugins.eclass: line 2: `}' !!! ERROR: media-plugins/gst-plugins-mad-0.6.4 failed. !!! Function inherit, Line 1099, Exitcode 1 !!! died sourcing /usr/portage/eclass/gst-plugins.eclass in inherit() -------------------------------------------------------------------------------- Reproducible: Always Steps to Reproduce: 1.emerge gnome 2. 3. Actual Results: !!! ERROR: media-plugins/gst-plugins-mad-0.6.4 failed. Expected Results: Should have emerged ok. USE="acl acpi acpi4linux amd apm cdr cgi chroot cmucl cups dnd dvd emacs \ emacs-w3 icq imagemagick ipv6 irda irmc jabber java javascript jpeg \ junit justify kde mad mmx mozcalendar mysql ncurses opengl \ optional-tasks pcmcia pda pdflib php qt radeon samba sdk slp spell \ sse stroke usb wifi xine xmms -python -gtk"
I found that /usr/portage was corrupted. A "rm -rf /usr/portage/" followed by an "emerge sync" fixed the problem.