* Package:    www-client/firefox-51.0
 * Repository: gentoo
 * Maintainer: mozilla@gentoo.org
 * USE:        arm elibc_glibc hardened hwaccel kernel_linux l10n_ru skia userland_GNU
 * FEATURES:   distcc distcc-pump preserve-libs sandbox 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-51.0-ru.xpi to /var/tmp/portage/www-client/firefox-51.0/work
unpack firefox-51.0-ru.xpi: file format not recognized. Ignoring.
>>> Unpacking firefox-51.0.source.tar.xz to /var/tmp/portage/www-client/firefox-51.0/work
>>> Unpacking firefox-51.0-patches-06.tar.xz to /var/tmp/portage/www-client/firefox-51.0/work
 * Unpacking firefox-51.0-ru.xpi to /var/tmp/portage/www-client/firefox-51.0/work
 * Selected language packs (first will be default): ru
>>> Source unpacked in /var/tmp/portage/www-client/firefox-51.0/work
>>> Preparing source in /var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0 ...
 * Applying patches from /var/tmp/portage/www-client/firefox-51.0/work/firefox ...
 *   1000_gentoo_install_dir.patch ...
 [ ok ]
 *   1001_disable_sdk_install.patch ...
 [ ok ]
 *   1002_add_gentoo_preferences.patch ...
 [ ok ]
 *   1003_drop_build_id.patch ...
 [ ok ]
 *   1004_dont_hardcode_libc_soname.patch ...
 [ ok ]
 *   1005_gentoo_specific_pgo.patch ...
 [ ok ]
 *   2000_Use-C99-math-isfinite.patch ...
 [ ok ]
 *   2001_system_harfbuzz_graphite2.patch ...
 [ ok ]
 *   2002_binutils_26_bfd.patch ...
 [ ok ]
 *   2003_fix_build_libevent_21.patch ...
 [ ok ]
 *   6000_only_attempt_to_use_getcontext_on_glibc.patch ...
 [ ok ]
 *   6001_add_missing_header_for_basename.patch ...
 [ ok ]
 *   6002_add_alternate_name_for_private_siginfo_struct_member.patch ...
 [ ok ]
 *   6003_fix_syscall_wrappers_on_musl.patch ...
 [ ok ]
 * Applying fix_hardened_pie_detection.patch ...
 [ ok ]
 * Running eautoreconf in '/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0' ...
 * Running autoconf ...
 [ ok ]
 * Running elibtoolize in: firefox-51.0/
 * Running elibtoolize in: firefox-51.0/intl/icu/source/
 * Running elibtoolize in: firefox-51.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-51.0/js/src/
 * Running elibtoolize in: firefox-51.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-51.0/memory/jemalloc/src/
 * Running elibtoolize in: firefox-51.0/modules/freetype2/
 * Running elibtoolize in: firefox-51.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-51.0/nsprpub/
 * Running elibtoolize in: firefox-51.0/python/mozbuild/mozbuild/
 * Running elibtoolize in: firefox-51.0/python/mozbuild/mozbuild/test/
 * Running elibtoolize in: firefox-51.0/toolkit/crashreporter/google-breakpad/
 * Running elibtoolize in: firefox-51.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 autoconf old-configure.in ...
 [ ok ]
 * Running autoconf ...
 [ ok ]
>>> Source prepared.
/usr/bin/pump: error: pump mode requested, but distcc hosts list does not contain any hosts with ',cpp' option
>>> Configuring source in /var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0 ...

==========================================================
Building firefox-51.0 with the following configuration
    --enable-application=browser    mozilla.org default
    --enable-optimize               mozilla default
    --with-default-mozilla-five-home=/usr/lib/firefox  mozilla.org default
    --disable-updater               disable_update_strip
    --disable-strip                 disable_update_strip
    --disable-install-strip         disable_update_strip
    --with-system-zlib              system_libs
    --with-system-bz2               system_libs
    --enable-official-branding      +!bindist
    --enable-pie                    enabled by Gentoo
    --disable-debug                 -debug
    --disable-tests                 -debug
    --disable-debug-symbols         disabled by Gentoo
    --disable-startup-notification  -startup-notification
    --disable-necko-wifi            -wifi
    --disable-dbus                  -dbus
    --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
    --prefix=/usr                   mozilla.org default
    --libdir=/usr/lib               mozilla.org default
    --enable-system-hunspell        Gentoo 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
    --enable-skia                   +skia
    --disable-gconf                 mozilla.org default
    --with-intl-api                 mozilla.org default
    --enable-default-toolkit=cairo-gtk3  mozilla.org default
    --target=armv7a-hardfloat-linux-gnueabi  mozilla.org default
    --host=armv7a-hardfloat-linux-gnueabi  mozilla.org default
    --disable-pulseaudio            -pulseaudio
    --disable-system-cairo          -system-cairo
    --disable-system-sqlite         -system-sqlite
    --without-system-jpeg           -system-jpeg
    --without-system-icu            -system-icu
    --without-system-libvpx         -system-libvpx
    --without-system-harfbuzz       -system-harfbuzz
    --without-system-graphite2      -system-harfbuzz
    --with-float-abi=hard           mozilla.org default
    --enable-skia                   mozilla.org default
    --disable-jack                  -jack
    --with-google-api-keyfile=/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/google-api-key  mozilla.org default
    --enable-extensions=default     mozilla.org default
    --disable-rust                  -rust
