Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558058 - www-client/firefox-42.0-r2 can't compile on armv6j-hardfp, armv7a-hardfp, armv7a-hardfp-hardened
Summary: www-client/firefox-42.0-r2 can't compile on armv6j-hardfp, armv7a-hardfp, arm...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-18 06:37 UTC by Michael Jones
Modified: 2017-08-26 17:57 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Jones 2015-08-18 06:37:10 UTC
I should point out that I can compile other programs just fine, including earlier versions of firefox.




armv7a-hardfp ~ # emerge --info firefox ; emerge -pqv firefox
Portage 2.2.20.1 (python 3.4.1-final-0, default/linux/arm/13.0/armv7a, gcc-4.8.4, glibc-2.20-r2, 4.1.4-hardened armv7l)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.1.4-hardened-armv7l-with-gentoo-2.2
KiB Mem:    49456296 total,  22756428 free
KiB Swap:   52428796 total,  52423332 free
Timestamp of repository gentoo: Mon, 17 Aug 2015 19:00:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 armv7a-hardfloat-linux-gnueabi [disabled]
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/cmake:           2.8.12.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

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

Installed sets: @archive, @base-system, @desktop-applications, @development-cli, @development-gui, @java, @lxde, @network-manager, @portage, @qt, @vcs
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/lib/libreoffice/program/sofficerc /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --jobs --keep-going --newuse --deep --backtrack=3000 --complete-graph --with-bdeps=y"
FCFLAGS="-O2 -pipe -march=armv7-a"
FEATURES="assume-digests binpkg-logs buildpkg clean-logs compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms split-elog split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=armv7-a"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://mirrors.rit.edu/gentoo/ http://mirror.datapipe.net/gentoo http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.mirrors.hoobly.com/ http://gentoo.netnitco.net"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j30"
PKGDIR="/usr/portage-packages"
PORTAGE_COMPRESS="xz"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa apng arm armv5te armv6 armv6t2 autoipd avahi berkdb bindist branding bzip2 cairo cdda cdr clang cli cracklib crypt cxx dbus dconf dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gd gdbm gif gnome-keyring gpm gstreamer gtk gudev iconv icu ipv6 jpeg lcms libnotify libsecret mad mdnsresponder-compat minizip mng modules mp3 mp4 mpeg ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio python qt4 qt5 readline samba sdl session sound spell sqlite ssl startup-notification svg systemd tcpd theora threads tiff truetype udev udisks unicode upower usb vorbis wifi xattr xcb xinerama xml xv xvid zeroconf 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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="coreboot efi-32 efi-64 emu qemu pc" INPUT_DEVICES="evdev synaptics mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="arm aarch64 i386 x86_64" QEMU_USER_TARGETS="arm aarch64 i386 x86_64" RUBY_TARGETS="ruby19 ruby20 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="modesetting fbdev" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

www-client/firefox-31.8.0::gentoo was built with the following:
USE="gstreamer jit minimal pulseaudio startup-notification system-cairo system-jpeg system-sqlite -bindist -custom-cflags -custom-optimization -dbus -debug (-hardened) (-pgo) (-selinux) -system-icu -system-libvpx -test -wifi" LINGUAS="-af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -csb -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 -ku -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 -zu"
CFLAGS="-pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
CXXFLAGS="-pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"






[ebuild     U ] www-client/firefox-40.0.2 [31.8.0] USE="gstreamer jit minimal pulseaudio startup-notification system-cairo system-jpeg system-sqlite -bindist -custom-cflags -custom-optimization -dbus -debug -egl% -gmp-autoupdate% -gstreamer-0% (-hardened) -jemalloc3% -neon% (-pgo) (-selinux) -system-icu -system-libvpx {-test} -wifi" 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 (-csb%) (-ku%) (-zu%)" 


Reproducible: Always
Comment 1 Michael Jones 2015-08-18 06:37:32 UTC



armv7a-hardfp ~ # emerge -1 --ignore-default-opts firefox
Calculating dependencies... done!

>>> Verifying ebuild manifests
>>> Running pre-merge checks for www-client/firefox-40.0.2
 * Checking for at least 4 GiB disk space at "/var/tmp/portage/www-client/firefox-40.0.2/temp" ...                                                                                                                                    [ ok ]

>>> Emerging (1 of 1) www-client/firefox-40.0.2::gentoo
 * firefox-40.0-patches-0.01.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                              [ ok ]
 * firefox-40.0.2.source.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                 [ ok ]
 * 
 * You are enabling official branding. You may not redistribute this build
 * to any users on your network or the internet. Doing so puts yourself into
 * a legal problem with Mozilla Foundation
 * You can disable it by emerging firefox _with_ the bindist USE-flag
