=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for hexer-1.0.6nb1
[ ! -e config.h.auto ] || rm config.h.auto
echo "/* Autogenerated by Makefile and config-test.c */" > config.h.auto
for item in  SIGTYPE_INT	 ALLOCA_H	 VASPRINTF	 ; do  echo "Testing for $item";  if clang -I/opt/pkg/include/ncurses -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700  -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"1.0.6\" -pipe -Os -I/opt/pkg/include/ncurses -D"TEST_$item" -c -o config-test.o -Werror config-test.c; then  value=1;  else  value=0;  fi;  echo "- result: $value";  printf "\n#define HAVE_%s\t%d\n" "$item" "$value" >> config.h.auto;  done
Testing for SIGTYPE_INT
config-test.c:82:33: warning: incompatible function pointer types passing 'int (void)' to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types]
        buf[0] = '0' + (signal(SIGINT, handler) != SIG_ERR);
                                       ^~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/signal.h:390:30: note: passing argument to parameter here
    void(*signal(int, void (*)(int)))(int);
                             ^
1 warning generated.
- result: 1
Testing for ALLOCA_H
- result: 1
Testing for VASPRINTF
config-test.c:70:8: warning: call to undeclared function 'vasprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        ret = vasprintf(&res, "%d", v);
              ^
1 warning generated.
- result: 1
[ ! -e config.h ] || rm config.h
mv config.h.auto config.h
clang -I/opt/pkg/include/ncurses -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700  -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"1.0.6\" -pipe -Os -I/opt/pkg/include/ncurses -c -o buffer.o buffer.c
clang -I/opt/pkg/include/ncurses -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700  -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"1.0.6\" -pipe -Os -I/opt/pkg/include/ncurses -c -o tio.o tio.c
tio.c:1969:10: warning: call to undeclared function 'vasprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  rval = vasprintf(&s, fmt, ap);
         ^
tio.c:1999:10: warning: call to undeclared function 'vasprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  rval = vasprintf(&s, fmt, ap);
         ^
2 warnings generated.
clang -I/opt/pkg/include/ncurses -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700  -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"1.0.6\" -pipe -Os -I/opt/pkg/include/ncurses -c -o edit.o edit.c
clang -I/opt/pkg/include/ncurses -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700  -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"1.0.6\" -pipe -Os -I/opt/pkg/include/ncurses -c -o main.o main.c
clang -I/opt/pkg/include/ncurses -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700  -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"1.0.6\" -pipe -Os -I/opt/pkg/include/ncurses -c -o hexer.o hexer.c
clang -I/opt/pkg/include/ncurses -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700  -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"1.0.6\" -pipe -Os -I/opt/pkg/include/ncurses -c -o readline.o readline.c
clang -I/opt/pkg/include/ncurses -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700  -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"1.0.6\" -pipe -Os -I/opt/pkg/include/ncurses -c -o regex.o regex.c
regex.c:916:3: warning: array index -1 is before the beginning of the array [-Warray-bounds]
  branch[-1] = regex;
  ^      ~~
regex.c:813:3: note: array 'branch' declared here
  long *branch[1024];
  ^
1 warning generated.
clang -I/opt/pkg/include/ncurses -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700  -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"1.0.6\" -pipe -Os -I/opt/pkg/include/ncurses -c -o exh.o exh.c
clang -I/opt/pkg/include/ncurses -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700  -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"1.0.6\" -pipe -Os -I/opt/pkg/include/ncurses -c -o set.o set.c
set.c:143:16: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs]
  va_start(ap, type);
               ^
set.c:138:32: note: parameter of type 'const enum s_option_e' is declared here
         const enum s_option_e type, ...)
                               ^
set.c:286:45: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
      if (i->action && !no_action) i->action(value_string);
                                            ^
set.c:290:45: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
      if (i->action && !no_action) i->action(i->u.ival);
                                            ^
set.c:299:45: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
      if (i->action && !no_action) i->action(i->u.bval);
                                            ^
1 warning and 3 errors generated.
*** [set.o] Error code 1

bmake: stopped in /Users/pbulk/build/editors/hexer/work/hexer-1.0.6
1 error

bmake: stopped in /Users/pbulk/build/editors/hexer/work/hexer-1.0.6
*** Error code 2

Stop.
bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/editors/hexer
*** Error code 1

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/editors/hexer