=> Bootstrap dependency digest>=20211023: found digest-20220214
===> 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'.
===> Building for py310-apsw-3.47.1.0
* Building wheel...
running bdist_wheel
running build
running build_py
creating build/lib.netbsd-10.0-i386-cpython-310/apsw
copying apsw/__main__.py -> build/lib.netbsd-10.0-i386-cpython-310/apsw
copying apsw/bestpractice.py -> build/lib.netbsd-10.0-i386-cpython-310/apsw
copying apsw/ext.py -> build/lib.netbsd-10.0-i386-cpython-310/apsw
copying apsw/fts5.py -> build/lib.netbsd-10.0-i386-cpython-310/apsw
copying apsw/fts5aux.py -> build/lib.netbsd-10.0-i386-cpython-310/apsw
copying apsw/fts5query.py -> build/lib.netbsd-10.0-i386-cpython-310/apsw
copying apsw/ftstests.py -> build/lib.netbsd-10.0-i386-cpython-310/apsw
copying apsw/shell.py -> build/lib.netbsd-10.0-i386-cpython-310/apsw
copying apsw/speedtest.py -> build/lib.netbsd-10.0-i386-cpython-310/apsw
copying apsw/tests.py -> build/lib.netbsd-10.0-i386-cpython-310/apsw
copying apsw/trace.py -> build/lib.netbsd-10.0-i386-cpython-310/apsw
copying apsw/unicode.py -> build/lib.netbsd-10.0-i386-cpython-310/apsw
running egg_info
writing apsw.egg-info/PKG-INFO
writing dependency_links to apsw.egg-info/dependency_links.txt
writing entry points to apsw.egg-info/entry_points.txt
writing top-level names to apsw.egg-info/top_level.txt
SQLite: Using system sqlite include/libraries
reading manifest file 'apsw.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'apsw.egg-info/SOURCES.txt'
copying apsw/__init__.pyi -> build/lib.netbsd-10.0-i386-cpython-310/apsw
copying apsw/fts_test_strings -> build/lib.netbsd-10.0-i386-cpython-310/apsw
copying apsw/py.typed -> build/lib.netbsd-10.0-i386-cpython-310/apsw
running build_ext
building 'apsw.__init__' extension
creating build/temp.netbsd-10.0-i386-cpython-310/src
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -I/usr/include -I/usr/pkg/include -O2 -I/usr/include -I/usr/pkg/include -O2 -I/usr/include -I/usr/pkg/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.10 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.10 -fPIC -DNDEBUG=1 -DAPSW_FORK_CHECKER=1 -Isrc -I/usr/pkg/include/python3.10 -c src/apsw.c -o build/temp.netbsd-10.0-i386-cpython-310/src/apsw.o
In file included from src/apsw.c:227:
src/vfs.c: In function 'apswvfspy_xDlClose':
src/vfs.c:987:80: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  987 |     AddTraceBackHere(__FILE__, __LINE__, "vfspy.xDlClose", "{s: K}", "handle", (unsigned long long)handle);
      |                                                                                ^
gcc -shared -L. -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.10 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.10 build/temp.netbsd-10.0-i386-cpython-310/src/apsw.o -L/usr/pkg/lib -lsqlite3 -o build/lib.netbsd-10.0-i386-cpython-310/apsw/__init__.so
building 'apsw._unicode' extension
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -I/usr/include -I/usr/pkg/include -O2 -I/usr/include -I/usr/pkg/include -O2 -I/usr/include -I/usr/pkg/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.10 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.10 -fPIC -I/usr/pkg/include/python3.10 -c src/unicode.c -o build/temp.netbsd-10.0-i386-cpython-310/src/unicode.o
gcc -shared -L. -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.10 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.10 build/temp.netbsd-10.0-i386-cpython-310/src/unicode.o -L/usr/pkg/lib -o build/lib.netbsd-10.0-i386-cpython-310/apsw/_unicode.so
installing to build/bdist.netbsd-10.0-i386/wheel
running install
running install_lib
creating build/bdist.netbsd-10.0-i386/wheel
creating build/bdist.netbsd-10.0-i386/wheel/apsw
copying build/lib.netbsd-10.0-i386-cpython-310/apsw/__main__.py -> build/bdist.netbsd-10.0-i386/wheel/./apsw
copying build/lib.netbsd-10.0-i386-cpython-310/apsw/bestpractice.py -> build/bdist.netbsd-10.0-i386/wheel/./apsw
copying build/lib.netbsd-10.0-i386-cpython-310/apsw/ext.py -> build/bdist.netbsd-10.0-i386/wheel/./apsw
copying build/lib.netbsd-10.0-i386-cpython-310/apsw/fts5.py -> build/bdist.netbsd-10.0-i386/wheel/./apsw
copying build/lib.netbsd-10.0-i386-cpython-310/apsw/fts5aux.py -> build/bdist.netbsd-10.0-i386/wheel/./apsw
copying build/lib.netbsd-10.0-i386-cpython-310/apsw/fts5query.py -> build/bdist.netbsd-10.0-i386/wheel/./apsw
copying build/lib.netbsd-10.0-i386-cpython-310/apsw/ftstests.py -> build/bdist.netbsd-10.0-i386/wheel/./apsw
copying build/lib.netbsd-10.0-i386-cpython-310/apsw/shell.py -> build/bdist.netbsd-10.0-i386/wheel/./apsw
copying build/lib.netbsd-10.0-i386-cpython-310/apsw/speedtest.py -> build/bdist.netbsd-10.0-i386/wheel/./apsw
copying build/lib.netbsd-10.0-i386-cpython-310/apsw/tests.py -> build/bdist.netbsd-10.0-i386/wheel/./apsw
copying build/lib.netbsd-10.0-i386-cpython-310/apsw/trace.py -> build/bdist.netbsd-10.0-i386/wheel/./apsw
copying build/lib.netbsd-10.0-i386-cpython-310/apsw/unicode.py -> build/bdist.netbsd-10.0-i386/wheel/./apsw
copying build/lib.netbsd-10.0-i386-cpython-310/apsw/__init__.pyi -> build/bdist.netbsd-10.0-i386/wheel/./apsw
copying build/lib.netbsd-10.0-i386-cpython-310/apsw/fts_test_strings -> build/bdist.netbsd-10.0-i386/wheel/./apsw
copying build/lib.netbsd-10.0-i386-cpython-310/apsw/py.typed -> build/bdist.netbsd-10.0-i386/wheel/./apsw
copying build/lib.netbsd-10.0-i386-cpython-310/apsw/__init__.so -> build/bdist.netbsd-10.0-i386/wheel/./apsw
copying build/lib.netbsd-10.0-i386-cpython-310/apsw/_unicode.so -> build/bdist.netbsd-10.0-i386/wheel/./apsw
running install_egg_info
error: invalid command 'install_egg_info'

ERROR Backend subprocess exited when trying to invoke build_wheel
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/databases/py-apsw
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/py-apsw