Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299302 - www-client/firefox-bin-3.5.6 install error
Summary: www-client/firefox-bin-3.5.6 install error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal with 1 vote (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords: InVCS
: 299449 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-02 05:31 UTC by Marshall Banana
Modified: 2010-01-03 22:23 UTC (History)
10 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
complete build log (firefox-build.log,3.38 KB, text/plain)
2010-01-02 05:36 UTC, Marshall Banana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marshall Banana 2010-01-02 05:31:20 UTC
www-client/firefox-bin-3.5.6 doesn't compile (install) any more after emerge--syncing today. during the reinstall of
[ebuild   R   ] www-client/firefox-bin-3.5.6  USE="-restrict-javascript -startup-notification%" LINGUAS="de en -af -ar -be -bg -bn -bn_IN -ca -cs -cy -da -el -en_GB -en_US -eo -es -es_AR -es_ES -et -eu -fa -fi -fr -fy -fy_NL -ga -ga_IE -gl -gu -gu_IN -he -hi -hi_IN -hu -id -is -it -ja -ka -kk -kn -ko -ku -lt -lv -mk -mr -nb -nb_NO -nl -nn -nn_NO -oc -pa -pa_IN -pl -pt -pt_BR -pt_PT -ro -ru -si -sk -sl -sq -sr -sv -sv_SE -ta -te -th -uk -vi -zh -zh_CN -zh_TW" 0 kB                                 

the following error is thrown:
 * ERROR: www-client/firefox-bin-3.5.6 failed:                                                             
 *   sed failed to change locale                                                                           
 *                                                                                                         
 * Call stack:                                                                                             
 *     ebuild.sh, line  48:  Called src_install                                                            
 *   environment, line 2486:  Called die                                                                   
 * The specific snippet of code:                                                                           
 *           sed -e "s:general.useragent.locale\", \"en-US\":general.useragent.locale\", \"${LANG}\":" -i "${MOZILLA_FIVE_HOME}"/defaults/pref/${MY_PN}.js -i "${MOZILLA_FIVE_HOME}"/defaults/pref/${MY_PN}-l10n.js || die "sed failed to change locale"; 


Reproducible: Always

Steps to Reproduce:
1. emerge -uDNvp @system @world
2....
3. no profit

Actual Results:  
no reinstall possible

Expected Results:  
firefox-bin in reinstalled
Comment 1 Marshall Banana 2010-01-02 05:32:24 UTC
output of emerge.info:

Portage 2.2_rc61 (default/linux/x86/10.0, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo i686)
=================================================================                      
System uname: Linux-2.6.32-gentoo-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 02 Jan 2010 04:00:01 +0000                                           
app-shells/bash:     4.0_p35                                                                 
dev-java/java-config: 2.1.10                                                                 
dev-lang/python:     2.6.4, 3.1.1-r1                                                         
dev-util/cmake:      2.8.0                                                                   
sys-apps/baselayout: 2.0.1                                                                   
sys-apps/openrc:     0.6.0                                                                   
sys-apps/sandbox:    2.2                                                                     
sys-devel/autoconf:  2.13, 2.65                                                              
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 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=prescott -mssse3 -pipe -fomit-frame-pointer"                              
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/lib/hsqldb"                                                                                                               
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"                                                             
CXXFLAGS="-O2 -march=prescott -mssse3 -pipe -fomit-frame-pointer"                                                            
DISTDIR="/usr/portage/distfiles"                                                                                             
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch ~x86"                                                                                        
GENTOO_MIRRORS="http://mirror.its.uidaho.edu/pub/gentoo/ http://gentoo.mneisen.org/ ftp://mirror.its.uidaho.edu/gentoo/ ftp://mirror.cambrium.nl/pub/os/linux/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://de-mirror.org/distro/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
MAKEOPTS="-j3"
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="/usr/local/portage/local-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa audacious bash-completion battery bzip2 cdaudio cdda cddb chm cisco cli cpufreq cracklib crypt cups cvs cxx dbus directfb dri dvb dvd dvdr dvdread evo fbcon fbsplash ffmpeg firefox firefox3 fortran ftp gdbm gif glut gpm grub gtk hal iconv ipv6 java javascript jpeg kde kde4 mmx mmxext mng modules mp3 mpeg mplayer msn mudflap ncurses networkmanager nls nptl nptlonly nsplugin opengl openmp oscar pam pcre perl pidgin png pppd python qt3support qt4 readline reflection rpm samba session sftp smp spl sse2 ssl ssse2 subversion svg sysfs tcpd truetype unicode v4l v4l2 vim vorbis wifi win32codecs wma x86 xcb xcomposite xorg xscreensaver zlib" ALSA_CARDS="hda-intel loopback" 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="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel fbdev glint vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Marshall Banana 2010-01-02 05:36:17 UTC
Created attachment 214901 [details]
complete build log
Comment 3 Wormo (RETIRED) gentoo-dev 2010-01-02 05:55:09 UTC
Hm I think the sandbox error is caused by missing "${D}" in the paths for the sed command. 
Comment 4 Marshall Banana 2010-01-02 10:58:14 UTC
in case it is needed, the contents of the folder are:

/opt/firefox/defaults/pref $ ls -la
total 184
drwxr-xr-x 2 root root  4096 Jan  2 06:24 .
drwxr-xr-x 5 root root  4096 Apr 10  2009 ..
-rw-r--r-- 1 root root   120 Dec  2 06:42 channel-prefs.js
-rw-r--r-- 1 root root   991 Dec  2 06:42 firefox-branding.js
-rw-r--r-- 1 root root   208 Dec 25 01:45 firefox-l10n.js
-rw-r--r-- 1 root root 39109 Dec 25 01:45 firefox.js
-rw-r--r-- 1 root root   205 Dec  2 06:42 reporter.js
-rw-r--r-- 1 root root 39109 Jan  2 06:24 sedGly0AU
-rw-r--r-- 1 root root 39109 Jan  2 06:07 sedxo2xBo
-rw-r--r-- 1 root root 39109 Jan  2 06:03 sedzCn40A
Comment 5 Martin Jansa 2010-01-02 16:13:49 UTC
(In reply to comment #3)
> Hm I think the sandbox error is caused by missing "${D}" in the paths for the
> sed command. 
> 

Yes exactly.

Adding ${D} to
            -i "${D}${MOZILLA_FIVE_HOME}"/defaults/pref/${MY_PN}.js \
            -i "${D}${MOZILLA_FIVE_HOME}"/defaults/pref/${MY_PN}-l10n.js || \
works for me, without it, it fails because of missing files for new installation and sandbox error for rename&move (from sed -i) on live filesystem.

Thanks

Comment 6 Simon Kenyon 2010-01-03 12:23:35 UTC
i've just hit this error
but i already had 3.5.6 installed (and did not have any problems the last time around)

so it would appear to be something else has changed
Comment 7 Christian B. 2010-01-03 12:40:41 UTC
Same here. Last install of 3.5.6 worked fine.
I noticed a change of the ebuild name from mozilla-firefox-bin to firefox-bin. Maybe there was something else changed in the ebuild too.
Comment 8 Jory A. Pratt gentoo-dev 2010-01-03 21:14:39 UTC
*** Bug 299449 has been marked as a duplicate of this bug. ***
Comment 9 Jory A. Pratt gentoo-dev 2010-01-03 21:17:27 UTC
Seems the sed was fubar'd during the pkgmove, sorry for the inconvience.
Comment 10 Marco Leogrande 2010-01-03 22:15:05 UTC
The old ebuild, previous to the pkgmove, used 'dosed' instead of a bare 'sed'.
That wrapper probably prepends "${D}" to given paths.
Comment 11 Marco Nierlich 2010-01-03 22:18:23 UTC
(In reply to comment #9)
> Seems the sed was fubar'd during the pkgmove, sorry for the inconvience.
> 

so what's the final solution to merge firefox-bin-3.5.6?
Comment 12 Jory A. Pratt gentoo-dev 2010-01-03 22:23:36 UTC
(In reply to comment #11)
> (In reply to comment #9)
> > Seems the sed was fubar'd during the pkgmove, sorry for the inconvience.
> > 
> 
> so what's the final solution to merge firefox-bin-3.5.6?
> 

Soon as the mirrors sync you will have a working ebuild. Just have to wait for the rsync mirrors to catch the update.