=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for mod_python-3.5.0.1.tar.gz => Checksum SHA512 OK for mod_python-3.5.0.1.tar.gz ===> Installing dependencies for ap24-py310-python-3.5.0.1 ========================================================================== The following variables will affect the build process of this package, ap24-py310-python-3.5.0.1. Their current value is shown below: * PKG_APACHE_DEFAULT = apache24 * PYTHON_VERSION_DEFAULT = 312 Based on these variables, the following variables have been set: * APACHE_PKG_PREFIX = ap24 * PKG_APACHE = apache24 * PYPACKAGE = python310 You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency py310-setuptools-[0-9]*: found py310-setuptools-72.2.0 => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency perl>=5.0: found perl-5.38.2 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Full dependency python310>=3.10: found python310-3.10.14nb1 => Full dependency apache>=2.4.58nb1<2.5: found apache-2.4.62 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for ap24-py310-python-3.5.0.1 ===> Extracting for ap24-py310-python-3.5.0.1 ===> Patching for ap24-py310-python-3.5.0.1 => Applying pkgsrc patches for ap24-py310-python-3.5.0.1 ===> Creating toolchain wrappers for ap24-py310-python-3.5.0.1 /bin/mkdir -p /pbulk/work/www/ap2-python/work/.buildlink/bin && /bin/ln -fs ../sbin/apxs /pbulk/work/www/ap2-python/work/.buildlink/bin/apxs /bin/mkdir -p /pbulk/work/www/ap2-python/work/.buildlink/bin && /bin/ln -fs apr-1-config /pbulk/work/www/ap2-python/work/.buildlink/bin/apr-config /bin/mkdir -p /pbulk/work/www/ap2-python/work/.buildlink/bin && /bin/ln -fs apu-1-config /pbulk/work/www/ap2-python/work/.buildlink/bin/apu-config ===> Configuring for ap24-py310-python-3.5.0.1 => Adjust optimization => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version checking for x86_64--netbsd-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ar... ar checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g users checking whether make sets $(MAKE)... yes checking for main in -lm... yes checking for an ANSI C-conforming const... yes checking your blood pressure... a bit high, but we can proceed configure: checking whether apxs is available... checking Apache version... 2.4.62 checking for Apache libexec directory... /usr/pkg/lib/httpd checking for Apache include directory... -I/usr/pkg/include/httpd checking for --with-python... /usr/pkg/bin/python3.10 checking Python version... Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] Python path configuration: PYTHONHOME = (not set) PYTHONPATH = (not set) program name = '/usr/pkg/bin/python3.10' isolated = 0 environment = 1 user site = 1 import site = 1 sys._base_executable = '/usr/pkg/bin/python3.10' sys.base_prefix = '/usr/pkg' sys.base_exec_prefix = '/usr/pkg' sys.platlibdir = 'lib' sys.executable = '/usr/pkg/bin/python3.10' sys.prefix = '/usr/pkg' sys.exec_prefix = '/usr/pkg' sys.path = [ '/usr/pkg/lib/python310.zip', '/usr/pkg/lib/python3.10', '/usr/pkg/lib/lib-dynload', ] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized LookupError: no codec search functions registered: can't find encoding Current thread 0x0000747aa34e0800 (most recent call first): Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] Python path configuration: PYTHONHOME = (not set) PYTHONPATH = (not set) program name = '/usr/pkg/bin/python3.10' isolated = 0 environment = 1 user site = 1 import site = 1 sys._base_executable = '/usr/pkg/bin/python3.10' sys.base_prefix = '/usr/pkg' sys.base_exec_prefix = '/usr/pkg' sys.platlibdir = 'lib' sys.executable = '/usr/pkg/bin/python3.10' sys.prefix = '/usr/pkg' sys.exec_prefix = '/usr/pkg' sys.path = [ '/usr/pkg/lib/python310.zip', '/usr/pkg/lib/python3.10', '/usr/pkg/lib/lib-dynload', ] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized LookupError: no codec search functions registered: can't find encoding Current thread 0x00007e6b06e45800 (most recent call first): Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] Python path configuration: PYTHONHOME = (not set) PYTHONPATH = (not set) program name = '/usr/pkg/bin/python3.10' isolated = 0 environment = 1 user site = 1 import site = 1 sys._base_executable = '/usr/pkg/bin/python3.10' sys.base_prefix = '/usr/pkg' sys.base_exec_prefix = '/usr/pkg' sys.platlibdir = 'lib' sys.executable = '/usr/pkg/bin/python3.10' sys.prefix = '/usr/pkg' sys.exec_prefix = '/usr/pkg' sys.path = [ '/usr/pkg/lib/python310.zip', '/usr/pkg/lib/python3.10', '/usr/pkg/lib/lib-dynload', ] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized LookupError: no codec search functions registered: can't find encoding Current thread 0x00007c65d5838800 (most recent call first): test: '': bad number test: '': bad number test: '': bad number Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] Python path configuration: PYTHONHOME = (not set) PYTHONPATH = (not set) program name = '/usr/pkg/bin/python3.10' isolated = 0 environment = 1 user site = 1 import site = 1 sys._base_executable = '/usr/pkg/bin/python3.10' sys.base_prefix = '/usr/pkg' sys.base_exec_prefix = '/usr/pkg' sys.platlibdir = 'lib' sys.executable = '/usr/pkg/bin/python3.10' sys.prefix = '/usr/pkg' sys.exec_prefix = '/usr/pkg' sys.path = [ '/usr/pkg/lib/python310.zip', '/usr/pkg/lib/python3.10', '/usr/pkg/lib/lib-dynload', ] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized LookupError: no codec search functions registered: can't find encoding Current thread 0x00007349efb2c800 (most recent call first): Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] Python path configuration: PYTHONHOME = (not set) PYTHONPATH = (not set) program name = '/usr/pkg/bin/python3.10' isolated = 0 environment = 1 user site = 1 import site = 1 sys._base_executable = '/usr/pkg/bin/python3.10' sys.base_prefix = '/usr/pkg' sys.base_exec_prefix = '/usr/pkg' sys.platlibdir = 'lib' sys.executable = '/usr/pkg/bin/python3.10' sys.prefix = '/usr/pkg' sys.exec_prefix = '/usr/pkg' sys.path = [ '/usr/pkg/lib/python310.zip', '/usr/pkg/lib/python3.10', '/usr/pkg/lib/lib-dynload', ] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized ModuleNotFoundError: No module named 'encodings' Current thread 0x00007710815a4800 (most recent call first): Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] Python path configuration: PYTHONHOME = (not set) PYTHONPATH = (not set) program name = '/usr/pkg/bin/python3.10' isolated = 0 environment = 1 user site = 1 import site = 1 sys._base_executable = '/usr/pkg/bin/python3.10' sys.base_prefix = '/usr/pkg' sys.base_exec_prefix = '/usr/pkg' sys.platlibdir = 'lib' sys.executable = '/usr/pkg/bin/python3.10' sys.prefix = '/usr/pkg' sys.exec_prefix = '/usr/pkg' sys.path = [ '/usr/pkg/lib/python310.zip', '/usr/pkg/lib/python3.10', '/usr/pkg/lib/lib-dynload', ] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized ModuleNotFoundError: No module named 'encodings' Current thread 0x000079b159204800 (most recent call first): Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] Python path configuration: PYTHONHOME = (not set) PYTHONPATH = (not set) program name = '/usr/pkg/bin/python3.10' isolated = 0 environment = 1 user site = 1 import site = 1 sys._base_executable = '/usr/pkg/bin/python3.10' sys.base_prefix = '/usr/pkg' sys.base_exec_prefix = '/usr/pkg' sys.platlibdir = 'lib' sys.executable = '/usr/pkg/bin/python3.10' sys.prefix = '/usr/pkg' sys.exec_prefix = '/usr/pkg' sys.path = [ '/usr/pkg/lib/python310.zip', '/usr/pkg/lib/python3.10', '/usr/pkg/lib/lib-dynload', ] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized ModuleNotFoundError: No module named 'encodings' Current thread 0x00007e151e71a800 (most recent call first): Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] Python path configuration: PYTHONHOME = (not set) PYTHONPATH = (not set) program name = '/usr/pkg/bin/python3.10' isolated = 0 environment = 1 user site = 1 import site = 1 sys._base_executable = '/usr/pkg/bin/python3.10' sys.base_prefix = '/usr/pkg' sys.base_exec_prefix = '/usr/pkg' sys.platlibdir = 'lib' sys.executable = '/usr/pkg/bin/python3.10' sys.prefix = '/usr/pkg' sys.exec_prefix = '/usr/pkg' sys.path = [ '/usr/pkg/lib/python310.zip', '/usr/pkg/lib/python3.10', '/usr/pkg/lib/lib-dynload', ] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized ModuleNotFoundError: No module named 'encodings' Current thread 0x0000714920e38800 (most recent call first): Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] Python path configuration: PYTHONHOME = (not set) PYTHONPATH = (not set) program name = '/usr/pkg/bin/python3.10' isolated = 0 environment = 1 user site = 1 import site = 1 sys._base_executable = '/usr/pkg/bin/python3.10' sys.base_prefix = '/usr/pkg' sys.base_exec_prefix = '/usr/pkg' sys.platlibdir = 'lib' sys.executable = '/usr/pkg/bin/python3.10' sys.prefix = '/usr/pkg' sys.exec_prefix = '/usr/pkg' sys.path = [ '/usr/pkg/lib/python310.zip', '/usr/pkg/lib/python3.10', '/usr/pkg/lib/lib-dynload', ] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized ModuleNotFoundError: No module named 'encodings' Current thread 0x00007e5e15bce800 (most recent call first): Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] Python path configuration: PYTHONHOME = (not set) PYTHONPATH = (not set) program name = '/usr/pkg/bin/python3.10' isolated = 0 environment = 1 user site = 1 import site = 1 sys._base_executable = '/usr/pkg/bin/python3.10' sys.base_prefix = '/usr/pkg' sys.base_exec_prefix = '/usr/pkg' sys.platlibdir = 'lib' sys.executable = '/usr/pkg/bin/python3.10' sys.prefix = '/usr/pkg' sys.exec_prefix = '/usr/pkg' sys.path = [ '/usr/pkg/lib/python310.zip', '/usr/pkg/lib/python3.10', '/usr/pkg/lib/lib-dynload', ] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized ModuleNotFoundError: No module named 'encodings' Current thread 0x0000763457928800 (most recent call first): checking for --with-mutex-dir... no Using MUTEX_DIR /tmp checking for --with-max-locks... no Using 8 MAX_LOCKS. checking for --with-flex... no checking for flex... /usr/bin/flex found /usr/bin/flex, we'll use this. Use --with-flex to specify another. checking flex version... configure: WARNING: Flex version 2.6.4 found. Version 2.5.31 or greater is required. You can generally ignore this warning unless you need to regenerate psp_parser.c from psp_parse.l. If you do need regenerate psp_parser.c, use --with-flex to specify the location of the correct flex version. See the README for more information. configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating Doc/Makefile config.status: creating src/include/mod_python.h config.status: creating test/Makefile config.status: creating dist/setup.py config.status: creating dist/Makefile config.status: creating scripts/Makefile config.status: creating scripts/mod_python => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp