=> 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 st-1.9nb1
. ./osguess.sh; /usr/pkg/bin/gmake OS="$OS" BUILD="OPT"
Building for aarch64_be-unknown-netbsd10.0
Making with OS=NETBSD
gmake[1]: Entering directory '/tmp/pkgbuild/devel/st/work.aarch64eb/st-1.9'
if [ ! -d target ]; then mkdir target; fi
/tmp/pkgbuild/devel/st/work.aarch64eb/.cwrapper/bin/libtool  --mode=compile gcc -DNETBSD -Wall -O  -c sched.c -o target/sched.lo
libtool: compile:  gcc -DNETBSD -Wall -O -c sched.c  -fPIC -DPIC -o target/.libs/sched.o
In file included from common.h:68,
                 from sched.c:48:
md.h:496:2: error: #error Unknown CPU architecture
  496 | #error Unknown CPU architecture
      |  ^~~~~
distcc[3162] ERROR: compile sched.c on 10.0.20.122:3760 failed
distcc[3162] (dcc_build_somewhere) Warning: remote compilation of 'sched.c' failed, retrying locally
distcc[3162] Warning: failed to distribute sched.c to 10.0.20.122:3760, running locally instead
In file included from common.h:68,
                 from sched.c:48:
md.h:496:2: error: #error Unknown CPU architecture
  496 | #error Unknown CPU architecture
      |  ^~~~~
sched.c: In function '_st_vp_check_clock':
sched.c:470:14: warning: variable 'elapsed' set but not used [-Wunused-but-set-variable]
  470 |   st_utime_t elapsed, now;
      |              ^~~~~~~
In file included from common.h:68,
                 from sched.c:48:
sched.c: In function 'st_thread_create':
md.h:503:22: error: 'MD_JB_SP' undeclared (first use in this function)
  503 |   (_thread)->context[MD_JB_SP] = (long) (_sp); \
      |                      ^~~~~~~~
common.h:427:26: note: in expansion of macro 'MD_INIT_CONTEXT'
  427 | #define _ST_INIT_CONTEXT MD_INIT_CONTEXT
      |                          ^~~~~~~~~~~~~~~
sched.c:591:3: note: in expansion of macro '_ST_INIT_CONTEXT'
  591 |   _ST_INIT_CONTEXT(thread, stack->sp, _st_thread_main);
      |   ^~~~~~~~~~~~~~~~
md.h:503:22: note: each undeclared identifier is reported only once for each function it appears in
  503 |   (_thread)->context[MD_JB_SP] = (long) (_sp); \
      |                      ^~~~~~~~
common.h:427:26: note: in expansion of macro 'MD_INIT_CONTEXT'
  427 | #define _ST_INIT_CONTEXT MD_INIT_CONTEXT
      |                          ^~~~~~~~~~~~~~~
sched.c:591:3: note: in expansion of macro '_ST_INIT_CONTEXT'
  591 |   _ST_INIT_CONTEXT(thread, stack->sp, _st_thread_main);
      |   ^~~~~~~~~~~~~~~~
distcc[3162] ERROR: compile sched.c on localhost failed
gmake[1]: *** [Makefile:370: target/sched.lo] Error 1
gmake[1]: Leaving directory '/tmp/pkgbuild/devel/st/work.aarch64eb/st-1.9'
gmake: *** [Makefile:398: default] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/devel/st
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/st