===> Building for tinyscheme-1.40nb1
/Users/pbulk/build/lang/tinyscheme/work/.cwrapper/bin/libtool  --mode=compile clang -I. -c  -DSUN_DL=1 -DUSE_DL=1 -DUSE_MATH=0 -DUSE_ASCII_NAMES=0  scheme.c
libtool: compile:  clang -I. -c -DSUN_DL=1 -DUSE_DL=1 -DUSE_MATH=0 -DUSE_ASCII_NAMES=0 scheme.c  -fno-common -DPIC -o .libs/scheme.o
scheme.c:3554:18: warning: 163 enumeration values not handled in switch: 'OP_LOAD', 'OP_T0LVL', 'OP_T1LVL'... [-Wswitch]
          switch(op) {
                 ^
scheme.c:3554:18: note: add missing switch cases
          switch(op) {
                 ^
scheme.c:3794:18: warning: 165 enumeration values not handled in switch: 'OP_LOAD', 'OP_T0LVL', 'OP_T1LVL'... [-Wswitch]
          switch(op) {
                 ^
scheme.c:3794:18: note: add missing switch cases
          switch(op) {
                 ^
scheme.c:3811:18: warning: 166 enumeration values not handled in switch: 'OP_LOAD', 'OP_T0LVL', 'OP_T1LVL'... [-Wswitch]
          switch(op) {
                 ^
scheme.c:3811:18: note: add missing switch cases
          switch(op) {
                 ^
scheme.c:3633:14: warning: 139 enumeration values not handled in switch: 'OP_LOAD', 'OP_T0LVL', 'OP_T1LVL'... [-Wswitch]
     switch (op) {
             ^
scheme.c:3633:14: note: add missing switch cases
     switch (op) {
             ^
scheme.c:4848:13: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
     extern MacTS_main(int argc, char **argv);
     ~~~~~~ ^
scheme.c:4850:17: warning: implicit declaration of function 'ccommand' is invalid in C99 [-Wimplicit-function-declaration]
     int argc = ccommand(&argv);
                ^
6 warnings generated.
libtool: compile:  clang -I. -c -DSUN_DL=1 -DUSE_DL=1 -DUSE_MATH=0 -DUSE_ASCII_NAMES=0 scheme.c -o scheme.o >/dev/null 2>&1
/Users/pbulk/build/lang/tinyscheme/work/.cwrapper/bin/libtool  --mode=compile clang -I. -c  -DSUN_DL=1 -DUSE_DL=1 -DUSE_MATH=0 -DUSE_ASCII_NAMES=0  dynload.c
libtool: compile:  clang -I. -c -DSUN_DL=1 -DUSE_DL=1 -DUSE_MATH=0 -DUSE_ASCII_NAMES=0 dynload.c  -fno-common -DPIC -o .libs/dynload.o
dynload.c:24:9: warning: 'SUN_DL' macro redefined [-Wmacro-redefined]
#define SUN_DL
        ^
<command line>:1:9: note: previous definition is here
#define SUN_DL 1
        ^
1 warning generated.
libtool: compile:  clang -I. -c -DSUN_DL=1 -DUSE_DL=1 -DUSE_MATH=0 -DUSE_ASCII_NAMES=0 dynload.c -o dynload.o >/dev/null 2>&1
/Users/pbulk/build/lang/tinyscheme/work/.cwrapper/bin/libtool  --mode=link clang -o scheme  scheme.o dynload.o  -lm -ldl
libtool: link: clang -o scheme scheme.o dynload.o  -lm -ldl
Undefined symbols for architecture arm64:
  "_ccommand", referenced from:
      _main in scheme.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** [scheme] Error code 1

bmake: stopped making "all" in /Users/pbulk/build/lang/tinyscheme/work/tinyscheme-1.40
bmake: 1 error

bmake: stopped making "all" in /Users/pbulk/build/lang/tinyscheme/work/tinyscheme-1.40
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/lang/tinyscheme
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/lang/tinyscheme