==========================================================

make -j17 -l4 -f client.mk configure 
 * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p 
 * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p 
client.mk:202: /var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/ff/.mozconfig.mk: No such file or directory
 * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p 
 * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p 
mkdir -p '/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/ff/'
/usr/bin/python2.7 /var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/config/pythonpath.py -I /var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/testing/mozbase/mozfile \
    /var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/python/mozbuild/mozbuild/controller/clobber.py /var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0 /var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/ff
Clobber not needed.
> /var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/ff/.mozconfig.mk
 * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p 
 * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p 
 * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p 
 * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p 
Generating /var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/js/src/configure
cp -f /var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/js/src/configure.in /var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/js/src/configure
chmod +x /var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/js/src/configure
cp /var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/.mozconfig /var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/ff/.mozconfig
cd /var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/ff
/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/configure
Creating Python environment
 * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p 
New python executable in /var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/ff/_virtualenv/bin/python2.7
Also creating executable in /var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/ff/_virtualenv/bin/python
Installing setuptools, pip, wheel...done.
running build_ext
building 'psutil._psutil_linux' extension
creating build/temp.linux-armv7l-2.7
creating build/temp.linux-armv7l-2.7/psutil
armv7a-hardfloat-linux-gnueabi-gcc -pthread -fPIC -DPSUTIL_VERSION=311 -I/usr/include/python2.7 -c psutil/_psutil_linux.c -o build/temp.linux-armv7l-2.7/psutil/_psutil_linux.o
Traceback (most recent call last):
  File "/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/configure.py", line 107, in <module>
    sys.exit(main(sys.argv))
  File "/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/configure.py", line 26, in main
    sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
  File "/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/python/mozbuild/mozbuild/configure/__init__.py", line 231, in run
    self.include_file(path)
  File "/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/python/mozbuild/mozbuild/configure/__init__.py", line 222, in include_file
    exec_(code, self)
  File "/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/python/mozbuild/mozbuild/util.py", line 59, in exec_
    exec(object, globals, locals)
  File "/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/moz.configure", line 7, in <module>
    include('build/moz.configure/init.configure')
  File "/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/python/mozbuild/mozbuild/configure/__init__.py", line 477, in include_impl
    self.include_file(what)
  File "/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/python/mozbuild/mozbuild/configure/__init__.py", line 222, in include_file
    exec_(code, self)
  File "/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/python/mozbuild/mozbuild/util.py", line 59, in exec_
    exec(object, globals, locals)
  File "/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/build/moz.configure/init.configure", line 136, in <module>
    @imports('distutils.sysconfig')
  File "/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/python/mozbuild/mozbuild/configure/__init__.py", line 458, in decorator
    self._value_for(dummy)
  File "/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/python/mozbuild/mozbuild/configure/__init__.py", line 302, in _value_for
    return self._value_for_depends(obj)
  File "/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/python/mozbuild/mozbuild/util.py", line 925, in method_call
    cache[args] = self.func(instance, *args)
  File "/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/python/mozbuild/mozbuild/configure/__init__.py", line 329, in _value_for_depends
    return func(*resolved_args)
  File "/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/python/mozbuild/mozbuild/configure/__init__.py", line 773, in wrapped
    return new_func(*args, **kwargs)
  File "/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/build/moz.configure/init.configure", line 183, in virtualenv_python
    manager.build(python)
  File "/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/python/mozbuild/mozbuild/virtualenv.py", line 447, in build
    result = self._log_process_output(args, cwd=self.topsrcdir)
  File "/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/python/mozbuild/mozbuild/virtualenv.py", line 177, in _log_process_output
    self.log_handle.write(line)
  File "/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0/python/mozbuild/mozbuild/configure/util.py", line 204, in write
    buf = buf.decode(self._encoding)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 36: ordinal not in range(128)
*** Fix above errors and then restart with\
               "make -f client.mk build"
client.mk:373: recipe for target 'configure' failed
make: *** [configure] Error 1
 * ERROR: www-client/firefox-51.0::gentoo failed (configure phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=www-client/firefox-51.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-51.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/www-client/firefox-51.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-51.0/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0'
 * S: '/var/tmp/portage/www-client/firefox-51.0/work/firefox-51.0'