=> 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-rarfile-4.2
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
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 0x000071d5a7944800 (most recent call first):
  <no Python frame>
*** Error code 1

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

Stop.
make: stopped in /usr/pkgsrc/archivers/py-rarfile