The firefox-54.0 build process stalls at >>> Install firefox-54.0 into /var/tmp/portage/www-client/firefox-54.0/image/ category www-client * PT_PAX marking -m /var/tmp/portage/www-client/firefox-54.0/work/firefox-54.0/ff/dist/bin/xpcshell with scanelf * XATTR_PAX marking -me /var/tmp/portage/www-client/firefox-54.0/work/firefox-54.0/ff/dist/bin/xpcshell with setfattr * Adding prefs from mozconfig to /var/tmp/portage/www-client/firefox-54.0/work/firefox-54.0/ff/dist/bin/browser/defaults/preferences/all-gentoo.js make -j8 DESTDIR=/var/tmp/portage/www-client/firefox-54.0/image/ install make[1]: Entering directory '/var/tmp/portage/www-client/firefox-54.0/work/firefox-54.0/ff/browser/installer' on arm64. The patch --- ./browser/config/mozconfigs/linux32/common-opt.orig 2017-03-27 16:47:57.039428674 -0700 +++ ./browser/config/mozconfigs/linux32/common-opt 2017-03-27 16:43:26.004591584 -0700 @@ -3,6 +3,7 @@ ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} ac_add_options --with-google-api-keyfile=/builds/gapi.data ac_add_options --with-mozilla-api-keyfile=/builds/mozilla-desktop-geoloc-api.key +ac_add_options --disable-startupcache . $topsrcdir/build/unix/mozconfig.linux32 --- ./browser/config/mozconfigs/linux64/common-opt.orig 2017-03-27 16:46:54.794982020 -0700 +++ ./browser/config/mozconfigs/linux64/common-opt 2017-03-27 16:47:05.345170624 -0700 @@ -3,6 +3,7 @@ ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} ac_add_options --with-google-api-keyfile=/builds/gapi.data ac_add_options --with-mozilla-api-keyfile=/builds/mozilla-desktop-geoloc-api.key +ac_add_options --disable-startupcache . $topsrcdir/build/unix/mozconfig.linux does not mitigate the problem. Reproducible: Always Steps to Reproduce: 1. Build rust and cargo on arm64 2. Keyword firefox-54 and emerge firefox -av1. 3. Notice that the build never completes. Actual Results: The install phase never completes. Executing /var/tmp/portage/www-client/firefox-54.0/work/firefox-54.0/ff/dist/bin/xpcshell -g /var/tmp/portage/www-client/firefox-54.0/work/firefox-54.0/ff/dist/bin/ -a /var/tmp/portage/www-client/firefox-54.0/work/firefox-54.0/ff/dist/bin/ -f /var/tmp/portage/www-client/firefox-54.0/work/firefox-54.0/toolkit/mozapps/installer/precompile_cache.js -e precompile_startupcache("resource://gre/"); waits forever. This is the same place where xpcshell provokes the OOM on amd64 The testing has been performed in an arm64 chroot on a AMD Phenom II, since an arm64 install on a Raspberry Pi 3 will not build rusts bundled llvm. aarch64 NeddySeagoon_Static / # emerge --info Portage 2.3.6 (python 3.4.6-final-0, default/linux/arm64/13.0/desktop, gcc-7.1.0, glibc-2.24-r2, 4.11.2-gentoo-r1 aarch64) ================================================================= System uname: Linux-4.11.2-gentoo-r1-aarch64-with-gentoo-2.4.1 KiB Mem: 16408632 total, 10720996 free KiB Swap: 2088432 total, 2088432 free Timestamp of repository gentoo: Wed, 21 Jun 2017 01:45:01 +0000 sh bash 4.4_p12 ld GNU gold (Gentoo 2.27 p1.0 2.27) 1.12 distcc 3.2rc1 aarch64-unknown-linux-gnu [disabled] app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.1-r2::gentoo dev-lang/python: 2.7.13::gentoo, 3.4.6::gentoo dev-util/cmake: 3.8.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1::gentoo sys-apps/openrc: 0.17::gentoo sys-apps/sandbox: 2.10-r4::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r3::gentoo sys-devel/automake: 1.13.4-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.25.1-r1::gentoo, 2.26.1::gentoo, 2.27::gentoo, 2.28-r2::gentoo sys-devel/gcc: 5.4.0::gentoo, 6.2.0-r1::gentoo, 7.1.0-r1::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r1::gentoo sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers) sys-libs/glibc: 2.24-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 ACCEPT_KEYWORDS="arm64 ~arm64" ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE google-chrome" CBUILD="aarch64-unknown-linux-gnu" CFLAGS="-march=armv8-a+crc -mtune=cortex-a53 -ftree-vectorize -O2 -pipe -fomit-frame-pointer" CHOST="aarch64-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/qmail/alias /var/qmail/control" 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=armv8-a+crc -mtune=cortex-a53 -ftree-vectorize -O2 -pipe -fomit-frame-pointer" DISTDIR="/var/cache/distfiles" FCFLAGS="-O2" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc noinfo noman parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2" GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/ http://mirror.mdfnet.se/gentoo http://mirrors.163.com/gentoo/ http://gentoo.mirror.web4u.cz/ http://64.50.236.52/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.tiscali.nl/ http://gentoo.mneisen.org/ http://gentoo.mirror.pw.edu.pl/ http://gentoo.prz.rzeszow.pl http://mirror.mdfnet.se/mirror/gentoo http://ftp.gentoo.bg/ http://distfiles.gentoo.bg/ http://mirrors.ludost.net/gentoo/ http://mirror.hamakor.org.il/pub/mirrors/gentoo/ http://ftp.dei.uc.pt/pub/linux/gentoo/" INSTALL_MASK=" /usr/lib/systemd *.la" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--fix-cortex-a53-843419 -Wl,--fix-cortex-a53-835769 -Wl,--no-map-whole-files" MAKEOPTS="-j8" PKGDIR="/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 arm64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crossdev crypt cups cxx dbus dri dts dvdr egl emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv icu ipv6 jpeg lcms libnotify mad minizip mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp openssl pango pcre pcre16 pdf png policykit postproc ppds python qt3support qt5 readline script session spell sqlite ssl startup-notification svc svg tcpd threads tiff truetype udev udisks unicode upower usb virt-network vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp neon thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="pdfimport presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="aarch64" QEMU_USER_TARGETS="aarch64" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="fbdev vc4" 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, EMERGE_DEFAULT_OPTS, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON Given the three variables, sandbox, usersandbox and patch, build testing has shown the following All without the patch ... emerge firefox fails. FEATURES="-usersandbox" emerge firefox fails FEATURES="-sandbox" emerge firefox fails FEATURES="-sandbox -usersandbox" emerge firefox works Patch with FEATURES="-sandbox -usersandbox" emerge firefox works. That is the patch appears to have no effect. Building on the Pi 3 target has not been tested but it has built previous versions of firefox. Build logs of stalled and successful builds are available.
Thank you for the report. Next time, you can improve a report by writing the complete package name in the subject line and using the attach function for long logs.
*** This bug has been marked as a duplicate of bug 617882 ***