>>> Unpacking source...
>>> Unpacking firefox-40.0-patches-0.01.tar.xz to /var/tmp/portage/www-client/firefox-40.0.2/work
>>> Unpacking firefox-40.0.2.source.tar.bz2 to /var/tmp/portage/www-client/firefox-40.0.2/work
>>> Source unpacked in /var/tmp/portage/www-client/firefox-40.0.2/work
>>> Preparing source in /var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release ...
 * Applying various patches (bugfixes/updates) ...
 *   2000-firefox_gentoo_install_dirs.patch ...                                                                                                                                                                                       [ ok ]
 *   2002_fix-preferences-gentoo.patch ...                                                                                                                                                                                            [ ok ]
 *   5001_allow_locked_prefs_v3.patch ...                                                                                                                                                                                             [ ok ]
 *   5002_avoid_spurious_run_items_in_application_handlers.patch ...                                                                                                                                                                  [ ok ]
 *   6001_add_alpha_defines_in_ipc.patch ...                                                                                                                                                                                          [ ok ]
 *   7000_drop-Wl-build-id_v4.patch ...                                                                                                                                                                                               [ ok ]
 *   7003_freebsd_jscpucfg.patch ...                                                                                                                                                                                                  [ ok ]
 *   7004_freebsd_libexecinfo_v3.patch ...                                                                                                                                                                                            [ ok ]
 *   8001_hppa_js_configure.patch ...                                                                                                                                                                                                 [ ok ]
 *   8002_jemalloc_configure_unbashify.patch ...                                                                                                                                                                                      [ ok ]
 *   8003_gmp_clearkey_sprintf.patch ...                                                                                                                                                                                              [ ok ]
 * Done with patching
 * Applying firefox-38-hppa-js-syntax-error.patch ...                                                                                                                                                                                 [ ok ]
 * Running eautoreconf in '/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release' ...
 * Running autoconf ...                                                                                                                                                                                                               [ ok ]
 * Running elibtoolize in: mozilla-release/
 * Running elibtoolize in: mozilla-release/intl/icu/source/
 * Running elibtoolize in: mozilla-release/ipc/chromium/src/third_party/libevent/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
 *   Applying target-nm/2.4.2 patch ...
 * Running elibtoolize in: mozilla-release/js/src/
 * Running elibtoolize in: mozilla-release/js/src/ctypes/libffi/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
 *   Applying target-nm/2.4.2 patch ...
 * Running elibtoolize in: mozilla-release/memory/jemalloc/src/
 * Running elibtoolize in: mozilla-release/modules/freetype2/
 * Running elibtoolize in: mozilla-release/modules/freetype2/builds/unix/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 * Running elibtoolize in: mozilla-release/nsprpub/
 * Running elibtoolize in: mozilla-release/python/mozbuild/mozbuild/
 * Running elibtoolize in: mozilla-release/security/nss/tests/pkcs11/netscape/trivial/
 * Running elibtoolize in: mozilla-release/toolkit/crashreporter/google-breakpad/
 * Running elibtoolize in: mozilla-release/toolkit/crashreporter/google-breakpad/autotools/
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 * Running elibtoolize in: mozilla-release/toolkit/crashreporter/google-breakpad/src/third_party/glog/
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 *   Applying target-nm/2.4.2 patch ...
 * Running autoconf ...                                                                                                                                                                                                               [ ok ]
 * Running autoconf ...                                                                                                                                                                                                               [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release ...

==========================================================
Building firefox-40.0.2 with the following configuration
    --enable-application=browser    mozilla.org default
    --enable-optimize               mozilla default
    --disable-pedantic              disable_update_strip
    --disable-updater               disable_update_strip
    --disable-strip                 disable_update_strip
    --disable-install-strip         disable_update_strip
    --disable-installer             disable_update_strip
    --disable-strip-libs            disable_update_strip
    --disable-profilelocking        basic_profile
    --enable-single-profile         basic_profile
    --disable-profilesharing        basic_profile
    --with-system-zlib              system_libs
    --enable-pango                  system_libs
    --enable-svg                    system_libs
    --with-system-bz2               system_libs
    --enable-default-toolkit=cairo-gtk2  mozilla.org default
    --enable-official-branding      +!bindist
    --disable-debug                 -debug
    --disable-tests                 -debug
    --disable-debug-symbols         disabled by Gentoo
    --enable-startup-notification   +startup-notification
    --disable-necko-wifi            -wifi
    --disable-dbus                  -dbus
    --enable-ogg                    required
    --enable-wave                   required
    --enable-ion                    +jit
    --with-system-nspr              mozilla.org default
    --with-nspr-prefix=/usr         mozilla.org default
    --with-system-nss               mozilla.org default
    --with-nss-prefix=/usr          mozilla.org default
    --x-includes=/usr/include       mozilla.org default
    --x-libraries=/usr/lib          mozilla.org default
    --with-system-libevent=/usr     mozilla.org default
    --prefix=/usr                   mozilla.org default
    --libdir=/usr/lib               mozilla.org default
    --enable-system-hunspell        Gentoo default
    --disable-gnomevfs              mozilla.org default
    --disable-gnomeui               mozilla.org default
    --enable-gio                    mozilla.org default
    --disable-crashreporter         mozilla.org default
    --with-system-png               Gentoo default
    --enable-system-ffi             mozilla.org default
    --disable-gold                  Gentoo default to honor system linker
    --disable-gconf                 mozilla.org default
    --target=armv7a-hardfloat-linux-gnueabi  mozilla.org default
    --build=armv7a-hardfloat-linux-gnueabi  mozilla.org default
    --enable-gstreamer=1.0          +gstreamer
    --enable-pulseaudio             +pulseaudio
    --enable-system-cairo           +system-cairo
    --enable-system-sqlite          +system-sqlite
    --with-system-jpeg              +system-jpeg
    --without-system-icu            -system-icu
    --disable-intl-api              -system-icu
    --without-system-libvpx         -system-libvpx
    --with-float-abi=hard           mozilla.org default
    --enable-skia                   mozilla.org default
    --with-google-api-keyfile=/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/google-api-key  mozilla.org default
    --enable-extensions=default     mozilla.org default
    --disable-mailnews              mozilla.org default
    --with-default-mozilla-five-home=/usr/lib/firefox  mozilla.org default
==========================================================

make -j30 -f client.mk configure 
 * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p 
Traceback (most recent call last):
  File "/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/mach", line 148, in <module>
    main(sys.argv[1:])
  File "/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/mach", line 76, in main
    mach = get_mach()
  File "/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/mach", line 67, in get_mach
    mach = check_and_get_mach(dir_path)
  File "/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/mach", line 42, in check_and_get_mach
    return load_mach(dir_path, mach_path)
  File "/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/mach", line 30, in load_mach
    return mach_bootstrap.bootstrap(dir_path)
  File "/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/build/mach_bootstrap.py", line 220, in bootstrap
    mach.load_commands_from_file(os.path.join(mozilla_dir, path))
  File "/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/python/mach/mach/main.py", line 266, in load_commands_from_file
    imp.load_source(module_name, path)
  File "/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/addon-sdk/mach_commands.py", line 13, in <module>
    from mozbuild.base import (
  File "/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/python/mozbuild/mozbuild/base.py", line 17, in <module>
    from mach.mixin.process import ProcessExecutionMixin
  File "/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/python/mach/mach/mixin/process.py", line 29, in <module>
    raise Exception('Could not detect environment shell!')
Exception: Could not detect environment shell!
client.mk:201: /.mozconfig.mk: No such file or directory
 * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p 
Traceback (most recent call last):
  File "/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/mach", line 148, in <module>
    main(sys.argv[1:])
  File "/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/mach", line 76, in main
    mach = get_mach()
  File "/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/mach", line 67, in get_mach
    mach = check_and_get_mach(dir_path)
  File "/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/mach", line 42, in check_and_get_mach
    return load_mach(dir_path, mach_path)
  File "/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/mach", line 30, in load_mach
    return mach_bootstrap.bootstrap(dir_path)
  File "/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/build/mach_bootstrap.py", line 220, in bootstrap
    mach.load_commands_from_file(os.path.join(mozilla_dir, path))
  File "/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/python/mach/mach/main.py", line 266, in load_commands_from_file
    imp.load_source(module_name, path)
  File "/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/addon-sdk/mach_commands.py", line 13, in <module>
    from mozbuild.base import (
  File "/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/python/mozbuild/mozbuild/base.py", line 17, in <module>
    from mach.mixin.process import ProcessExecutionMixin
  File "/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/python/mach/mach/mixin/process.py", line 29, in <module>
    raise Exception('Could not detect environment shell!')
Exception: Could not detect environment shell!
/usr/bin/python2.7 /var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/config/pythonpath.py -I /var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/testing/mozbase/mozfile \
    /var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release/python/mozbuild/mozbuild/controller/clobber.py /var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release 
Usage: clobber.py topsrcdir topobjdir
client.mk:334: recipe for target '/CLOBBER' failed
make: *** [/CLOBBER] Error 1
 * ERROR: www-client/firefox-40.0.2::gentoo failed (configure phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=www-client/firefox-40.0.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-40.0.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/www-client/firefox-40.0.2/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-40.0.2/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release'
 * S: '/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release'

>>> Failed to emerge www-client/firefox-40.0.2, Log file:

>>>  '/var/tmp/portage/www-client/firefox-40.0.2/temp/build.log.gz'

 * Messages for package www-client/firefox-40.0.2:

 * You are enabling official branding. You may not redistribute this build
 * to any users on your network or the internet. Doing so puts yourself into
 * a legal problem with Mozilla Foundation
 * You can disable it by emerging firefox _with_ the bindist USE-flag
 * ERROR: www-client/firefox-40.0.2::gentoo failed (configure phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=www-client/firefox-40.0.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-40.0.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/www-client/firefox-40.0.2/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-40.0.2/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release'
 * S: '/var/tmp/portage/www-client/firefox-40.0.2/work/mozilla-release'
Comment 2 Jan Pobrislo 2015-08-27 13:08:39 UTC
I can reproduce this on ~amd64 from-scratch built chroot. Earlier version fails with the same error though.
Comment 3 Michael Jones 2015-12-11 23:42:06 UTC
Still broken on firefox-42.0-r2, with armv6j-hardfp




server-blade-one ~ # zcat /var/lib/container/armv6j-hardfp//var/tmp/portage/www-client/firefox-42.0-r2/temp/build.log.gz
 * Package:    www-client/firefox-42.0-r2
 * Repository: gentoo
 * Maintainer: mozilla@gentoo.org
 * USE:        arm egl elibc_glibc gmp-autoupdate gstreamer jemalloc3 jit kernel_linux minimal pulseaudio startup-notification system-cairo system-jpeg system-sqlite userland_GNU
 * FEATURES:   compressdebug installsources preserve-libs sandbox splitdebug userpriv usersandbox
 *
 * You are enabling official branding. You may not redistribute this build
 * to any users on your network or the internet. Doing so puts yourself into
 * a legal problem with Mozilla Foundation
 * You can disable it by emerging firefox _with_ the bindist USE-flag
>>> Unpacking source...
>>> Unpacking firefox-42.0-patches-0.3.tar.xz to /var/tmp/portage/www-client/firefox-42.0-r2/work
>>> Unpacking firefox-42.0.source.tar.xz to /var/tmp/portage/www-client/firefox-42.0-r2/work
>>> Source unpacked in /var/tmp/portage/www-client/firefox-42.0-r2/work
>>> Preparing source in /var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0 ...
 * Applying various patches (bugfixes/updates) ...
 *   0002-Use-C99-math-isfinite.patch ...
 [ ok ]
 *   2000-firefox_gentoo_install_dirs.patch ...
 [ ok ]
 *   2002_fix-preferences-gentoo.patch ...
 [ ok ]
 *   5001_allow_locked_prefs_v3.patch ...
 [ ok ]
 *   5002_avoid_spurious_run_items_in_application_handlers_v2.patch ...
 [ ok ]
 *   6001_add_alpha_defines_in_ipc.patch ...
 [ ok ]
 *   7000_drop-Wl-build-id_v4.patch ...
 [ ok ]
 *   7003_freebsd_jscpucfg.patch ...
 [ ok ]
 *   7004_freebsd_libexecinfo_v3.patch ...
 [ ok ]
 *   7005_dont-hardcode-libc-soname-in-python.patch ...
 [ ok ]
 *   8001_hppa_js_configure.patch ...
 [ ok ]
 *   8002_jemalloc_configure_unbashify.patch ...
 [ ok ]
 *   8003_gmp_clearkey_sprintf.patch ...
 [ ok ]
 *   8011_bug1194520-freetype261_until_moz43.patch ...
 [ ok ]
 *   8012_egl.patch ...
 [ ok ]
 *   allow-utf8-fallback.patch ...
 [ ok ]
 *   fix-arm-atomics-grsec.patch ...
 [ ok ]
 *   fix-fortify-inline.patch ...
 [ ok ]
 *   fix-fortify-system-wrappers.patch ...
 [ ok ]
 *   fix-seccomp-bpf.patch ...
 [ ok ]
 *   fix-toolkit.patch ...
 [ ok ]
 *   fix-tools.patch ...
 [ ok ]
 *   libavutil.patch ...
 [ ok ]
 *   mozilla-build-arm.patch ...
 [ ok ]
 *   rhbz-966424.patch ...
 [ ok ]
 *   skia-musl-support.patch ...
 [ ok ]
 * Done with patching
 * Running eautoreconf in '/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0' ...
 * Running autoconf ...
 [ ok ]
 * Running elibtoolize in: firefox-42.0/
 * Running elibtoolize in: firefox-42.0/intl/icu/source/
 * Running elibtoolize in: firefox-42.0/ipc/chromium/src/third_party/libevent/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
 *   Applying target-nm/2.4.2 patch ...
 * Running elibtoolize in: firefox-42.0/js/src/
 * Running elibtoolize in: firefox-42.0/js/src/ctypes/libffi/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
 *   Applying target-nm/2.4.2 patch ...
 * Running elibtoolize in: firefox-42.0/memory/jemalloc/src/
 * Running elibtoolize in: firefox-42.0/modules/freetype2/
 * Running elibtoolize in: firefox-42.0/modules/freetype2/builds/unix/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
 * Running elibtoolize in: firefox-42.0/nsprpub/
 * Running elibtoolize in: firefox-42.0/python/mozbuild/mozbuild/
 * Running elibtoolize in: firefox-42.0/security/nss/tests/pkcs11/netscape/trivial/
 * Running elibtoolize in: firefox-42.0/toolkit/crashreporter/google-breakpad/
 * Running elibtoolize in: firefox-42.0/toolkit/crashreporter/google-breakpad/autotools/
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 * Running elibtoolize in: firefox-42.0/toolkit/crashreporter/google-breakpad/src/third_party/glog/
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 *   Applying target-nm/2.4.2 patch ...
 * Running autoconf ...
 [ ok ]
 * Running autoconf ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0 ...

==========================================================
Building firefox-42.0-r2 with the following configuration
    --enable-application=browser    mozilla.org default
    --enable-optimize               mozilla default
    --disable-pedantic              disable_update_strip
    --disable-updater               disable_update_strip
    --disable-strip                 disable_update_strip
    --disable-install-strip         disable_update_strip
    --disable-installer             disable_update_strip
    --disable-strip-libs            disable_update_strip
    --disable-profilelocking        basic_profile
    --enable-single-profile         basic_profile
    --disable-profilesharing        basic_profile
    --with-system-zlib              system_libs
    --enable-pango                  system_libs
    --enable-svg                    system_libs
    --with-system-bz2               system_libs
    --enable-default-toolkit=cairo-gtk2  gtk3 use flag
    --enable-official-branding      +!bindist
    --disable-debug                 -debug
    --disable-tests                 -debug
    --disable-debug-symbols         disabled by Gentoo
    --enable-startup-notification   +startup-notification
    --disable-necko-wifi            -wifi
    --disable-dbus                  -dbus
    --enable-ogg                    required
    --enable-wave                   required
    --enable-ion                    +jit
    --with-system-nspr              mozilla.org default
    --with-nspr-prefix=/usr         mozilla.org default
    --with-system-nss               mozilla.org default
    --with-nss-prefix=/usr          mozilla.org default
    --x-includes=/usr/include       mozilla.org default
    --x-libraries=/usr/lib          mozilla.org default
    --with-system-libevent=/usr     mozilla.org default
    --prefix=/usr                   mozilla.org default
    --libdir=/usr/lib               mozilla.org default
    --enable-system-hunspell        Gentoo default
    --disable-gnomevfs              mozilla.org default
    --disable-gnomeui               mozilla.org default
    --enable-gio                    mozilla.org default
    --disable-crashreporter         mozilla.org default
    --with-system-png               Gentoo default
    --enable-system-ffi             mozilla.org default
    --disable-gold                  Gentoo default to honor system linker
    --disable-skia                  Gentoo default
    --disable-gconf                 mozilla.org default
    --enable-jemalloc               mozilla.org default
    --enable-replace-malloc         mozilla.org default
    --target=armv6j-hardfloat-linux-gnueabi  mozilla.org default
    --build=armv6j-hardfloat-linux-gnueabi  mozilla.org default
    --enable-gstreamer=1.0          +gstreamer
    --enable-pulseaudio             +pulseaudio
    --enable-system-cairo           +system-cairo
    --enable-system-sqlite          +system-sqlite
    --with-system-jpeg              +system-jpeg
    --without-system-icu            -system-icu
    --disable-intl-api              -system-icu
    --without-system-libvpx         -system-libvpx
    --with-float-abi=hard           mozilla.org default
    --enable-skia                   mozilla.org default
    --with-gl-provider=EGL          Enable EGL as GL provider
    --with-google-api-keyfile=/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/google-api-key  mozilla.org default
    --enable-extensions=default     mozilla.org default
    --disable-mailnews              mozilla.org default
    --with-default-mozilla-five-home=/usr/lib/firefox  mozilla.org default
==========================================================

make -j30 -f client.mk configure
Traceback (most recent call last):
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 148, in <module>
    main(sys.argv[1:])
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 76, in main
    mach = get_mach()
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 67, in get_mach
    mach = check_and_get_mach(dir_path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 42, in check_and_get_mach
    return load_mach(dir_path, mach_path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 30, in load_mach
    return mach_bootstrap.bootstrap(dir_path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/build/mach_bootstrap.py", line 330, in bootstrap
    mach.load_commands_from_file(os.path.join(mozilla_dir, path))
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/python/mach/mach/main.py", line 258, in load_commands_from_file
    imp.load_source(module_name, path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/addon-sdk/mach_commands.py", line 13, in <module>
    from mozbuild.base import (
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/build/mach_bootstrap.py", line 356, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/python/mozbuild/mozbuild/base.py", line 17, in <module>
    from mach.mixin.process import ProcessExecutionMixin
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/build/mach_bootstrap.py", line 356, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/python/mach/mach/mixin/process.py", line 29, in <module>
    raise Exception('Could not detect environment shell!')
Exception: Could not detect environment shell!
client.mk:201: /.mozconfig.mk: No such file or directory
Traceback (most recent call last):
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 148, in <module>
    main(sys.argv[1:])
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 76, in main
    mach = get_mach()
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 67, in get_mach
    mach = check_and_get_mach(dir_path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 42, in check_and_get_mach
    return load_mach(dir_path, mach_path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 30, in load_mach
    return mach_bootstrap.bootstrap(dir_path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/build/mach_bootstrap.py", line 330, in bootstrap
    mach.load_commands_from_file(os.path.join(mozilla_dir, path))
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/python/mach/mach/main.py", line 258, in load_commands_from_file
    imp.load_source(module_name, path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/addon-sdk/mach_commands.py", line 13, in <module>
    from mozbuild.base import (
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/build/mach_bootstrap.py", line 356, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/python/mozbuild/mozbuild/base.py", line 17, in <module>
    from mach.mixin.process import ProcessExecutionMixin
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/build/mach_bootstrap.py", line 356, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/python/mach/mach/mixin/process.py", line 29, in <module>
    raise Exception('Could not detect environment shell!')
Exception: Could not detect environment shell!
/usr/bin/python2.7 /var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/config/pythonpath.py -I /var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/testing/mozbase/mozfile \
    /var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/python/mozbuild/mozbuild/controller/clobber.py /var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0
Usage: clobber.py topsrcdir topobjdir
client.mk:335: recipe for target '/CLOBBER' failed
make: *** [/CLOBBER] Error 1
 * ERROR: www-client/firefox-42.0-r2::gentoo failed (configure phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=www-client/firefox-42.0-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-42.0-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/www-client/firefox-42.0-r2/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-42.0-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0'
 * S: '/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0'
Comment 4 Michael Jones 2015-12-11 23:48:33 UTC
Same with armv7a-hardfp

 * Package:    www-client/firefox-42.0-r2
 * Repository: gentoo
 * Maintainer: mozilla@gentoo.org
 * USE:        arm egl elibc_glibc gmp-autoupdate gstreamer jemalloc3 jit kernel_linux minimal pulseaudio startup-notification system-cairo system-jpeg system-sqlite userland_GNU
 * FEATURES:   compressdebug installsources preserve-libs sandbox splitdebug userpriv usersandbox
 *
 * You are enabling official branding. You may not redistribute this build
 * to any users on your network or the internet. Doing so puts yourself into
 * a legal problem with Mozilla Foundation
 * You can disable it by emerging firefox _with_ the bindist USE-flag
>>> Unpacking source...
>>> Unpacking firefox-42.0-patches-0.3.tar.xz to /var/tmp/portage/www-client/firefox-42.0-r2/work
>>> Unpacking firefox-42.0.source.tar.xz to /var/tmp/portage/www-client/firefox-42.0-r2/work
>>> Source unpacked in /var/tmp/portage/www-client/firefox-42.0-r2/work
>>> Preparing source in /var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0 ...
 * Applying various patches (bugfixes/updates) ...
 *   0002-Use-C99-math-isfinite.patch ...
 [ ok ]
 *   2000-firefox_gentoo_install_dirs.patch ...
 [ ok ]
 *   2002_fix-preferences-gentoo.patch ...
 [ ok ]
 *   5001_allow_locked_prefs_v3.patch ...
 [ ok ]
 *   5002_avoid_spurious_run_items_in_application_handlers_v2.patch ...
 [ ok ]
 *   6001_add_alpha_defines_in_ipc.patch ...
 [ ok ]
 *   7000_drop-Wl-build-id_v4.patch ...
 [ ok ]
 *   7003_freebsd_jscpucfg.patch ...
 [ ok ]
 *   7004_freebsd_libexecinfo_v3.patch ...
 [ ok ]
 *   7005_dont-hardcode-libc-soname-in-python.patch ...
 [ ok ]
 *   8001_hppa_js_configure.patch ...
 [ ok ]
 *   8002_jemalloc_configure_unbashify.patch ...
 [ ok ]
 *   8003_gmp_clearkey_sprintf.patch ...
 [ ok ]
 *   8011_bug1194520-freetype261_until_moz43.patch ...
 [ ok ]
 *   8012_egl.patch ...
 [ ok ]
 *   allow-utf8-fallback.patch ...
 [ ok ]
 *   fix-arm-atomics-grsec.patch ...
 [ ok ]
 *   fix-fortify-inline.patch ...
 [ ok ]
 *   fix-fortify-system-wrappers.patch ...
 [ ok ]
 *   fix-seccomp-bpf.patch ...
 [ ok ]
 *   fix-toolkit.patch ...
 [ ok ]
 *   fix-tools.patch ...
 [ ok ]
 *   libavutil.patch ...
 [ ok ]
 *   mozilla-build-arm.patch ...
 [ ok ]
 *   rhbz-966424.patch ...
 [ ok ]
 *   skia-musl-support.patch ...
 [ ok ]
 * Done with patching
 * Running eautoreconf in '/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0' ...
 * Running autoconf ...
 [ ok ]
 * Running elibtoolize in: firefox-42.0/
 * Running elibtoolize in: firefox-42.0/intl/icu/source/
 * Running elibtoolize in: firefox-42.0/ipc/chromium/src/third_party/libevent/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
 *   Applying target-nm/2.4.2 patch ...
 * Running elibtoolize in: firefox-42.0/js/src/
 * Running elibtoolize in: firefox-42.0/js/src/ctypes/libffi/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
 *   Applying target-nm/2.4.2 patch ...
 * Running elibtoolize in: firefox-42.0/memory/jemalloc/src/
 * Running elibtoolize in: firefox-42.0/modules/freetype2/
 * Running elibtoolize in: firefox-42.0/modules/freetype2/builds/unix/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
 * Running elibtoolize in: firefox-42.0/nsprpub/
 * Running elibtoolize in: firefox-42.0/python/mozbuild/mozbuild/
 * Running elibtoolize in: firefox-42.0/security/nss/tests/pkcs11/netscape/trivial/
 * Running elibtoolize in: firefox-42.0/toolkit/crashreporter/google-breakpad/
 * Running elibtoolize in: firefox-42.0/toolkit/crashreporter/google-breakpad/autotools/
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 * Running elibtoolize in: firefox-42.0/toolkit/crashreporter/google-breakpad/src/third_party/glog/
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 *   Applying target-nm/2.4.2 patch ...
 * Running autoconf ...
 [ ok ]
 * Running autoconf ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0 ...

==========================================================
Building firefox-42.0-r2 with the following configuration
    --enable-application=browser    mozilla.org default
    --enable-optimize               mozilla default
    --disable-pedantic              disable_update_strip
    --disable-updater               disable_update_strip
    --disable-strip                 disable_update_strip
    --disable-install-strip         disable_update_strip
    --disable-installer             disable_update_strip
    --disable-strip-libs            disable_update_strip
    --disable-profilelocking        basic_profile
    --enable-single-profile         basic_profile
    --disable-profilesharing        basic_profile
    --with-system-zlib              system_libs
    --enable-pango                  system_libs
    --enable-svg                    system_libs
    --with-system-bz2               system_libs
    --enable-default-toolkit=cairo-gtk2  gtk3 use flag
    --enable-official-branding      +!bindist
    --disable-debug                 -debug
    --disable-tests                 -debug
    --disable-debug-symbols         disabled by Gentoo
    --enable-startup-notification   +startup-notification
    --disable-necko-wifi            -wifi
    --disable-dbus                  -dbus
    --enable-ogg                    required
    --enable-wave                   required
    --enable-ion                    +jit
    --with-system-nspr              mozilla.org default
    --with-nspr-prefix=/usr         mozilla.org default
    --with-system-nss               mozilla.org default
    --with-nss-prefix=/usr          mozilla.org default
    --x-includes=/usr/include       mozilla.org default
    --x-libraries=/usr/lib          mozilla.org default
    --with-system-libevent=/usr     mozilla.org default
    --prefix=/usr                   mozilla.org default
    --libdir=/usr/lib               mozilla.org default
    --enable-system-hunspell        Gentoo default
    --disable-gnomevfs              mozilla.org default
    --disable-gnomeui               mozilla.org default
    --enable-gio                    mozilla.org default
    --disable-crashreporter         mozilla.org default
    --with-system-png               Gentoo default
    --enable-system-ffi             mozilla.org default
    --disable-gold                  Gentoo default to honor system linker
    --disable-skia                  Gentoo default
    --disable-gconf                 mozilla.org default
    --enable-jemalloc               mozilla.org default
    --enable-replace-malloc         mozilla.org default
    --target=armv7a-hardfloat-linux-gnueabi  mozilla.org default
    --build=armv7a-hardfloat-linux-gnueabi  mozilla.org default
    --enable-gstreamer=1.0          +gstreamer
    --enable-pulseaudio             +pulseaudio
    --enable-system-cairo           +system-cairo
    --enable-system-sqlite          +system-sqlite
    --with-system-jpeg              +system-jpeg
    --without-system-icu            -system-icu
    --disable-intl-api              -system-icu
    --without-system-libvpx         -system-libvpx
    --with-float-abi=hard           mozilla.org default
    --enable-skia                   mozilla.org default
    --with-gl-provider=EGL          Enable EGL as GL provider
    --with-google-api-keyfile=/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/google-api-key  mozilla.org default
    --enable-extensions=default     mozilla.org default
    --disable-mailnews              mozilla.org default
    --with-default-mozilla-five-home=/usr/lib/firefox  mozilla.org default
==========================================================

make -j30 -f client.mk configure
Traceback (most recent call last):
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 148, in <module>
    main(sys.argv[1:])
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 76, in main
    mach = get_mach()
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 67, in get_mach
    mach = check_and_get_mach(dir_path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 42, in check_and_get_mach
    return load_mach(dir_path, mach_path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 30, in load_mach
    return mach_bootstrap.bootstrap(dir_path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/build/mach_bootstrap.py", line 330, in bootstrap
    mach.load_commands_from_file(os.path.join(mozilla_dir, path))
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/python/mach/mach/main.py", line 258, in load_commands_from_file
    imp.load_source(module_name, path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/addon-sdk/mach_commands.py", line 13, in <module>
    from mozbuild.base import (
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/build/mach_bootstrap.py", line 356, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/python/mozbuild/mozbuild/base.py", line 17, in <module>
    from mach.mixin.process import ProcessExecutionMixin
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/build/mach_bootstrap.py", line 356, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/python/mach/mach/mixin/process.py", line 29, in <module>
    raise Exception('Could not detect environment shell!')
Exception: Could not detect environment shell!
client.mk:201: /.mozconfig.mk: No such file or directory
Traceback (most recent call last):
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 148, in <module>
    main(sys.argv[1:])
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 76, in main
    mach = get_mach()
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 67, in get_mach
    mach = check_and_get_mach(dir_path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 42, in check_and_get_mach
    return load_mach(dir_path, mach_path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 30, in load_mach
    return mach_bootstrap.bootstrap(dir_path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/build/mach_bootstrap.py", line 330, in bootstrap
    mach.load_commands_from_file(os.path.join(mozilla_dir, path))
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/python/mach/mach/main.py", line 258, in load_commands_from_file
    imp.load_source(module_name, path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/addon-sdk/mach_commands.py", line 13, in <module>
    from mozbuild.base import (
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/build/mach_bootstrap.py", line 356, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/python/mozbuild/mozbuild/base.py", line 17, in <module>
    from mach.mixin.process import ProcessExecutionMixin
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/build/mach_bootstrap.py", line 356, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/python/mach/mach/mixin/process.py", line 29, in <module>
    raise Exception('Could not detect environment shell!')
Exception: Could not detect environment shell!
/usr/bin/python2.7 /var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/config/pythonpath.py -I /var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/testing/mozbase/mozfile \
    /var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/python/mozbuild/mozbuild/controller/clobber.py /var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0
Usage: clobber.py topsrcdir topobjdir
client.mk:335: recipe for target '/CLOBBER' failed
make: *** [/CLOBBER] Error 1
 * ERROR: www-client/firefox-42.0-r2::gentoo failed (configure phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=www-client/firefox-42.0-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-42.0-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/www-client/firefox-42.0-r2/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-42.0-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0'
 * S: '/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0'
Comment 5 Michael Jones 2015-12-11 23:56:05 UTC
Also happens on armv7a-hardfp-hardened

 * Package:    www-client/firefox-42.0-r2
 * Repository: gentoo
 * Maintainer: mozilla@gentoo.org
 * USE:        arm egl elibc_glibc gstreamer hardened jemalloc3 jit kernel_linux minimal pulseaudio startup-notification system-cairo system-jpeg system-sqlite userland_GNU
 * FEATURES:   compressdebug installsources preserve-libs sandbox splitdebug userpriv usersandbox
 *
 * You are enabling official branding. You may not redistribute this build
 * to any users on your network or the internet. Doing so puts yourself into
 * a legal problem with Mozilla Foundation
 * You can disable it by emerging firefox _with_ the bindist USE-flag
>>> Unpacking source...
>>> Unpacking firefox-42.0-patches-0.3.tar.xz to /var/tmp/portage/www-client/firefox-42.0-r2/work
>>> Unpacking firefox-42.0.source.tar.xz to /var/tmp/portage/www-client/firefox-42.0-r2/work
>>> Source unpacked in /var/tmp/portage/www-client/firefox-42.0-r2/work
>>> Preparing source in /var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0 ...
 * Applying various patches (bugfixes/updates) ...
 *   0002-Use-C99-math-isfinite.patch ...
 [ ok ]
 *   2000-firefox_gentoo_install_dirs.patch ...
 [ ok ]
 *   2002_fix-preferences-gentoo.patch ...
 [ ok ]
 *   5001_allow_locked_prefs_v3.patch ...
 [ ok ]
 *   5002_avoid_spurious_run_items_in_application_handlers_v2.patch ...
 [ ok ]
 *   6001_add_alpha_defines_in_ipc.patch ...
 [ ok ]
 *   7000_drop-Wl-build-id_v4.patch ...
 [ ok ]
 *   7003_freebsd_jscpucfg.patch ...
 [ ok ]
 *   7004_freebsd_libexecinfo_v3.patch ...
 [ ok ]
 *   7005_dont-hardcode-libc-soname-in-python.patch ...
 [ ok ]
 *   8001_hppa_js_configure.patch ...
 [ ok ]
 *   8002_jemalloc_configure_unbashify.patch ...
 [ ok ]
 *   8003_gmp_clearkey_sprintf.patch ...
 [ ok ]
 *   8011_bug1194520-freetype261_until_moz43.patch ...
 [ ok ]
 *   8012_egl.patch ...
 [ ok ]
 *   allow-utf8-fallback.patch ...
 [ ok ]
 *   fix-arm-atomics-grsec.patch ...
 [ ok ]
 *   fix-fortify-inline.patch ...
 [ ok ]
 *   fix-fortify-system-wrappers.patch ...
 [ ok ]
 *   fix-seccomp-bpf.patch ...
 [ ok ]
 *   fix-toolkit.patch ...
 [ ok ]
 *   fix-tools.patch ...
 [ ok ]
 *   libavutil.patch ...
 [ ok ]
 *   mozilla-build-arm.patch ...
 [ ok ]
 *   rhbz-966424.patch ...
 [ ok ]
 *   skia-musl-support.patch ...
 [ ok ]
 * Done with patching
 * Running eautoreconf in '/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0' ...
 * Running autoconf ...
 [ ok ]
 * Running elibtoolize in: firefox-42.0/
 * Running elibtoolize in: firefox-42.0/intl/icu/source/
 * Running elibtoolize in: firefox-42.0/ipc/chromium/src/third_party/libevent/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
 *   Applying target-nm/2.4.2 patch ...
 * Running elibtoolize in: firefox-42.0/js/src/
 * Running elibtoolize in: firefox-42.0/js/src/ctypes/libffi/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
 *   Applying target-nm/2.4.2 patch ...
 * Running elibtoolize in: firefox-42.0/memory/jemalloc/src/
 * Running elibtoolize in: firefox-42.0/modules/freetype2/
 * Running elibtoolize in: firefox-42.0/modules/freetype2/builds/unix/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
 * Running elibtoolize in: firefox-42.0/nsprpub/
 * Running elibtoolize in: firefox-42.0/python/mozbuild/mozbuild/
 * Running elibtoolize in: firefox-42.0/security/nss/tests/pkcs11/netscape/trivial/
 * Running elibtoolize in: firefox-42.0/toolkit/crashreporter/google-breakpad/
 * Running elibtoolize in: firefox-42.0/toolkit/crashreporter/google-breakpad/autotools/
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 * Running elibtoolize in: firefox-42.0/toolkit/crashreporter/google-breakpad/src/third_party/glog/
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 *   Applying target-nm/2.4.2 patch ...
 * Running autoconf ...
 [ ok ]
 * Running autoconf ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0 ...

==========================================================
Building firefox-42.0-r2 with the following configuration
    --enable-application=browser    mozilla.org default
    --enable-optimize               mozilla default
    --disable-pedantic              disable_update_strip
    --disable-updater               disable_update_strip
    --disable-strip                 disable_update_strip
    --disable-install-strip         disable_update_strip
    --disable-installer             disable_update_strip
    --disable-strip-libs            disable_update_strip
    --disable-profilelocking        basic_profile
    --enable-single-profile         basic_profile
    --disable-profilesharing        basic_profile
    --with-system-zlib              system_libs
    --enable-pango                  system_libs
    --enable-svg                    system_libs
    --with-system-bz2               system_libs
    --enable-default-toolkit=cairo-gtk2  gtk3 use flag
    --enable-official-branding      +!bindist
    --disable-debug                 -debug
    --disable-tests                 -debug
    --disable-debug-symbols         disabled by Gentoo
    --enable-startup-notification   +startup-notification
    --disable-necko-wifi            -wifi
    --disable-dbus                  -dbus
    --enable-ogg                    required
    --enable-wave                   required
    --enable-ion                    +jit
    --with-system-nspr              mozilla.org default
    --with-nspr-prefix=/usr         mozilla.org default
    --with-system-nss               mozilla.org default
    --with-nss-prefix=/usr          mozilla.org default
    --x-includes=/usr/include       mozilla.org default
    --x-libraries=/usr/lib          mozilla.org default
    --with-system-libevent=/usr     mozilla.org default
    --prefix=/usr                   mozilla.org default
    --libdir=/usr/lib               mozilla.org default
    --enable-system-hunspell        Gentoo default
    --disable-gnomevfs              mozilla.org default
    --disable-gnomeui               mozilla.org default
    --enable-gio                    mozilla.org default
    --disable-crashreporter         mozilla.org default
    --with-system-png               Gentoo default
    --enable-system-ffi             mozilla.org default
    --disable-gold                  Gentoo default to honor system linker
    --disable-skia                  Gentoo default
    --disable-gconf                 mozilla.org default
    --enable-jemalloc               mozilla.org default
    --enable-replace-malloc         mozilla.org default
    --target=armv7a-hardfloat-linux-gnueabi  mozilla.org default
    --build=armv7a-hardfloat-linux-gnueabi  mozilla.org default
    --enable-gstreamer=1.0          +gstreamer
    --enable-pulseaudio             +pulseaudio
    --enable-system-cairo           +system-cairo
    --enable-system-sqlite          +system-sqlite
    --with-system-jpeg              +system-jpeg
    --without-system-icu            -system-icu
    --disable-intl-api              -system-icu
    --without-system-libvpx         -system-libvpx
    --with-float-abi=hard           mozilla.org default
    --enable-skia                   mozilla.org default
    --with-gl-provider=EGL          Enable EGL as GL provider
    --with-google-api-keyfile=/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/google-api-key  mozilla.org default
    --enable-extensions=default     mozilla.org default
    --disable-mailnews              mozilla.org default
    --with-default-mozilla-five-home=/usr/lib/firefox  mozilla.org default
==========================================================

make -j30 -f client.mk configure
Traceback (most recent call last):
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 148, in <module>
    main(sys.argv[1:])
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 76, in main
    mach = get_mach()
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 67, in get_mach
    mach = check_and_get_mach(dir_path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 42, in check_and_get_mach
    return load_mach(dir_path, mach_path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 30, in load_mach
    return mach_bootstrap.bootstrap(dir_path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/build/mach_bootstrap.py", line 330, in bootstrap
    mach.load_commands_from_file(os.path.join(mozilla_dir, path))
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/python/mach/mach/main.py", line 258, in load_commands_from_file
    imp.load_source(module_name, path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/addon-sdk/mach_commands.py", line 13, in <module>
    from mozbuild.base import (
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/build/mach_bootstrap.py", line 356, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/python/mozbuild/mozbuild/base.py", line 17, in <module>
    from mach.mixin.process import ProcessExecutionMixin
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/build/mach_bootstrap.py", line 356, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/python/mach/mach/mixin/process.py", line 29, in <module>
    raise Exception('Could not detect environment shell!')
Exception: Could not detect environment shell!
client.mk:201: /.mozconfig.mk: No such file or directory
Traceback (most recent call last):
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 148, in <module>
    main(sys.argv[1:])
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 76, in main
    mach = get_mach()
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 67, in get_mach
    mach = check_and_get_mach(dir_path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 42, in check_and_get_mach
    return load_mach(dir_path, mach_path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/mach", line 30, in load_mach
    return mach_bootstrap.bootstrap(dir_path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/build/mach_bootstrap.py", line 330, in bootstrap
    mach.load_commands_from_file(os.path.join(mozilla_dir, path))
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/python/mach/mach/main.py", line 258, in load_commands_from_file
    imp.load_source(module_name, path)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/addon-sdk/mach_commands.py", line 13, in <module>
    from mozbuild.base import (
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/build/mach_bootstrap.py", line 356, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/python/mozbuild/mozbuild/base.py", line 17, in <module>
    from mach.mixin.process import ProcessExecutionMixin
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/build/mach_bootstrap.py", line 356, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)
  File "/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/python/mach/mach/mixin/process.py", line 29, in <module>
    raise Exception('Could not detect environment shell!')
Exception: Could not detect environment shell!
/usr/bin/python2.7 /var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/config/pythonpath.py -I /var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/testing/mozbase/mozfile \
    /var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/python/mozbuild/mozbuild/controller/clobber.py /var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0
Usage: clobber.py topsrcdir topobjdir
client.mk:335: recipe for target '/CLOBBER' failed
make: *** [/CLOBBER] Error 1
 * ERROR: www-client/firefox-42.0-r2::gentoo failed (configure phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=www-client/firefox-42.0-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-42.0-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/www-client/firefox-42.0-r2/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-42.0-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0'
 * S: '/var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0'
Comment 6 Ettore Di Giacinto (RETIRED) gentoo-dev 2016-01-25 11:18:01 UTC
Still same issue with www-client/firefox-43.0, i workarounded it supplying BASH=/bin/bash before the emerge
Comment 7 Ettore Di Giacinto (RETIRED) gentoo-dev 2016-01-25 11:19:29 UTC
pardon, s/BASH/SHELL/
SHELL=/bin/bash emerge www-client/firefox
Comment 8 Michael Jones 2016-02-13 08:45:03 UTC
Your suggestion seems to be the trick. I was able to get firefox to compile using it.
Comment 9 Michael Jones 2016-02-13 08:46:18 UTC
Your suggestion seems to be the trick. I was able to get firefox to compile using it.
Comment 10 Felix Janda 2016-04-30 15:30:39 UTC
This is the same as bug 577776.
Comment 11 Jory A. Pratt gentoo-dev 2017-08-26 17:57:05 UTC
If you feel I have closed your bug and it is still a current issue, please reopen and update it completely. We will not work bugs that have no ebuild in tree any longer or can not be reproduced with a current system.

Thank You for your support and understanding
The Mozilla Team