=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for firefox-74.0.source.tar.xz
=> Checksum RMD160 OK for firefox-74.0.source.tar.xz
=> Checksum SHA512 OK for firefox-74.0.source.tar.xz
===> Installing dependencies for firefox-74.0
==========================================================================
The supported build options for firefox are:

	alsa dbus debug debug-info mozilla-jemalloc
	official-mozilla-branding pulseaudio wayland
	webrtc

The currently selected options are:

	wayland webrtc

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.firefox (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
firefox-74.0.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 37
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private
        * TERMINFO_DEFAULT = terminfo

Based on these variables, the following variables have been set:

        * PYPACKAGE = python27
        * TERMINFO_TYPE = terminfo

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/pkg/2020Q1/bin/bmake clean' after
the changes.
==========================================================================
=> Tool dependency python37-[0-9]*: found python37-3.7.7
=> Tool dependency cbindgen>=0.13.0: found cbindgen-0.13.1
=> Tool dependency nodejs-[0-9]*: found nodejs-13.11.0
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.64.1
=> Tool dependency python27>=2.7: found python27-2.7.17nb2
=> Tool dependency autoconf213>=2.13: found autoconf213-2.13nb8
=> Tool dependency bsdtar-[0-9]*: found bsdtar-3.4.0
=> Tool dependency gmake>=3.81: found gmake-4.2.1nb1
=> Tool dependency perl>=5.0: found perl-5.30.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0
=> Tool dependency zip-[0-9]*: found zip-3.0nb3
=> Build dependency nasm>=1.1: found nasm-2.14.02nb1
=> Build dependency yasm>=1.1: found yasm-1.3.0
=> Build dependency xorgproto>=2016.1: found xorgproto-2019.2nb3
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.14
=> Build dependency clang>=9.0.1: found clang-9.0.1nb1
=> Build dependency rust>=1.39.0: found rust-1.42.0nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency libffi>=3.3nb1: found libffi-3.3nb1
=> Full dependency nspr>=4.25: found nspr-4.25
=> Full dependency icu>=64.1: found icu-64.2nb2
=> Full dependency nss>=3.50: found nss-3.51
=> Full dependency MesaLib>=20.0.1nb1: found MesaLib-20.0.2
=> Full dependency libwebp>=1.0.2: found libwebp-1.1.0
=> Full dependency libIDL>=0.8.14nb5: found libIDL-0.8.14nb5
=> Full dependency ffmpeg4>=4.2: found ffmpeg4-4.2.2nb4
=> Full dependency libXt>=1.0.0: found libXt-1.2.0
=> Full dependency pixman>=0.25.2: found pixman-0.38.4nb1
=> Full dependency gtk2+>=2.24.32nb13: found gtk2+-2.24.32nb13
=> Full dependency gtk3+>=3.24.14nb2: found gtk3+-3.24.14nb2
=> Full dependency libv4l>=0.4.3nb2: found libv4l-0.4.3nb4
=> Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.24nb1
===> Overriding tools for firefox-74.0
===> Extracting for firefox-74.0
mv /tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/gfx/ycbcr/yuv_row_arm.s /tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/gfx/ycbcr/yuv_row_arm.S
/bin/cp /tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/third_party/rust/libc/.cargo-checksum.json  /tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/third_party/rust/libc/.cargo-checksum.json.orig
/bin/cat /tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/third_party/rust/libc/.cargo-checksum.json.orig |  /usr/bin/sed -e 's/4d9f7091af8e166943ac6f42ce85558909e5b6e61325039bff7adfbcf4b90212/7f3da734d5e2e9426051da4f406e46d9e9bed43ed2d7d048e8afc8af7ed44795/' |  /usr/bin/sed -e 's/1cd66ed5967c788562d4ad626cfbeb1544f4b9267111de5f6790379b8327f28e/6ae549dd21581748b2f1d82880eaca3445c11e3354965e5b49b20342075a3e52/' |  /usr/bin/sed -e 's/a3540eab4dbc52e006e84e288bad17e1dae3865fea49020e0ed8b5a7724a9532/5e58a2109f5eff0f497dfac150c161c1d517a2227b49e086da96c3d66522ac3a/'  > /tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/third_party/rust/libc/.cargo-checksum.json
/bin/cp /tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/third_party/rust/bindgen/.cargo-checksum.json  /tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/third_party/rust/bindgen/.cargo-checksum.json.orig
/bin/cat /tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/third_party/rust/bindgen/.cargo-checksum.json.orig |  /usr/bin/sed -e 's/5788372d27bdbaaf0454bc17be31a5480918bc41a8a1c4832e8c61185c07f9cd/8c92a52c0f859c7bec7bfbc36b9d18f904baab0c8c9dc1b3e7af34de1a0b0da4/' |  /usr/bin/sed -e 's/b73865b6689d4f3546edd91909a47c329c4ae630ea97715d29bc683ae1dc17ad/efdada601d13c489451da9d65a78c42598841cebddf6f3a8012add2380628a51/' |  /usr/bin/sed -e 's/34f9aa76b6c9c05136bb69dcd6455397faef571a567254d2c541d50a962994db/e5581852eec87918901a129284b4965aefc8a19394187a8095779a084f28fabe/'  > /tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/third_party/rust/bindgen/.cargo-checksum.json
===> Patching for firefox-74.0
=> Applying pkgsrc patches for firefox-74.0
No such line 91 in input file, ignoring
===> Creating toolchain wrappers for firefox-74.0
===> Configuring for firefox-74.0
printf '#!/bin/sh\n[ "$*" = "-f" ] && exit 0\nexec /bin/rm $@\n' >  /tmp/pkgbuild/2020Q1/www/firefox/work/.cwrapper/bin/rm
chmod +x /tmp/pkgbuild/2020Q1/www/firefox/work/.cwrapper/bin/rm
=> Dont include malloc.h on dragonflybsd
=> Fixing absolute paths.
=> Setting PREFIX
cd /tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0 && autoconf
cd /tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/js/src && autoconf
cd /tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0 && mkdir ../build
cd /tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/../build && touch old-configure.vars
=> Generating pkg-config files for builtin libevent package.
=> Generating pkg-config files for builtin xz package.
=> Generating pkg-config file for builtin expat package.
Creating Python 2 environment
New python executable in /tmp/pkgbuild/2020Q1/www/firefox/work/build/_virtualenvs/init/bin/python2.7
Also creating executable in /tmp/pkgbuild/2020Q1/www/firefox/work/build/_virtualenvs/init/bin/python
Installing setuptools, pip, wheel...
done.
running build_ext
building 'psutil._psutil_bsd' extension
creating build/temp.netbsd-9.0_STABLE-amd64-2.7
creating build/temp.netbsd-9.0_STABLE-amd64-2.7/psutil
creating build/temp.netbsd-9.0_STABLE-amd64-2.7/psutil/arch
creating build/temp.netbsd-9.0_STABLE-amd64-2.7/psutil/arch/netbsd
cc -fno-strict-aliasing -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/pkg/2020Q1/include -DNDEBUG -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/pkg/2020Q1/include -I/usr/include -I/pkg/2020Q1/include -I/pkg/2020Q1/include/nspr -I/pkg/2020Q1/include/nss/nss -I/pkg/2020Q1/include/libdrm -I/pkg/2020Q1/include/glib-2.0 -I/pkg/2020Q1/include/gio-unix-2.0 -I/pkg/2020Q1/lib/glib-2.0/include -I/pkg/2020Q1/include/ffmpeg4 -I/pkg/2020Q1/include/freetype2 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_BSD=1 -DPSUTIL_VERSION=563 -DPSUTIL_NETBSD=1 -I/pkg/2020Q1/include/python2.7 -c psutil/_psutil_common.c -o build/temp.netbsd-9.0_STABLE-amd64-2.7/psutil/_psutil_common.o
psutil/_psutil_common.c:9:10: fatal error: 'Python.h' file not found
#include <Python.h>
         ^~~~~~~~~~
1 error generated.
error: command 'cc' failed with exit status 1

Error processing command. Ignoring because optional. (optional:setup.py:third_party/python/psutil:build_ext:--inplace)
Error processing command. Ignoring because optional. (optional:packages.txt:comm/build/virtualenv_packages.txt)
Reexecuting in the virtualenv
checking for Python 3... Creating Python 3 environment
Using base prefix '/pkg/2020Q1'
New python executable in /tmp/pkgbuild/2020Q1/www/firefox/work/build/_virtualenvs/init_py3/bin/python3.7
Also creating executable in /tmp/pkgbuild/2020Q1/www/firefox/work/build/_virtualenvs/init_py3/bin/python
Command /tmp/pkgbuild/2020Q1...it_py3/bin/python3.7 -m pip config list had error code 1
Installing setuptools, pip, wheel...

  Complete output from command /tmp/pkgbuild/2020Q1...it_py3/bin/python3.7 - setuptools pip wheel:
  Traceback (most recent call last):
  File "<stdin>", line 10, in <module>
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/third_party/python/virtualenv/virtualenv_support/pip-19.3.1-py2.py3-none-any.whl/pip/_internal/main.py", line 13, in <module>
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/third_party/python/virtualenv/virtualenv_support/pip-19.3.1-py2.py3-none-any.whl/pip/_internal/cli/autocompletion.py", line 11, in <module>
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/third_party/python/virtualenv/virtualenv_support/pip-19.3.1-py2.py3-none-any.whl/pip/_internal/cli/main_parser.py", line 7, in <module>
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/third_party/python/virtualenv/virtualenv_support/pip-19.3.1-py2.py3-none-any.whl/pip/_internal/cli/cmdoptions.py", line 28, in <module>
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/third_party/python/virtualenv/virtualenv_support/pip-19.3.1-py2.py3-none-any.whl/pip/_internal/models/target_python.py", line 4, in <module>
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/third_party/python/virtualenv/virtualenv_support/pip-19.3.1-py2.py3-none-any.whl/pip/_internal/utils/misc.py", line 19, in <module>
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/third_party/python/virtualenv/virtualenv_support/pip-19.3.1-py2.py3-none-any.whl/pip/_vendor/pkg_resources/__init__.py", line 35, in <module>
  File "/pkg/2020Q1/lib/python3.7/plistlib.py", line 65, in <module>
    from xml.parsers.expat import ParserCreate
  File "/pkg/2020Q1/lib/python3.7/xml/parsers/expat.py", line 4, in <module>
    from pyexpat import *
ModuleNotFoundError: No module named 'pyexpat'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 15, in <module>
ImportError: cannot import name 'main' from 'pip' (/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/third_party/python/virtualenv/virtualenv_support/pip-19.3.1-py2.py3-none-any.whl/pip/__init__.py)
----------------------------------------
...Installing setuptools, pip, wheel...done.
Traceback (most recent call last):
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/third_party/python/virtualenv/virtualenv.py", line 2634, in <module>
    main()
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/third_party/python/virtualenv/virtualenv.py", line 870, in main
    symlink=options.symlink,
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/third_party/python/virtualenv/virtualenv.py", line 1179, in create_environment
    install_wheel(to_install, py_executable, search_dirs, download=download)
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/third_party/python/virtualenv/virtualenv.py", line 1023, in install_wheel
    _install_wheel_with_search_dir(download, project_names, py_executable, search_dirs)
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/third_party/python/virtualenv/virtualenv.py", line 1116, in _install_wheel_with_search_dir
    call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=script)
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/third_party/python/virtualenv/virtualenv.py", line 963, in call_subprocess
    raise OSError("Command {} failed with error code {}".format(cmd_desc, proc.returncode))
