/usr/bin/install -c -o root -g wheel -m 644 ./Lib/unittest/test/testmock/testsentinel.py /usr/pkg/lib/python3.10/unittest/test/testmock
/usr/bin/install -c -o root -g wheel -m 644 ./Lib/unittest/test/testmock/testwith.py /usr/pkg/lib/python3.10/unittest/test/testmock
/usr/bin/install -c -o root -g wheel -m 644 `cat pybuilddir.txt`/_sysconfigdata_netbsd10.py /usr/pkgsrc/lang/python310/work/.destdir/usr/pkg/lib/python3.10; /usr/bin/install -c -o root -g wheel -m 644 ./LICENSE /usr/pkgsrc/lang/python310/work/.destdir/usr/pkg/lib/python3.10/LICENSE.txt
if test -d /usr/pkgsrc/lang/python310/work/.destdir/usr/pkg/lib/python3.10/distutils/tests; then /usr/bin/install -c -o root -g wheel -m 644 ./Modules/xxmodule.c /usr/pkgsrc/lang/python310/work/.destdir/usr/pkg/lib/python3.10/distutils/tests ; fi
PYTHONPATH=/usr/pkgsrc/lang/python310/work/.destdir/usr/pkg/lib/python3.10 LD_LIBRARY_PATH=/usr/pkgsrc/lang/python310/work/Python-3.10.10 ./python -E -Wi /usr/pkgsrc/lang/python310/work/.destdir/usr/pkg/lib/python3.10/compileall.py -j0 -d /usr/pkg/lib/python3.10 -f -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' /usr/pkgsrc/lang/python310/work/.destdir/usr/pkg/lib/python3.10
And then nothing happens. Waited over an hour.
I also tried to compile version 3.9 - the same thing.
Compiling from stable sources.