Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 556092 - www-client/firefox-31.8.0 fails with Exception('Error creating virtualenv.')
Summary: www-client/firefox-31.8.0 fails with Exception('Error creating virtualenv.')
Status: RESOLVED DUPLICATE of bug 529484
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-28 07:36 UTC by MickKi
Modified: 2015-07-30 19:33 UTC (History)
0 users

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


Attachments
emerge --info firefox (emerge_ff_info.txt,6.30 KB, text/plain)
2015-07-28 07:36 UTC, MickKi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MickKi 2015-07-28 07:36:38 UTC
Created attachment 407770 [details]
emerge --info firefox

Compile checks fail with:

raise Exception('Error creating virtualenv.') as follows:
================================
>>> Emerging (1 of 2) www-client/firefox-31.8.0::gentoo
 * firefox-31.8.0esr-en-GB.xpi SHA256 SHA512 WHIRLPOOL size ;-) ...        [ ok ]
 * firefox-31.0-patches-0.3.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...    [ ok ]
 * firefox-31.8.0esr.source.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...   [ ok ]
>>> Unpacking source...
>>> Unpacking firefox-31.8.0esr-en-GB.xpi to /var/tmp/portage/www-client/firefox-31.8.0/work
unpack firefox-31.8.0esr-en-GB.xpi: file format not recognized. Ignoring.
>>> Unpacking firefox-31.0-patches-0.3.tar.xz to /var/tmp/portage/www-client/firefox-31.8.0/work
>>> Unpacking firefox-31.8.0esr.source.tar.bz2 to /var/tmp/portage/www-client/firefox-31.8.0/work
 * Unpacking firefox-31.8.0esr-en-GB.xpi to /var/tmp/portage/www-client/firefox-31.8.0/work
 * Selected language packs (first will be default): en-GB
>>> Source unpacked in /var/tmp/portage/www-client/firefox-31.8.0/work
>>> Preparing source in /var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31 ...
 * Applying various patches (bugfixes/updates) ...
 *   2000-firefox_gentoo_install_dirs.patch ...                            [ ok ]
 *   2002_fix-preferences-gentoo.patch ...                                 [ ok ]
 *   5001_allow_locked_prefs_v2.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_v3.patch ...                                    [ ok ]
 *   7003_freebsd_jscpucfg.patch ...                                       [ ok ]
 *   7004_freebsd_libexecinfo_v3.patch ...                                 [ ok ]
 *   8000_gcc49_mozbug999496_ff31.patch ...                                [ ok ]
 *   8001_hppa_js_configure.patch ...                                      [ ok ]
 *   8005_libvpx_mozbug1067377_ff31.patch ...                              [ ok ]
 * Done with patching
 * Applying firefox-32.0-hppa-js-configure.patch ...                       [ ok ]
 * Running eautoreconf in '/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31' ...
 * Running autoconf ...                                                    [ ok ]
 * Running elibtoolize in: mozilla-esr31/
 * Running elibtoolize in: mozilla-esr31/build/clang-plugin/
 * Running elibtoolize in: mozilla-esr31/intl/icu/source/
 * Running elibtoolize in: mozilla-esr31/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-esr31/js/src/
 * Running elibtoolize in: mozilla-esr31/js/src/ctypes/libffi/
 *   Applying install-sh/1.5.4 patch ...
 *   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 elibtoolize in: mozilla-esr31/memory/jemalloc/src/
 * Running elibtoolize in: mozilla-esr31/modules/freetype2/
 * Running elibtoolize in: mozilla-esr31/modules/freetype2/builds/unix/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 * Running elibtoolize in: mozilla-esr31/nsprpub/
 * Running elibtoolize in: mozilla-esr31/python/mozbuild/mozbuild/
 * Running elibtoolize in: mozilla-esr31/security/nss/tests/pkcs11/netscape/trivial/
 * Running elibtoolize in: mozilla-esr31/toolkit/crashreporter/google-breakpad/
 * Running elibtoolize in: mozilla-esr31/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-esr31/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 ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31 ...