OSError: Command /tmp/pkgbuild/2020Q1...it_py3/bin/python3.7 - setuptools pip wheel failed with error code 1
DEBUG: python3: running with pid 6803
DEBUG: python3: sys.executable: '/tmp/pkgbuild/2020Q1/www/firefox/work/build/_virtualenvs/init/bin/python'
DEBUG: python3: executable from configuration: u'/pkg/2020Q1/bin/python3.7'
DEBUG: python3: found executable: u'/pkg/2020Q1/bin/python3.7'
DEBUG: python3: using venv: u'/tmp/pkgbuild/2020Q1/www/firefox/work/build/_virtualenvs/init_py3'
Traceback (most recent call last):
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/configure.py", line 170, in <module>
    sys.exit(main(sys.argv))
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/configure.py", line 46, in main
    sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/python/mozbuild/mozbuild/configure/__init__.py", line 444, in run
    self.include_file(path)
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/python/mozbuild/mozbuild/configure/__init__.py", line 435, in include_file
    exec_(code, self)
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/python/mozbuild/mozbuild/util.py", line 52, in exec_
    exec(object, globals, locals)
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/moz.configure", line 7, in <module>
    include('build/moz.configure/init.configure')
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/python/mozbuild/mozbuild/configure/__init__.py", line 767, in include_impl
    self.include_file(what)
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/python/mozbuild/mozbuild/configure/__init__.py", line 435, in include_file
    exec_(code, self)
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/python/mozbuild/mozbuild/util.py", line 52, in exec_
    exec(object, globals, locals)
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/build/moz.configure/init.configure", line 469, in <module>
    @imports(_from='six', _import='ensure_text')
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/python/mozbuild/mozbuild/configure/__init__.py", line 750, in decorator
    depends = DependsFunction(self, func, dependencies, when=when)
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/python/mozbuild/mozbuild/configure/__init__.py", line 129, in __init__
    sandbox._value_for(self)
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/python/mozbuild/mozbuild/configure/__init__.py", line 541, in _value_for
    return self._value_for_depends(obj)
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/python/mozbuild/mozbuild/util.py", line 1017, in method_call
    cache[args] = self.func(instance, *args)
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/python/mozbuild/mozbuild/configure/__init__.py", line 550, in _value_for_depends
    value = obj.result()
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/python/mozbuild/mozbuild/util.py", line 1017, in method_call
    cache[args] = self.func(instance, *args)
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/python/mozbuild/mozbuild/configure/__init__.py", line 155, in result
    return self._func(*resolved_args)
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/python/mozbuild/mozbuild/configure/__init__.py", line 1155, in wrapped
    return new_func(*args, **kwargs)
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/python/mozbuild/mozbuild/configure/__init__.py", line 810, in wrapper
    ret = template(*args, **kwargs)
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/build/moz.configure/checks.configure", line 58, in wrapped
    ret = func(*args, **kwargs)
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/python/mozbuild/mozbuild/configure/__init__.py", line 1155, in wrapped
    return new_func(*args, **kwargs)
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/build/moz.configure/init.configure", line 567, in virtualenv_python3
    manager.build(python)
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/python/mozbuild/mozbuild/virtualenv.py", line 496, in build
    self.create(python)
  File "/tmp/pkgbuild/2020Q1/www/firefox/work/firefox-74.0/python/mozbuild/mozbuild/virtualenv.py", line 236, in create
    self.virtualenv_root, result))
Exception: Failed to create virtualenv: /tmp/pkgbuild/2020Q1/www/firefox/work/build/_virtualenvs/init_py3 (virtualenv.py retcode: 1)
*** Error code 1

Stop.
bmake[1]: stopped in /pkgsrc/2020Q1/www/firefox
*** Error code 1

Stop.
bmake: stopped in /pkgsrc/2020Q1/www/firefox