emerge -a mozilla-firefox leads to: * ERROR: www-client/mozilla-firefox-3.5.5 failed: * sparc sed failed * * Call stack: * ebuild.sh, line 61: Called src_install * environment, line 3658: Called die * The specific snippet of code: * use sparc && sed -e 's/Firefox/FirefoxGentoo/g' -i "${D}/${MOZILLA_FIVE_HOME}/application.ini" || die "sparc sed failed" Reproducible: Always emerge --info Portage 2.1.7.14 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.11-r1, 2.6.32-gentoo i686) ================================================================= System uname: Linux-2.6.32-gentoo-i686-Mobile_AMD_Sempron-tm-_Processor_3000+-with-gentoo-2.0.1 Timestamp of tree: Sun, 13 Dec 2009 08:45:02 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 1.3.7-r1, 2.1.10 dev-lang/python: 2.3.6-r2, 2.5.4-r3, 2.6.4, 3.1.1-r1 dev-util/cmake: 2.8.0 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.3 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.64 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-O2 -march=athlon-xp -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news nostrip parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.bg http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="bg_BG" LDFLAGS="-Wl,-O1" LINGUAS="en_gb en en_GB bg" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY=" " SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X a52 aac acl acpi alsa apache2 audiofile berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus directfb dri dts dvd dvdr eds emboss encode evo fam firefox flac foomaticdb fortran gdbm gif gpm gstreamer hal iconv imlib jack jpeg kde ldap libnotify mad mikmod miknod mmx modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd qt qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd threads thunar tiff truetype unicode usb vorbis win32codecs x264 x86 xml xmms xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="dav auth_basic authz_host autoindex cache deflate dir disk_cache env expires file_cache filter headers include log_config logio mem_cache mime mime_magic negotiation rewrite setenvif auth_digest charset_lite imagemap" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_gb en en_GB bg" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="sis" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
removing relative parts in ebuild solvs the problem for me :) (hint: don't forget 'ebuild /usr/portage/www-client/mozilla-firefox/mozilla-firefox-3.5.5.ebuild digest' after editing the ebuild)
* The specific snippet of code: * use sparc && sed -e 's/Firefox/FirefoxGentoo/g' -i "${D}/${MOZILLA_FIVE_HOME}/application.ini" || die "sparc sed failed" ... typical case of missing braces or similar... -> only sparc can install ff 3.5.5
already fixed in CVS.