==========================================================
Building firefox-31.8.0 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
    --enable-default-toolkit=cairo-gtk2  mozilla.org default
    --disable-official-branding     -!bindist
    --with-branding=browser/branding/aurora  mozilla.org default
    --disable-debug                 -debug
    --disable-tests                 -debug
    --disable-debug-symbols         disabled by Gentoo
    --disable-startup-notification  -startup-notification
    --disable-necko-wifi            -wifi
    --enable-dbus                   +dbus
    --enable-ogg                    required
    --enable-wave                   required
    --enable-ion                    +jit
    --enable-yarr-jit               +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/lib64        mozilla.org default
    --with-system-libevent=/usr     mozilla.org default
    --prefix=/usr                   mozilla.org default
    --libdir=/usr/lib64             mozilla.org default
    --enable-system-hunspell        mozilla.org default
    --disable-gnomevfs              mozilla.org default
    --disable-gnomeui               mozilla.org default
    --enable-gio                    mozilla.org default
    --disable-crashreporter         mozilla.org default
    --with-system-png               mozilla.org default
    --enable-system-ffi             mozilla.org default
    --disable-gold                  mozilla.org default
    --disable-gconf                 mozilla.org default
    --enable-jemalloc               mozilla.org default
    --enable-replace-malloc         mozilla.org default
    --target=x86_64-pc-linux-gnu    mozilla.org default
    --build=x86_64-pc-linux-gnu     mozilla.org default
    --disable-gstreamer             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
    --disable-intl-api              -system-icu
    --without-system-libvpx         -system-libvpx
    --with-google-api-keyfile=/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/google-api-key  mozilla.org default
    --enable-extensions=default     mozilla.org default
    --disable-mailnews              mozilla.org default
    --with-default-mozilla-five-home=/usr/lib64/firefox  mozilla.org default
==========================================================

>>> Source configured.
>>> Compiling source in /var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31 ...
make -j3 -f client.mk 
client.mk:195: /var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/obj-x86_64-pc-linux-gnu/.mozconfig.mk: No such file or directory
mkdir -p '/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/obj-x86_64-pc-linux-gnu/'
/usr/bin/python2.7 /var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/config/pythonpath.py -I /var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/testing/mozbase/mozfile \
    /var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/python/mozbuild/mozbuild/controller/clobber.py /var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31 /var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/obj-x86_64-pc-linux-gnu
Clobber not needed.
> /var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/obj-x86_64-pc-linux-gnu/.mozconfig.mk
make -f /var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/client.mk realbuild
make[1]: Entering directory '/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31'
Adding client.mk options from /var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/.mozconfig:
    CONFIG_GUESS=x86_64-pc-linux-gnu
    MOZ_OBJDIR=/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/obj-x86_64-pc-linux-gnu
    OBJDIR=/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/obj-x86_64-pc-linux-gnu
    FOUND_MOZCONFIG=/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/.mozconfig
make[2]: Entering directory '/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31'
cp /var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/.mozconfig /var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/obj-x86_64-pc-linux-gnu/.mozconfig
cd /var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/obj-x86_64-pc-linux-gnu
/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/configure
Adding configure options from /var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/.mozconfig
  --enable-application=browser
  --enable-optimize
  --disable-debug-symbols
  --disable-startup-notification
  --disable-necko-wifi
  --enable-dbus
  --enable-ogg
  --enable-wave
  --enable-ion
  --enable-yarr-jit
  --with-system-nspr
  --with-nspr-prefix=/usr
  --with-system-nss
  --with-nss-prefix=/usr
  --x-includes=/usr/include
  --x-libraries=/usr/lib64
  --with-system-libevent=/usr
  --prefix=/usr
  --libdir=/usr/lib64
  --enable-system-hunspell
  --disable-gnomevfs
  --disable-gnomeui
  --enable-gio
  --disable-crashreporter
  --with-system-png
  --enable-system-ffi
  --disable-gold
  --disable-gconf
  --enable-jemalloc
  --enable-replace-malloc
  --target=x86_64-pc-linux-gnu
  --build=x86_64-pc-linux-gnu
  --disable-gstreamer
  --disable-pulseaudio
  --disable-system-cairo
  --disable-system-sqlite
  --without-system-jpeg
  --without-system-icu
  --disable-intl-api
  --without-system-libvpx
  --with-google-api-keyfile=/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/google-api-key
  --disable-mailnews
  --with-default-mozilla-five-home=/usr/lib64/firefox
  --enable-extensions=default
