problem with python versions
AN
andy at neu.net
Fri Jul 5 03:18:20 UTC 2019
FreeBSD FreeBSD_13 13.0-CURRENT FreeBSD 13.0-CURRENT #98 r349614: Tue Jul
2 18:10:54 EDT 2019
root at FreeBSD_13:/usr/obj/usr/src/amd64.amd64/sys/MYKERNEL amd64 1300034
I am having a problem after Python default version change.
I have the following:
py27-cairo-1.14.1 Python 2 bindings for Cairo
py27-gobject-2.28.6_8 Python bindings for GObject
py27-gobject3-3.28.3 Common files for the Python bindings for
GObject
py27-gtk2-2.24.0_5 Set of Python bindings for GTK+
py27-pyrex-0.9.9_1 Programming Language for writing Python
extension modules
py27-setuptools-41.0.1 Python packages installer
py36-Babel-2.7.0 Collection of tools for internationalizing
Python applications
py36-CommonMark-0.9.0 Python parser for the CommonMark Markdown
spec
py36-Jinja2-2.10.1 Fast and easy to use stand-alone template
engine
py36-MarkupSafe-1.1.1 Implements XML/HTML/XHTML Markup safe
string for Python
py36-alabaster-0.7.6 Modified Kr Sphinx theme
py36-asn1crypto-0.24.0 ASN.1 library with a focus on performance
and a pythonic API
py36-beaker-1.10.1 Session and Caching library with WSGI
Middleware
py36-cairo-1.14.1 Python 2 bindings for Cairo
py36-certifi-2019.6.16 Mozilla SSL certificates
py36-cffi-1.12.3 Foreign Function Interface for Python
calling C code
py36-chardet-3.0.4_1 Universal encoding detector for Python 2
and 3
py36-cryptography-2.6.1 Cryptographic recipes and primitives for
Python developers
py36-cython-0.29_1 Compiler for Writing C Extensions for the
Python Language
py36-dbus-1.2.8 Python bindings for the D-BUS messaging
system
py36-docutils-0.14_4 Python Documentation Utilities
py36-evdev-0.8.1 Bindings to the Linux input handling
subsystem
py36-future-0.17.1_1 Clean single-source support for Python 3
and 2
py36-gobject3-3.28.3 Common files for the Python bindings for
GObject
py36-idna-2.8 Internationalized Domain Names in
Applications (IDNA)
py36-imagesize-0.7.1 Python image size library
py36-iso8601-0.1.12 Simple module to parse ISO 8601 dates
py36-libxml2-2.9.9 Python interface for XML parser library for
GNOME
py36-lxml-4.3.3 Pythonic binding for the libxml2 and
libxslt libraries
py36-mako-1.0.12 Super-fast templating language in Python
py36-olefile-0.46 Python module to read MS OLE2 files
py36-openssl-18.0.0 Python interface to the OpenSSL library
py36-pillow-6.0.0_1 Fork of the Python Imaging Library (PIL)
py36-pycparser-2.19 C parser in Python
py36-pygments-2.4.1 Syntax highlighter written in Python
py36-pyparsing-2.4.0 General parsing module for Python
py36-pysocks-1.7.0 Python SOCKS module
py36-pystemmer-1.3.0_2 Snowball Stemming Algorithms for
Information Retrieval
py36-pytest-runner-2.11.1 Test support for pytest runner in setup.py
py36-pytz-2019.1,1 World Timezone Definitions for Python
py36-pyudev-0.21.0 Pure Python libudev binding
py36-qt5-core-5.12.2 Python bindings for the Qt5 toolkit, QtCore
module
py36-qt5-dbussupport-5.12.2 Qt event loop support for dbus-python
py36-qt5-gui-5.12.2 Python bindings for the Qt5 toolkit, QtGui
module
py36-qt5-widgets-5.12.2 Python bindings for the Qt5 toolkit,
QtWidgets module
py36-requests-2.21.0 HTTP library written in Python for human
beings
py36-setuptools-41.0.1 Python packages installer
py36-setuptools_scm-3.3.3 Setuptools plugin to manage your versions
by scm tags
py36-sip-4.19.17,1 Python to C and C++ bindings generator
py36-six-1.12.0 Python 2 and 3 compatibility utilities
py36-snowballstemmer-1.2.0_1 Snowball stemming library collection for
Python
py36-sphinx-1.6.5_2,1 Python documentation generator
py36-sphinx_rtd_theme-0.4.3 Mobile-friendly py-sphinx theme
py36-sphinxcontrib-websupport-1.1.2 Sphinx API for Web Apps
py36-sqlite3-3.6.8_7 Standard Python binding to the SQLite3
library (Python 3.6)
py36-tkinter-3.6.8_6 Python bindings to the Tk widget set
(Python 3.6)
py36-urllib3-1.22,1 HTTP library with thread-safe connection
pooling, file post, and more
I would like to have only 1 version installed, is that possible?
I am getting the following failures:
# portupgrade -v www/firefox
---> Session started at: Thu, 04 Jul 2019 23:12:43 -0400
[Reading data from pkg(8) ... - 817 packages found - done]
---> Upgrade of www/firefox started at: Thu, 04 Jul 2019 23:12:43 -0400
---> Upgrading 'firefox-68.0,1' to 'firefox-68.0_3,1' (www/firefox)
---> Build of www/firefox started at: Thu, 04 Jul 2019 23:12:43 -0400
---> Building '/usr/ports/www/firefox'
===> Cleaning for rust-1.36.0
===> Cleaning for ffmpeg-4.1.3_14,1
===> Cleaning for firefox-68.0_3,1
===> firefox-68.0_3,1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by firefox-68.0_3,1 for building
===> Extracting for firefox-68.0_3,1
=> SHA256 Checksum OK for firefox-68.0.source.tar.xz.
===> Patching for firefox-68.0_3,1
===> Applying FreeBSD patches for firefox-68.0_3,1
No such line 323 in input file, ignoring
No such line 821 in input file, ignoring
No such line 287 in input file, ignoring
No such line 3950 in input file, ignoring
===> firefox-68.0_3,1 depends on package: nspr>=4.21 - found
===> firefox-68.0_3,1 depends on package: nss>=3.44.1 - found
===> firefox-68.0_3,1 depends on package: icu>=63.1,1 - found
===> firefox-68.0_3,1 depends on package: libevent>=2.1.8 - found
===> firefox-68.0_3,1 depends on package: harfbuzz>=2.4.0 - found
===> firefox-68.0_3,1 depends on package: graphite2>=1.3.13 - found
===> firefox-68.0_3,1 depends on package: png>=1.6.35 - found
===> firefox-68.0_3,1 depends on package: libvpx>=1.5.0 - found
===> firefox-68.0_3,1 depends on package: sqlite3>=3.28.0 - found
===> firefox-68.0_3,1 depends on package: py27-sqlite3>0 - not found
===> License PSFL accepted by the user
===> py27-sqlite3-2.7.16_7 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by py27-sqlite3-2.7.16_7 for building
===> Extracting for py27-sqlite3-2.7.16_7
=> SHA256 Checksum OK for python/Python-2.7.16.tar.xz.
===> Patching for py27-sqlite3-2.7.16_7
===> py27-sqlite3-2.7.16_7 depends on package: py27-setuptools>0 - found
===> py27-sqlite3-2.7.16_7 depends on file: /usr/local/bin/python2.7 -
found
===> py27-sqlite3-2.7.16_7 depends on shared library: libsqlite3.so -
found (/usr/local/lib/libsqlite3.so)
===> Configuring for py27-sqlite3-2.7.16_7
running config
===> Building for py27-sqlite3-2.7.16_7
running build
running build_ext
building '_sqlite3' extension
creating build
creating build/temp.freebsd-13.0-CURRENT-amd64-2.7
creating build/temp.freebsd-13.0-CURRENT-amd64-2.7/_sqlite
cc -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC
-DMODULE_NAME="sqlite3" -I/usr/local/include -IModules/_sqlite
-I/usr/local/include/python2.7 -c _sqlite/cache.c -o
build/temp.freebsd-13.0-CURRENT-amd64-2.7/_sqlite/cache.o
cc -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC
-DMODULE_NAME="sqlite3" -I/usr/local/include -IModules/_sqlite
-I/usr/local/include/python2.7 -c _sqlite/connection.c -o
build/temp.freebsd-13.0-CURRENT-amd64-2.7/_sqlite/connection.o
cc -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC
-DMODULE_NAME="sqlite3" -I/usr/local/include -IModules/_sqlite
-I/usr/local/include/python2.7 -c _sqlite/cursor.c -o
build/temp.freebsd-13.0-CURRENT-amd64-2.7/_sqlite/cursor.o
cc -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC
-DMODULE_NAME="sqlite3" -I/usr/local/include -IModules/_sqlite
-I/usr/local/include/python2.7 -c _sqlite/microprotocols.c -o
build/temp.freebsd-13.0-CURRENT-amd64-2.7/_sqlite/microprotocols.o
cc -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC
-DMODULE_NAME="sqlite3" -I/usr/local/include -IModules/_sqlite
-I/usr/local/include/python2.7 -c _sqlite/module.c -o
build/temp.freebsd-13.0-CURRENT-amd64-2.7/_sqlite/module.o
cc -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC
-DMODULE_NAME="sqlite3" -I/usr/local/include -IModules/_sqlite
-I/usr/local/include/python2.7 -c _sqlite/prepare_protocol.c -o
build/temp.freebsd-13.0-CURRENT-amd64-2.7/_sqlite/prepare_protocol.o
cc -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC
-DMODULE_NAME="sqlite3" -I/usr/local/include -IModules/_sqlite
-I/usr/local/include/python2.7 -c _sqlite/row.c -o
build/temp.freebsd-13.0-CURRENT-amd64-2.7/_sqlite/row.o
cc -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC
-DMODULE_NAME="sqlite3" -I/usr/local/include -IModules/_sqlite
-I/usr/local/include/python2.7 -c _sqlite/statement.c -o
build/temp.freebsd-13.0-CURRENT-amd64-2.7/_sqlite/statement.o
cc -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC
-DMODULE_NAME="sqlite3" -I/usr/local/include -IModules/_sqlite
-I/usr/local/include/python2.7 -c _sqlite/util.c -o
build/temp.freebsd-13.0-CURRENT-amd64-2.7/_sqlite/util.o
creating build/lib.freebsd-13.0-CURRENT-amd64-2.7
cc -shared -fstack-protector-strong -O2 -pipe -fstack-protector-strong
-fno-strict-aliasing
build/temp.freebsd-13.0-CURRENT-amd64-2.7/_sqlite/cache.o
build/temp.freebsd-13.0-CURRENT-amd64-2.7/_sqlite/connection.o
build/temp.freebsd-13.0-CURRENT-amd64-2.7/_sqlite/cursor.o
build/temp.freebsd-13.0-CURRENT-amd64-2.7/_sqlite/microprotocols.o
build/temp.freebsd-13.0-CURRENT-amd64-2.7/_sqlite/module.o
build/temp.freebsd-13.0-CURRENT-amd64-2.7/_sqlite/prepare_protocol.o
build/temp.freebsd-13.0-CURRENT-amd64-2.7/_sqlite/row.o
build/temp.freebsd-13.0-CURRENT-amd64-2.7/_sqlite/statement.o
build/temp.freebsd-13.0-CURRENT-amd64-2.7/_sqlite/util.o -L/usr/local/lib
-L/usr/local/lib -Wl,-rpath=/usr/local/lib -lsqlite3 -lpython2.7 -o
build/lib.freebsd-13.0-CURRENT-amd64-2.7/_sqlite3.so
===> Staging for py27-sqlite3-2.7.16_7
===> py27-sqlite3-2.7.16_7 depends on package: py27-setuptools>0 - found
===> py27-sqlite3-2.7.16_7 depends on file: /usr/local/bin/python2.7 -
found
===> Generating temporary packing list
running install
running build
running build_ext
running install_lib
creating
/usr/ports/databases/py-sqlite3/work-py27/stage/usr/local/lib/python2.7
creating
/usr/ports/databases/py-sqlite3/work-py27/stage/usr/local/lib/python2.7/lib-dynload
copying build/lib.freebsd-13.0-CURRENT-amd64-2.7/_sqlite3.so ->
/usr/ports/databases/py-sqlite3/work-py27/stage/usr/local/lib/python2.7/lib-dynload
running install_egg_info
running egg_info
creating sqlite3.egg-info
writing sqlite3.egg-info/PKG-INFO
writing top-level names to sqlite3.egg-info/top_level.txt
writing dependency_links to sqlite3.egg-info/dependency_links.txt
writing manifest file 'sqlite3.egg-info/SOURCES.txt'
reading manifest file 'sqlite3.egg-info/SOURCES.txt'
writing manifest file 'sqlite3.egg-info/SOURCES.txt'
Copying sqlite3.egg-info to
/usr/ports/databases/py-sqlite3/work-py27/stage/usr/local/lib/python2.7/lib-dynload/sqlite3-0.0.0-py2.7.egg-info
running install_scripts
writing list of installed files to
'/usr/ports/databases/py-sqlite3/work-py27/.PLIST.pymodtmp'
/usr/bin/strip
/usr/ports/databases/py-sqlite3/work-py27/stage/usr/local/lib/python2.7/lib-dynload/_sqlite3.so
====> Compressing man pages (compress-man)
===> Installing for py27-sqlite3-2.7.16_7
===> Checking if py27-sqlite3 is already installed
===> Registering installation for py27-sqlite3-2.7.16_7 as automatic
Installing py27-sqlite3-2.7.16_7...
===> firefox-68.0_3,1 depends on package: py27-sqlite3>0 - found
===> Returning to build of firefox-68.0_3,1
===> firefox-68.0_3,1 depends on package: v4l_compat>0 - found
===> firefox-68.0_3,1 depends on executable: autoconf-2.13 - found
===> firefox-68.0_3,1 depends on executable: nasm - found
===> firefox-68.0_3,1 depends on executable: zip - found
===> firefox-68.0_3,1 depends on package: rust>=1.34 - found
===> firefox-68.0_3,1 depends on package: llvm80>0 - found
===> firefox-68.0_3,1 depends on file: /usr/local/bin/clang80 - found
===> firefox-68.0_3,1 depends on file: /usr/local/bin/python3.6 - found
===> firefox-68.0_3,1 depends on package: rust-cbindgen>=0.8.7 - found
===> firefox-68.0_3,1 depends on executable: node - found
===> firefox-68.0_3,1 depends on executable: yasm - found
===> firefox-68.0_3,1 depends on package: libnotify>0 - found
===> firefox-68.0_3,1 depends on file:
/usr/local/include/pulse/pulseaudio.h - found
===> firefox-68.0_3,1 depends on executable: gmake - found
===> firefox-68.0_3,1 depends on package: libiconv>=1.14_11 - found
===> firefox-68.0_3,1 depends on package: pkgconf>=1.3.0_1 - found
===> firefox-68.0_3,1 depends on file: /usr/local/bin/python2.7 - found
===> firefox-68.0_3,1 depends on executable: update-desktop-database -
found
===> firefox-68.0_3,1 depends on package: xorgproto>=0 - found
===> firefox-68.0_3,1 depends on file:
/usr/local/libdata/pkgconfig/x11.pc - found
===> firefox-68.0_3,1 depends on file:
/usr/local/libdata/pkgconfig/xcb.pc - found
===> firefox-68.0_3,1 depends on file:
/usr/local/libdata/pkgconfig/xcomposite.pc - found
===> firefox-68.0_3,1 depends on file:
/usr/local/libdata/pkgconfig/xdamage.pc - found
===> firefox-68.0_3,1 depends on file:
/usr/local/libdata/pkgconfig/xext.pc - found
===> firefox-68.0_3,1 depends on file:
/usr/local/libdata/pkgconfig/xfixes.pc - found
===> firefox-68.0_3,1 depends on file:
/usr/local/libdata/pkgconfig/xrender.pc - found
===> firefox-68.0_3,1 depends on file:
/usr/local/libdata/pkgconfig/xt.pc - found
===> firefox-68.0_3,1 depends on package: perl5>=5.28.r1<5.29 - found
===> firefox-68.0_3,1 depends on shared library: libfontconfig.so -
found (/usr/local/lib/libfontconfig.so)
===> firefox-68.0_3,1 depends on shared library: libfreetype.so - found
(/usr/local/lib/libfreetype.so)
===> firefox-68.0_3,1 depends on shared library: libaom.so - found
(/usr/local/lib/libaom.so)
===> firefox-68.0_3,1 depends on shared library: libdav1d.so - found
(/usr/local/lib/libdav1d.so)
===> firefox-68.0_3,1 depends on shared library: libevent.so - found
(/usr/local/lib/libevent.so)
===> firefox-68.0_3,1 depends on shared library: libffi.so - found
(/usr/local/lib/libffi.so)
===> firefox-68.0_3,1 depends on shared library: libgraphite2.so - found
(/usr/local/lib/libgraphite2.so)
===> firefox-68.0_3,1 depends on shared library: libharfbuzz.so - found
(/usr/local/lib/libharfbuzz.so)
===> firefox-68.0_3,1 depends on shared library: libicui18n.so - found
(/usr/local/lib/libicui18n.so)
===> firefox-68.0_3,1 depends on shared library: libnspr4.so - found
(/usr/local/lib/libnspr4.so)
===> firefox-68.0_3,1 depends on shared library: libnss3.so - found
(/usr/local/lib/nss/libnss3.so)
===> firefox-68.0_3,1 depends on shared library: libpng.so - found
(/usr/local/lib/libpng.so)
===> firefox-68.0_3,1 depends on shared library: libpixman-1.so - found
(/usr/local/lib/libpixman-1.so)
===> firefox-68.0_3,1 depends on shared library: libsqlite3.so - found
(/usr/local/lib/libsqlite3.so)
===> firefox-68.0_3,1 depends on shared library: libwebp.so - found
(/usr/local/lib/libwebp.so)
===> firefox-68.0_3,1 depends on shared library: libdbus-1.so - found
(/usr/local/lib/libdbus-1.so)
===> firefox-68.0_3,1 depends on shared library: libdbus-glib-1.so -
found (/usr/local/lib/libdbus-glib-1.so)
===> firefox-68.0_3,1 depends on shared library:
libstartup-notification-1.so - found
(/usr/local/lib/libstartup-notification-1.so)
===> firefox-68.0_3,1 depends on shared library: libasound.so - found
(/usr/local/lib/libasound.so)
===> firefox-68.0_3,1 depends on shared library: libGL.so - found
(/usr/local/lib/libGL.so)
===> firefox-68.0_3,1 depends on shared library: libatk-1.0.so - found
(/usr/local/lib/libatk-1.0.so)
===> firefox-68.0_3,1 depends on shared library: libcairo.so - found
(/usr/local/lib/libcairo.so)
===> firefox-68.0_3,1 depends on shared library: libgconf-2.so - found
(/usr/local/lib/libgconf-2.so)
===> firefox-68.0_3,1 depends on shared library: libgdk_pixbuf-2.0.so -
found (/usr/local/lib/libgdk_pixbuf-2.0.so)
===> firefox-68.0_3,1 depends on shared library: libglib-2.0.so - found
(/usr/local/lib/libglib-2.0.so)
===> firefox-68.0_3,1 depends on shared library: libintl.so - found
(/usr/local/lib/libintl.so)
===> firefox-68.0_3,1 depends on shared library: libgtk-x11-2.0.so -
found (/usr/local/lib/libgtk-x11-2.0.so)
===> firefox-68.0_3,1 depends on shared library: libgtk-3.so - found
(/usr/local/lib/libgtk-3.so)
===> firefox-68.0_3,1 depends on shared library: libIDL-2.so - found
(/usr/local/lib/libIDL-2.so)
===> firefox-68.0_3,1 depends on shared library: libxml2.so - found
(/usr/local/lib/libxml2.so)
===> firefox-68.0_3,1 depends on shared library: libORBit-2.so - found
(/usr/local/lib/libORBit-2.so)
===> firefox-68.0_3,1 depends on shared library: libpango-1.0.so - found
(/usr/local/lib/libpango-1.0.so)
===> firefox-68.0_3,1 depends on shared library: libjpeg.so - found
(/usr/local/lib/libjpeg.so)
===> Configuring for firefox-68.0_3,1
(cd /usr/ports/www/firefox/work/firefox-68.0 &&
/usr/local/bin/autoconf-2.13)
(cd /usr/ports/www/firefox/work/firefox-68.0/js/src/ &&
/usr/local/bin/autoconf-2.13)
===> FreeBSD 10 autotools fix applied to
/usr/ports/www/firefox/work/firefox-68.0/third_party/rust/backtrace-sys/src/libbacktrace/configure
===> FreeBSD 10 autotools fix applied to
/usr/ports/www/firefox/work/firefox-68.0/third_party/rust/backtrace-sys/src/libbacktrace/config/libtool.m4
Creating Python environment
New python executable in
/usr/ports/www/firefox/work/.build/_virtualenvs/init/bin/python2.7
Also creating executable in
/usr/ports/www/firefox/work/.build/_virtualenvs/init/bin/python
Installing setuptools, pip, wheel...
Complete output from command /usr/ports/www/firef...s/init/bin/python2.7
- setuptools pip wheel:
Exception:
Traceback (most recent call last):
File
"/usr/ports/www/firefox/work/firefox-68.0/third_party/python/virtualenv/virtualenv_support/pip-9.0.3-py2.py3-none-any.whl/pip/basecommand.py",
line 215, in main
status = self.run(options, args)
File
"/usr/ports/www/firefox/work/firefox-68.0/third_party/python/virtualenv/virtualenv_support/pip-9.0.3-py2.py3-none-any.whl/pip/commands/install.py",
line 289, in run
delete=build_delete) as build_dir:
File
"/usr/ports/www/firefox/work/firefox-68.0/third_party/python/virtualenv/virtualenv_support/pip-9.0.3-py2.py3-none-any.whl/pip/utils/build.py",
line 22, in __init__
name = os.path.realpath(tempfile.mkdtemp(prefix="pip-build-"))
File "/usr/local/lib/python2.7/tempfile.py", line 339, in mkdtemp
_os.mkdir(file, 0700)
OSError: [Errno 31] Too many links: '/tmp/pip-build-6adIcE'
----------------------------------------
...Installing setuptools, pip, wheel...done.
Traceback (most recent call last):
File
"/usr/ports/www/firefox/work/firefox-68.0/third_party/python/virtualenv/virtualenv.py",
line 2349, in <module>
main()
File
"/usr/ports/www/firefox/work/firefox-68.0/third_party/python/virtualenv/virtualenv.py",
line 712, in main
symlink=options.symlink)
File
"/usr/ports/www/firefox/work/firefox-68.0/third_party/python/virtualenv/virtualenv.py",
line 953, in create_environment
download=download,
File
"/usr/ports/www/firefox/work/firefox-68.0/third_party/python/virtualenv/virtualenv.py",
line 904, in install_wheel
call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
File
"/usr/ports/www/firefox/work/firefox-68.0/third_party/python/virtualenv/virtualenv.py",
line 796, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /usr/ports/www/firef...s/init/bin/python2.7 - setuptools
pip wheel failed with error code 2
Traceback (most recent call last):
File "/usr/ports/www/firefox/work/firefox-68.0/configure.py", line 132,
in <module>
sys.exit(main(sys.argv))
File "/usr/ports/www/firefox/work/firefox-68.0/configure.py", line 38,
in main
sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
File
"/usr/ports/www/firefox/work/firefox-68.0/python/mozbuild/mozbuild/configure/__init__.py",
line 431, in run
self.include_file(path)
File
"/usr/ports/www/firefox/work/firefox-68.0/python/mozbuild/mozbuild/configure/__init__.py",
line 422, in include_file
exec_(code, self)
File
"/usr/ports/www/firefox/work/firefox-68.0/python/mozbuild/mozbuild/util.py",
line 59, in exec_
exec(object, globals, locals)
File "/usr/ports/www/firefox/work/firefox-68.0/moz.configure", line 7,
in <module>
include('build/moz.configure/init.configure')
File
"/usr/ports/www/firefox/work/firefox-68.0/python/mozbuild/mozbuild/configure/__init__.py",
line 745, in include_impl
self.include_file(what)
File
"/usr/ports/www/firefox/work/firefox-68.0/python/mozbuild/mozbuild/configure/__init__.py",
line 422, in include_file
exec_(code, self)
File
"/usr/ports/www/firefox/work/firefox-68.0/python/mozbuild/mozbuild/util.py",
line 59, in exec_
exec(object, globals, locals)
File
"/usr/ports/www/firefox/work/firefox-68.0/build/moz.configure/init.configure",
line 213, in <module>
@imports('distutils.sysconfig')
File
"/usr/ports/www/firefox/work/firefox-68.0/python/mozbuild/mozbuild/configure/__init__.py",
line 728, in decorator
depends = DependsFunction(self, func, dependencies, when=when)
File
"/usr/ports/www/firefox/work/firefox-68.0/python/mozbuild/mozbuild/configure/__init__.py",
line 125, in __init__
sandbox._value_for(self)
File
"/usr/ports/www/firefox/work/firefox-68.0/python/mozbuild/mozbuild/configure/__init__.py",
line 525, in _value_for
return self._value_for_depends(obj)
File
"/usr/ports/www/firefox/work/firefox-68.0/python/mozbuild/mozbuild/util.py",
line 947, in method_call
cache[args] = self.func(instance, *args)
File
"/usr/ports/www/firefox/work/firefox-68.0/python/mozbuild/mozbuild/configure/__init__.py",
line 534, in _value_for_depends
value = obj.result()
File
"/usr/ports/www/firefox/work/firefox-68.0/python/mozbuild/mozbuild/util.py",
line 947, in method_call
cache[args] = self.func(instance, *args)
File
"/usr/ports/www/firefox/work/firefox-68.0/python/mozbuild/mozbuild/configure/__init__.py",
line 151, in result
return self._func(*resolved_args)
File
"/usr/ports/www/firefox/work/firefox-68.0/python/mozbuild/mozbuild/configure/__init__.py",
line 1097, in wrapped
return new_func(*args, **kwargs)
File
"/usr/ports/www/firefox/work/firefox-68.0/build/moz.configure/init.configure",
line 268, in virtualenv_python
manager.build(python)
File
"/usr/ports/www/firefox/work/firefox-68.0/python/mozbuild/mozbuild/virtualenv.py",
line 473, in build
self.create(python)
File
"/usr/ports/www/firefox/work/firefox-68.0/python/mozbuild/mozbuild/virtualenv.py",
line 212, in create
'Failed to create virtualenv: %s' % self.virtualenv_root)
Exception: Failed to create virtualenv:
/usr/ports/www/firefox/work/.build/_virtualenvs/init
===> Script "configure" failed unexpectedly.
Please report the problem to gecko at FreeBSD.org [maintainer] and attach the
"/usr/ports/www/firefox/work/.build/config.log" including the output of
the
failure of your make command. Also, it might be a good idea to provide an
overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1
gmake[5]: Leaving directory
'/usr/ports/graphics/atril/work/atril-1.22.1/help'
if ! test -d "zh_HK/"; then mkdir "zh_HK/"; fi
if test -d "C"; then d="../"; else
d="/usr/ports/graphics/atril/work/atril-1.22.1/help/"; fi; \
mo="zh_HK/zh_HK.mo"; \
if test -f "${mo}"; then mo="../${mo}"; else
mo="/usr/ports/graphics/atril/work/atril-1.22.1/help/${mo}"; fi; \
(cd "zh_HK/" && itstool -m "${mo}" ${d}/C/index.docbook ${d}/C/legal.xml)
&& \
touch "zh_HK/zh_HK.stamp"
Traceback (most recent call last):
File "/usr/local/bin/itstool", line 27, in <module>
import libxml2
ImportError: No module named libxml2
Traceback (most recent call last):
File "/usr/local/bin/itstool", line 27, in <module>
Traceback (most recent call last):
File "/usr/local/bin/itstool", line 27, in <module>
Traceback (most recent call last):
File "/usr/local/bin/itstool", line 27, in <module>
import libxml2
Traceback (most recent call last):
File "/usr/local/bin/itstool", line 27, in <module>
import libxml2
ImportError: import libxml2
No module named libxml2
ImportError: No module named libxml2
import libxml2
ImportError: No module named libxml2
ImportError: No module named libxml2
Traceback (most recent call last):
File "/usr/local/bin/itstool", line 27, in <module>
Traceback (most recent call last):
File "/usr/local/bin/itstool", line 27, in <module>
import libxml2
ImportError: No module named libxml2
import libxml2
ImportError: No module named libxml2
Traceback (most recent call last):
File "/usr/local/bin/itstool", line 27, in <module>
import libxml2
ImportError: No module named libxml2
Traceback (most recent call last):
File "/usr/local/bin/itstool", line 27, in <module>
import libxml2
ImportError: No module named libxml2
gmake[4]: *** [Makefile:821: en_AU/en_AU.stamp] Error 1
gmake[4]: *** Waiting for unfinished jobs....
gmake[4]: *** [Makefile:821: en_GB/en_GB.stamp] Error 1
gmake[4]: *** [Makefile:821: lt/lt.stamp] Error 1
gmake[4]: *** [Makefile:821: ast/ast.stamp] Error 1
gmake[4]: *** [Makefile:821: ku/ku.stamp] Error 1
gmake[4]: *** [Makefile:821: sr/sr.stamp] Error 1
gmake[4]: *** [Makefile:821: tr/tr.stamp] Error 1
gmake[4]: *** [Makefile:821: it/it.stamp] Error 1
gmake[4]: *** [Makefile:821: hr/hr.stamp] Error 1
Traceback (most recent call last):
File "/usr/local/bin/itstool", line 27, in <module>
import libxml2
ImportError: No module named libxml2
Traceback (most recent call last):
File "/usr/local/bin/itstool", line 27, in <module>
import libxml2
ImportError: No module named libxml2
gmake[4]: *** [Makefile:821: he/he.stamp] Error 1
gmake[4]: *** [Makefile:821: zh_CN/zh_CN.stamp] Error 1
Traceback (most recent call last):
File "/usr/local/bin/itstool", line 27, in <module>
import libxml2
ImportError: No module named libxml2
gmake[4]: *** [Makefile:821: zh_HK/zh_HK.stamp] Error 1
gmake[4]: Leaving directory
'/usr/ports/graphics/atril/work/atril-1.22.1/help'
gmake[3]: *** [Makefile:669: all-recursive] Error 1
gmake[3]: Leaving directory '/usr/ports/graphics/atril/work/atril-1.22.1'
gmake[2]: *** [Makefile:555: all] Error 2
gmake[2]: Leaving directory '/usr/ports/graphics/atril/work/atril-1.22.1'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure
to
the maintainer.
*** Error code 1
I would appreciate any help fixing this, thanks in advance.
More information about the freebsd-python
mailing list