www-client/firefox-48.0.1 (also 48.0) reproducably fails to emerge on my system. Firefox seems to build fine, but during install phase it fails at startup cache precompilation. emerge -pqv =www-client/firefox-48.0.1 [ebuild U ] www-client/firefox-48.0.1 [47.0.1] USE="dbus gmp-autoupdate hwaccel jemalloc3 jit pulseaudio skia%* startup-notification system-icu system-jpeg system-libvpx system-sqlite -bindist -custom-cflags -custom-optimization -debug -gtk2 -hardened (-neon) -pgo (-selinux) (-system-cairo) -system-harfbuzz -system-libevent {-test} -wifi" L10N="de -ach -af -an -ar -as -ast -az -be -bg -bn-BD -bn-IN -br -bs -ca -cs -cy -da -el -en-GB -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -fi -fr -fy -ga -gd -gl -gu -he -hi -hr -hsb -hu -hy -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW" build output (complete install phase): >>> Source compiled. >>> Test phase [not enabled]: www-client/firefox-48.0.1 >>> Install firefox-48.0.1 into /var/tmp/portage/www-client/firefox-48.0.1/image/ category www-client * PT_PAX marking -m /var/tmp/portage/www-client/firefox-48.0.1/work/firefox-48.0.1/ff/dist/bin/xpcshell with scanelf * XATTR_PAX marking -me /var/tmp/portage/www-client/firefox-48.0.1/work/firefox-48.0.1/ff/dist/bin/xpcshell with setfattr * Adding prefs from mozconfig to /var/tmp/portage/www-client/firefox-48.0.1/work/firefox-48.0.1/ff/dist/bin/browser/defaults/preferences/all-gentoo.js make -j5 DESTDIR=/var/tmp/portage/www-client/firefox-48.0.1/image/ install make[1]: Entering directory '/var/tmp/portage/www-client/firefox-48.0.1/work/firefox-48.0.1/ff/browser/installer' OMNIJAR_NAME=omni.ja \ NO_PKG_FILES="core bsdecho js js-config jscpucfg nsinstall viewer TestGtkEmbed elf-dynstr-gc mangle* maptsv* mfc* msdump* msmap* nm2tsv* nsinstall* res/samples res/throbber shlibsign* certutil* pk12util* BadCertServer* OCSPStaplingServer* GenerateOCSPResponse* chrome/chrome.rdf chrome/app-chrome.manifest chrome/overlayinfo components/compreg.dat components/xpti.dat content_unit_tests necko_unit_tests *.dSYM " \ /var/tmp/portage/www-client/firefox-48.0.1/work/firefox-48.0.1/ff/_virtualenv/bin/python /var/tmp/portage/www-client/firefox-48.0.1/work/firefox-48.0.1/toolkit/mozapps/installer/packager.py -DMOZ_APP_NAME=firefox -DPREF_DIR=defaults/preferences -DMOZ_GTK=1 -DMOZ_GTK3=1 -DMOZ_SYSTEM_NSPR=1 -DMOZ_SYSTEM_NSS=1 -DJAREXT= -DMOZ_CHILD_PROCESS_NAME=plugin-container -DDLL_PREFIX=lib -DDLL_SUFFIX=.so -DBIN_SUFFIX= -DDIR_MACOS= -DDIR_RESOURCES= -DBINPATH=bin -DRESPATH=bin -DLPROJ_ROOT=en -DMOZ_ICU_VERSION=56 -DMOZ_SYSTEM_ICU -DMOZ_ICU_DBG_SUFFIX= -DICU_DATA_FILE=icudt56l.dat -DA11Y_LOG=1 -DACCESSIBILITY=1 -DATK_MAJOR_VERSION=2 -DATK_MINOR_VERSION=20 -DATK_REV_VERSION=0 -DATTRIBUTE_ALIGNED_MAX=64 -DBUILD_CTYPES=1 -DCROSS_COMPILE='' -DD_INO=d_ino -DENABLE_INTL_API=1 -DENABLE_MARIONETTE=1 -DENABLE_SYSTEM_EXTENSION_DIRS=1 -DEXPOSE_INTL_API=1 -DFIREFOX_VERSION=48.0.1 -DFORCE_PR_LOG=1 -DFUNCPROTO=15 -DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_4 -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_4 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DGL_PROVIDER_GLX=1 -DHAVE_64BIT_BUILD=1 -DHAVE_ALLOCA_H=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HAVE_UNISTD_H=1 -DHAVE_VALLOC=1 -DHAVE_VA_COPY=1 -DHAVE_VA_LIST_AS_ARRAY=1 -DHAVE_VISIBILITY_ATTRIBUTE=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE__UNWIND_BACKTRACE=1 -DHAVE___CXA_DEMANGLE=1 -DJS_DEFAULT_JITREPORT_GRANULARITY=3 -DMALLOC_H='<malloc.h>' -DMALLOC_USABLE_SIZE_CONST_PTR='' -DMOZILLA_UAVERSION='"48.0"' -DMOZILLA_VERSION='"48.0.1"' -DMOZILLA_VERSION_U=48.0.1 -DMOZ_ACCESSIBILITY_ATK=1 -DMOZ_ACTIVITIES=1 -DMOZ_ADDON_SIGNING=1 -DMOZ_APP_UA_NAME='""' -DMOZ_APP_UA_VERSION='"48.0.1"' -DMOZ_B2G_OS_NAME='""' -DMOZ_B2G_VERSION='"1.0.0"' -DMOZ_BUILD_APP=browser -DMOZ_CRASHREPORTER_ENABLE_PERCENT=100 -DMOZ_DATA_REPORTING=1 -DMOZ_DEFAULT_MOZILLA_FIVE_HOME='"/usr/lib64/firefox"' -DMOZ_DISTRIBUTION_ID='"org.mozilla"' -DMOZ_DLL_SUFFIX='".so"' -DMOZ_EME=1 -DMOZ_ENABLE_DBUS=1 -DMOZ_ENABLE_GIO=1 -DMOZ_ENABLE_PROFILER_SPS=1 -DMOZ_ENABLE_SIGNMAR=1 -DMOZ_ENABLE_SKIA=1 -DMOZ_ENABLE_STARTUP_NOTIFICATION=1 -DMOZ_ENABLE_XREMOTE=1 -DMOZ_FEEDS=1 -DMOZ_FFMPEG=1 -DMOZ_FFVPX=1 -DMOZ_FMP4=1 -DMOZ_GAMEPAD=1 -DMOZ_GLUE_IN_PROGRAM=1 -DMOZ_GMP_SANDBOX=1 -DMOZ_INSTRUMENT_EVENT_LOOP=1 -DMOZ_JSDOWNLOADS=1 -DMOZ_LIBAV_FFT=1 -DMOZ_LOGGING=1 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-DVA_COPY=va_copy -DXP_LINUX=1 -DXP_UNIX=1 -D_REENTRANT=1 -DAB_CD=en-US \ --format omni \ --removals /var/tmp/portage/www-client/firefox-48.0.1/work/firefox-48.0.1/browser/installer/removed-files.in \ --ignore-errors \ \ \ \ --optimizejars \ \ \ /var/tmp/portage/www-client/firefox-48.0.1/work/firefox-48.0.1/browser/installer/package-manifest.in ../../dist ../../dist/firefox \ Executing /var/tmp/portage/www-client/firefox-48.0.1/work/firefox-48.0.1/ff/dist/bin/xpcshell -g /var/tmp/portage/www-client/firefox-48.0.1/work/firefox-48.0.1/ff/dist/bin/ -a /var/tmp/portage/www-client/firefox-48.0.1/work/firefox-48.0.1/ff/dist/bin/ -f /var/tmp/portage/www-client/firefox-48.0.1/work/firefox-48.0.1/toolkit/mozapps/installer/precompile_cache.js -e precompile_startupcache("resource://gre/"); /var/tmp/portage/www-client/firefox-48.0.1/work/firefox-48.0.1/ff/dist/bin/xpcshell: /usr/lib64/firefox/libxul.so: version `xul48' not found (required by /var/tmp/portage/www-client/firefox-48.0.1/work/firefox-48.0.1/ff/dist/bin/xpcshell) Traceback (most recent call last): File "/var/tmp/portage/www-client/firefox-48.0.1/work/firefox-48.0.1/toolkit/mozapps/installer/packager.py", line 415, in <module> main() File "/var/tmp/portage/www-client/firefox-48.0.1/work/firefox-48.0.1/toolkit/mozapps/installer/packager.py", line 409, in main args.source, gre_path, base) File "/var/tmp/portage/www-client/firefox-48.0.1/work/firefox-48.0.1/toolkit/mozapps/installer/packager.py", line 166, in precompile_cache errors.fatal('Error while running startup cache precompilation') File "/var/tmp/portage/www-client/firefox-48.0.1/work/firefox-48.0.1/python/mozbuild/mozpack/errors.py", line 103, in fatal self._handle(self.FATAL, msg) File "/var/tmp/portage/www-client/firefox-48.0.1/work/firefox-48.0.1/python/mozbuild/mozpack/errors.py", line 98, in _handle raise ErrorMessage(msg) mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation make[1]: *** [/var/tmp/portage/www-client/firefox-48.0.1/work/firefox-48.0.1/toolkit/mozapps/installer/packager.mk:41: stage-package] Error 1 make[1]: Leaving directory '/var/tmp/portage/www-client/firefox-48.0.1/work/firefox-48.0.1/ff/browser/installer' make: *** [/var/tmp/portage/www-client/firefox-48.0.1/work/firefox-48.0.1/browser/build.mk:21: install] Error 2 * ERROR: www-client/firefox-48.0.1::gentoo failed (install phase): * emake failed emerge --info =www-client/firefox-48.0.1::gentoo Portage 2.3.0 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.3.0, glibc-2.23-r2, 4.5.4-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.5.4-gentoo-x86_64-Intel-R-_Core-TM-_i5-4590_CPU_@_3.30GHz-with-gentoo-2.3 KiB Mem: 8009632 total, 3335272 free KiB Swap: 10485756 total, 10468792 free Timestamp of repository gentoo: Mon, 05 Sep 2016 09:30:01 +0000 sh bash 4.3_p46 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p46::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.0-r1::gentoo dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo, 3.5.1-r3::gentoo dev-util/cmake: 3.6.1::gentoo dev-util/pkgconfig: 0.29.1::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.21.7::gentoo sys-apps/sandbox: 2.11-r2::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.25.1-r1::gentoo, 2.26.1::gentoo sys-devel/gcc: 5.3.0::gentoo, 5.4.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r2::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.7::gentoo (virtual/os-headers) sys-libs/glibc: 2.23-r2::gentoo Repositories: gentoo location: /var/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 kde location: /var/overlays/layman/kde masters: gentoo priority: 50 Installed sets: @kde-plasma ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula googleearth AdobeFlash-11.x skype-4.0.0.7-copyright" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/var/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask=n" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" 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 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glamor gpm http2 iconv ipv6 jpeg jpeg2k kde kipi lcms libnotify lzma mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell sse sse2 ssl startup-notification svg taglib tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="32 64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
*** Bug 592926 has been marked as a duplicate of this bug. ***
You are using the p.masked sandbox. If you downgrade sandbox to ~2.10 it will work fine. (I will mark this as the appropriate duplicate once I am back at a real keyboard)
(In reply to Ian Stakenvicius from comment #2) > You are using the p.masked sandbox. If you downgrade sandbox to ~2.10 it > will work fine. Indeed. I completely forgot about that due to no other package failing for me since April 2015. Thanks and sorry about the noise. Firefox emerged perfectly fine with sandbox-2.10~r2.
*** This bug has been marked as a duplicate of bug 580726 ***