creating cache ./config.cache
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking build system type... x86_64-pc-linux-gnu
checking for mawk... no
checking for gawk... gawk
Using Python from environment variable $PYTHON
Creating Python environment
New python executable in /var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/obj-x86_64-pc-linux-gnu/_virtualenv/bin/python2.7
Also creating executable in /var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/obj-x86_64-pc-linux-gnu/_virtualenv/bin/python
Installing setuptools, pip...
  Complete output from command /var/tmp/portage/www...ualenv/bin/python2.7 -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip:
  Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/python/virtualenv/virtualenv_support/pip-1.5.4-py2.py3-none-any.whl/pip/__init__.py", line 10, in <module>
  File "/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/python/virtualenv/virtualenv_support/pip-1.5.4-py2.py3-none-any.whl/pip/util.py", line 18, in <module>
  File "/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/python/virtualenv/virtualenv_support/pip-1.5.4-py2.py3-none-any.whl/pip/_vendor/distlib/version.py", line 14, in <module>
  File "/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/python/virtualenv/virtualenv_support/pip-1.5.4-py2.py3-none-any.whl/pip/_vendor/distlib/compat.py", line 31, in <module>
ImportError: cannot import name HTTPSHandler
----------------------------------------
...Installing setuptools, pip...done.
Traceback (most recent call last):
  File "/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/python/virtualenv/virtualenv.py", line 2338, in <module>
    main()
  File "/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/python/virtualenv/virtualenv.py", line 824, in main
    symlink=options.symlink)
  File "/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/python/virtualenv/virtualenv.py", line 992, in create_environment
    install_wheel(to_install, py_executable, search_dirs)
  File "/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/python/virtualenv/virtualenv.py", line 960, in install_wheel
    'PIP_NO_INDEX': '1'
  File "/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/python/virtualenv/virtualenv.py", line 902, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /var/tmp/portage/www...ualenv/bin/python2.7 -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip failed with error code 1
Traceback (most recent call last):
  File "/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/python/mozbuild/mozbuild/virtualenv.py", line 473, in <module>
    manager.ensure()
  File "/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/python/mozbuild/mozbuild/virtualenv.py", line 128, in ensure
    return self.build()
  File "/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/python/mozbuild/mozbuild/virtualenv.py", line 371, in build
    self.create()
  File "/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/python/mozbuild/mozbuild/virtualenv.py", line 147, in create
    raise Exception('Error creating virtualenv.')
Exception: Error creating virtualenv.
------ config.log ------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:1212: checking host system type
configure:1233: checking target system type
configure:1251: checking build system type
configure:1326: checking for mawk
configure:1326: checking for gawk
*** Fix above errors and then restart with\
               "make -f client.mk build"
/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/client.mk:344: recipe for target 'configure' failed
make[2]: *** [configure] Error 1
make[2]: Leaving directory '/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31'
/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/client.mk:358: recipe for target '/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/obj-x86_64-pc-linux-gnu/Makefile' failed
make[1]: *** [/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31/obj-x86_64-pc-linux-gnu/Makefile] Error 2
make[1]: Leaving directory '/var/tmp/portage/www-client/firefox-31.8.0/work/mozilla-esr31'
client.mk:168: recipe for target 'build' failed
make: *** [build] Error 2
 * ERROR: www-client/firefox-31.8.0::gentoo failed (compile phase):
 *   emake failed
================================

Please ask if you need more info.

-- 
Regards,
Mick
Comment 1 Brian Evans (RETIRED) gentoo-dev 2015-07-30 19:33:20 UTC

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