Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 581636 - www-client/firefox-46.0: /usr/lib/firefox/libxul.so: version `xul46' not found
Summary: www-client/firefox-46.0: /usr/lib/firefox/libxul.so: version `xul46' not found
Status: RESOLVED DUPLICATE of bug 580726
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-30 07:59 UTC by tka
Modified: 2016-05-02 14:45 UTC (History)
1 user (show)

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


Attachments
build.log (build.log.xz,126.95 KB, application/x-xz)
2016-04-30 07:59 UTC, tka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tka 2016-04-30 07:59:39 UTC
Created attachment 432676 [details]
build.log

On x86, the Firefox 46.0 build fails in the install phase. The build on an amd64 machine did not fail. Thus, this might be something specific to the x86 arch.

Executing /var/tmp/portage/www-client/firefox-46.0/work/firefox-46.0/ff/dist/bin/xpcshell -g /var/tmp/portage/www-client/firefox-46.0/work/firefox-46.0/ff/dist/bin/ -a /var/tmp/portage/www-client/firefox-46.0/work/firefox-46.0/ff/dist/bin/ -f /var/tmp/portage/www-client/firefox-46.0/work/firefox-46.0/toolkit/mozapps/installer/precompile_cache.js -e precompile_startupcache("resource://gre/");
/var/tmp/portage/www-client/firefox-46.0/work/firefox-46.0/ff/dist/bin/xpcshell: /usr/lib/firefox/libxul.so: version `xul46' not found (required by /var/tmp/portage/www-client/firefox-46.0/work/firefox-46.0/ff/dist/bin/xpcshell)
Traceback (most recent call last):
  File "/var/tmp/portage/www-client/firefox-46.0/work/firefox-46.0/toolkit/mozapps/installer/packager.py", line 410, in <module>
    main()
  File "/var/tmp/portage/www-client/firefox-46.0/work/firefox-46.0/toolkit/mozapps/installer/packager.py", line 404, in main
    args.source, gre_path, base)
  File "/var/tmp/portage/www-client/firefox-46.0/work/firefox-46.0/toolkit/mozapps/installer/packager.py", line 161, in precompile_cache
    errors.fatal('Error while running startup cache precompilation')
  File "/var/tmp/portage/www-client/firefox-46.0/work/firefox-46.0/python/mozbuild/mozpack/errors.py", line 103, in fatal
    self._handle(self.FATAL, msg)
  File "/var/tmp/portage/www-client/firefox-46.0/work/firefox-46.0/python/mozbuild/mozpack/errors.py", line 98, in _handle
    raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
/var/tmp/portage/www-client/firefox-46.0/work/firefox-46.0/toolkit/mozapps/installer/packager.mk:41: recipe for target 'stage-package' failed
make[1]: *** [stage-package] Error 1
make[1]: Leaving directory '/var/tmp/portage/www-client/firefox-46.0/work/firefox-46.0/ff/browser/installer'
/var/tmp/portage/www-client/firefox-46.0/work/firefox-46.0/browser/build.mk:21: recipe for target 'install' failed
make: *** [install] Error 2


# emerge --info '=www-client/firefox-46.0::gentoo'
Portage 2.2.28 (python 3.4.3-final-0, hardened/linux/x86, gcc-5.3.0, glibc-2.23-r2, 4.5.2 i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.5.2-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-gentoo-2.2
KiB Mem:     2037904 total,    129720 free
KiB Swap:   16777212 total,  16762620 free
Timestamp of repository gentoo: Fri, 29 Apr 2016 23:00:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo
dev-util/cmake:           3.5.2::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.7.4::gentoo, 4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.5::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mtune=native -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --with-bdeps=y"
FCFLAGS="-march=i686 -O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=i686 -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 acl acpi alsa apache2 berkdb bzip2 cairo caps cdda cddb cdparanoia cli cracklib crypt cxx dbus dri dts dvd fam ffmpeg fftw flac fontconfig gd gdbm gif gimp gmp gnutls gtk hardened iconv icu idn ipv6 java jpeg lame lcms libnotify mad matroska mmap mmx modules mp3 mpeg ncurses nptl ogg opengl openmp pam pcre php pic pie png policykit ppds readline sasl sdl seccomp session sse sse2 ssl ssp startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower vorbis x264 x86 xattr xcb xml xtpax xv xvid zlib" ABI_X86="32" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="i915 intel" XFCE_PLUGINS="logout menu trash" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


# emerge -pqv '=www-client/firefox-46.0::gentoo'
[ebuild     U ] www-client/firefox-46.0 [45.0.1] USE="dbus ffmpeg hardened hwaccel jemalloc3 startup-notification system-harfbuzz%* system-icu system-jpeg system-libvpx system-sqlite -bindist -custom-cflags -custom-optimization -debug -force-gtk2% (-gmp-autoupdate) -jit (-neon) (-pgo) -pulseaudio (-selinux) (-system-cairo) -system-libevent {-test} -wifi (-gstreamer%*) (-gstreamer-0%) (-gtk3%)" LINGUAS="-af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW"
Comment 1 Steev Klimaszewski (RETIRED) gentoo-dev 2016-05-01 16:40:35 UTC
This also occurs on arm64.  

Workaround is to uninstall the currently installed firefox so it doesn't attempt to use the /usr/lib64/firefox/libxul.so (since it doesn't exist).
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2016-05-02 14:45:10 UTC
Thisis a duplicate of the same issue in mail-client/thunderbird, bug 580726.  Marking this as a duplicate because once I can actually determine the intermittent cause I'm certain the fix will be the same for all mozilla packages.

*** This bug has been marked as a duplicate of bug 580726 ***