+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/micropython-1.9.2nb6/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/micropython-1.9.2nb6/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for micropython-1.9.2nb6
cd /home/pbulk/build/lang/micropython/work/micropython-1.9.2/unix && /opt/pkg/bin/gmake axtls
gmake[2]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/unix'
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
mkdir -p build/
mkdir -p build/build/
mkdir -p build/extmod/
mkdir -p build/lib/berkeley-db-1.xx/btree/
mkdir -p build/lib/berkeley-db-1.xx/mpool/
mkdir -p build/lib/mp-readline/
mkdir -p build/lib/oofatfs/
mkdir -p build/lib/oofatfs/option/
mkdir -p build/lib/timeutils/
mkdir -p build/py/
mkdir -p build/py/../lib/embed/
mkdir -p build/py/../lib/utils/
cd ../lib/axtls; cp config/upyconfig config/.config
cd ../lib/axtls; /opt/pkg/bin/gmake oldconfig -B
gmake[3]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls'
/opt/pkg/bin/gmake -C config/scripts/config conf
gmake[4]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/config/scripts/config'
cp ../../scripts/config/zconf.tab.h_shipped zconf.tab.h
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I. -c ../../scripts/config/conf.c -o conf.o
../../scripts/config/conf.c: In function 'conf_string':
../../scripts/config/conf.c:164:27: warning: variable 'help' set but not used [-Wunused-but-set-variable]
  164 |         const char *def, *help;
      |                           ^~~~
../../scripts/config/conf.c: In function 'conf_sym':
../../scripts/config/conf.c:198:13: warning: variable 'type' set but not used [-Wunused-but-set-variable]
  198 |         int type;
      |             ^~~~
../../scripts/config/conf.c: In function 'conf_choice':
../../scripts/config/conf.c:273:13: warning: variable 'type' set but not used [-Wunused-but-set-variable]
  273 |         int type;
      |             ^~~~
cp ../../scripts/config/zconf.tab.c_shipped zconf.tab.c
cp ../../scripts/config/lex.zconf.c_shipped lex.zconf.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I../../scripts/config -I. -c zconf.tab.c -o zconf.tab.o
In file included from zconf.tab.c:2123:
lex.zconf.c:2969:16: warning: 'input' defined but not used [-Wunused-function]
 2969 |     static int input  (void)
      |                ^~~~~
gcc  conf.o zconf.tab.o -o conf
gmake[4]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/config/scripts/config'
config/.config:46: trying to assign nonexistent symbol CONFIG_SSL_ENABLE_V23_HANDSHAKE
#
# using defaults found in config/.config
#
*
* axTLS Configuration
*
Platform
> 1. Linux (CONFIG_PLATFORM_LINUX)
  2. Cygwin (CONFIG_PLATFORM_CYGWIN)
  3. Win32 (CONFIG_PLATFORM_WIN32)
choice[1-3]: 1
*
* General Configuration
*
axTLS installation prefix (PREFIX) [/usr/local] /usr/local
Build axTLS with Debugging symbols (CONFIG_DEBUG) [N/y/?] n
  Strip unwanted sections from elf binaries (CONFIG_STRIP_UNWANTED_SECTIONS) [N/y/?] n
Any extra CFLAGS options for the compiler? (CONFIG_EXTRA_CFLAGS_OPTIONS) [] 
Any extra LDFLAGS options for the compiler? (CONFIG_EXTRA_LDFLAGS_OPTIONS) [] 
*
* SSL Library
*
Mode
  1. Server only - no verification (CONFIG_SSL_SERVER_ONLY)
  2. Server only - with verification (CONFIG_SSL_CERT_VERIFICATION)
  3. Client/Server enabled with diagnostics (CONFIG_SSL_FULL_MODE)
> 4. Skeleton mode - the smallest server mode (CONFIG_SSL_SKELETON_MODE)
choice[1-4]: 4
Server enabled (CONFIG_SSL_ENABLE_SERVER) [Y/n/?] y
Client enabled (CONFIG_SSL_ENABLE_CLIENT) [Y/n/?] y
Diagnostic messages (CONFIG_SSL_DIAGNOSTICS) [N/y/?] n
Protocol Preference
> 1. Low (CONFIG_SSL_PROT_LOW)
  2. Medium (CONFIG_SSL_PROT_MEDIUM)
  3. High (CONFIG_SSL_PROT_HIGH)
choice[1-3]: 1
Enable AES cipher (CONFIG_SSL_AES) [Y/n/?] y
Enable default key (CONFIG_SSL_USE_DEFAULT_KEY) [Y/n/?] y
Generate X.509 Certificate (CONFIG_SSL_GENERATE_X509_CERT) [N/y/?] n
Maximum number of certificate authorites (CONFIG_X509_MAX_CA_CERTS) [0] 0
Maximum number of chained certificates (CONFIG_SSL_MAX_CERTS) [3] 3
Enable SSL_CTX mutexing (CONFIG_SSL_CTX_MUTEXING) [N/y/?] n
Use /dev/urandom (CONFIG_USE_DEV_URANDOM) [N/y/?] n
Enable openssl API compatibility (CONFIG_OPENSSL_COMPATIBLE) [N/y/?] n
Enable axtlswrap (CONFIG_AXTLSWRAP) [N/y/?] n
Enable HTTP/HTTPS Web Server (CONFIG_AXHTTPD) [N/y/?] n
*
* Language Bindings
*
Create language bindings (CONFIG_BINDINGS) [N/y/?] n
*
* Samples
*
Create Samples (CONFIG_SAMPLES) [N/y/?] n
gmake[3]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls'
cd ../lib/axtls; /opt/pkg/bin/gmake clean
gmake[3]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls'
gmake[4]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/crypto'
gmake[4]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/crypto'
gmake[4]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/ssl'
/opt/pkg/bin/gmake -C test clean
gmake[5]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/ssl/test'
gmake[5]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/ssl/test'
gmake[4]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/ssl'
gmake[4]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/httpd'
gmake[4]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/httpd'
gmake[4]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/axtlswrap'
gmake[4]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/axtlswrap'
gmake[4]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/samples'
/opt/pkg/bin/gmake -C c clean
gmake[5]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/c'
gmake[5]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/c'
/opt/pkg/bin/gmake -C csharp clean
gmake[5]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/csharp'
gmake[5]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/csharp'
/opt/pkg/bin/gmake -C vbnet clean
gmake[5]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/vbnet'
gmake[5]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/vbnet'
/opt/pkg/bin/gmake -C java clean
gmake[5]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/java'
gmake[5]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/java'
/opt/pkg/bin/gmake -C perl clean
gmake[5]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/perl'
gmake[5]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/perl'
/opt/pkg/bin/gmake -C lua clean
gmake[5]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/lua'
gmake[5]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/lua'
gmake[4]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/samples'
gmake[4]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/docsrc'
gmake[4]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/docsrc'
gmake[4]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings'
/opt/pkg/bin/gmake -C csharp clean
gmake[5]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings/csharp'
gmake[5]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings/csharp'
/opt/pkg/bin/gmake -C vbnet clean
gmake[5]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings/vbnet'
gmake[5]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings/vbnet'
/opt/pkg/bin/gmake -C java clean
gmake[5]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings/java'
gmake[5]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings/java'
/opt/pkg/bin/gmake -C perl clean
gmake[5]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings/perl'
gmake[5]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings/perl'
/opt/pkg/bin/gmake -C lua clean
gmake[5]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings/lua'
gmake[5]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings/lua'
gmake[4]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings'
gmake[3]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls'
cd ../lib/axtls; /opt/pkg/bin/gmake all CC="gcc" LD="ld"
gmake[3]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls'
/opt/pkg/bin/gmake -C crypto
gmake[4]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/crypto'
gcc -I../config -I../ssl -I../crypto  -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables     -c -o aes.o aes.c
gcc -I../config -I../ssl -I../crypto  -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables     -c -o bigint.o bigint.c
gcc -I../config -I../ssl -I../crypto  -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables     -c -o crypto_misc.o crypto_misc.c
crypto_misc.c: In function 'RNG_initialize':
crypto_misc.c:126:5: warning: 'memcpy' forming offset [4, 31] is out of the bounds [0, 4] of object 'i' with type 'int' [-Warray-bounds=]
  126 |     memcpy(entropy_pool, &i, ENTROPY_POOL_SIZE);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
crypto_misc.c:125:9: note: 'i' declared here
  125 |     int i;
      |         ^
gcc -I../config -I../ssl -I../crypto  -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables     -c -o hmac.o hmac.c
gcc -I../config -I../ssl -I../crypto  -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables     -c -o md5.o md5.c
gcc -I../config -I../ssl -I../crypto  -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables     -c -o rc4.o rc4.c
gcc -I../config -I../ssl -I../crypto  -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables     -c -o rsa.o rsa.c
rsa.c: In function 'RSA_decrypt':
rsa.c:150:33: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  150 |     uint8_t *block = (uint8_t *)alloca(byte_size);
      |                                 ^~~~~~
rsa.c:150:33: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch]
gcc -I../config -I../ssl -I../crypto  -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables     -c -o sha1.o sha1.c
gcc -I../config -I../ssl -I../crypto  -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables     -c -o sha256.o sha256.c
gcc -I../config -I../ssl -I../crypto  -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables     -c -o sha384.o sha384.c
gcc -I../config -I../ssl -I../crypto  -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables     -c -o sha512.o sha512.c
In file included from sha512.c:32:
sha512.c: In function 'SHA512_Process':
../ssl/os_port.h:68:20: warning: implicit declaration of function '__be64_to_cpu' [-Wimplicit-function-declaration]
   68 | #define be64toh(x) __be64_to_cpu(x)
      |                    ^~~~~~~~~~~~~
sha512.c:119:15: note: in expansion of macro 'be64toh'
  119 |        w[t] = be64toh(w[t]);
      |               ^~~~~~~
gmake[4]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/crypto'
/opt/pkg/bin/gmake -C ssl
gmake[4]: Entering directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/ssl'
gcc -I../config -I../ssl -I../crypto  -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables     -c -o asn1.o asn1.c
asn1.c:88:22: warning: 'sig_key_usage' defined but not used [-Wunused-const-variable=]
   88 | static const uint8_t sig_key_usage[] =
      |                      ^~~~~~~~~~~~~
asn1.c:83:22: warning: 'sig_basic_constraints' defined but not used [-Wunused-const-variable=]
   83 | static const uint8_t sig_basic_constraints[] =
      |                      ^~~~~~~~~~~~~~~~~~~~~
asn1.c:78:22: warning: 'sig_subject_alt_name' defined but not used [-Wunused-const-variable=]
   78 | static const uint8_t sig_subject_alt_name[] =
      |                      ^~~~~~~~~~~~~~~~~~~~
gcc -I../config -I../ssl -I../crypto  -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables     -c -o gen_cert.o gen_cert.c
gcc -I../config -I../ssl -I../crypto  -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables     -c -o loader.o loader.c
gcc -I../config -I../ssl -I../crypto  -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables     -c -o openssl.o openssl.c
gcc -I../config -I../ssl -I../crypto  -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables     -c -o os_port.o os_port.c
gcc -I../config -I../ssl -I../crypto  -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables     -c -o p12.o p12.c
gcc -I../config -I../ssl -I../crypto  -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables     -c -o tls1.o tls1.c
tls1.c: In function 'add_hmac_digest':
tls1.c:695:33: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  695 |     uint8_t *t_buf = (uint8_t *)alloca(hmac_len);
      |                                 ^~~~~~
tls1.c:695:33: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch]
tls1.c: In function 'send_packet':
tls1.c:1177:30: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch]
 1177 |             uint8_t *t_buf = alloca(msg_length + iv_size);
      |                              ^~~~~~
tls1.c: In function 'process_certificate':
tls1.c:2019:9: warning: unused variable 'i' [-Wunused-variable]
 2019 |     int i = 0;
      |         ^
tls1.c:2015:15: warning: variable 'chain' set but not used [-Wunused-but-set-variable]
 2015 |     X509_CTX *chain = 0;
      |               ^~~~~
gcc -I../config -I../ssl -I../crypto  -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables     -c -o tls1_svr.o tls1_svr.c
tls1_svr.c:39:22: warning: 'g_asn1_sha256' defined but not used [-Wunused-const-variable=]
   39 | static const uint8_t g_asn1_sha256[] =
      |                      ^~~~~~~~~~~~~
gcc -I../config -I../ssl -I../crypto  -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables     -c -o tls1_clnt.o tls1_clnt.c
gcc -I../config -I../ssl -I../crypto  -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables     -c -o x509.o x509.c
ar -rcs .././_stage/libaxtls.a ../crypto/aes.o ../crypto/bigint.o ../crypto/crypto_misc.o ../crypto/hmac.o ../crypto/md5.o ../crypto/rc4.o ../crypto/rsa.o ../crypto/sha1.o ../crypto/sha256.o ../crypto/sha384.o ../crypto/sha512.o asn1.o gen_cert.o loader.o openssl.o os_port.o p12.o tls1.o tls1_svr.o tls1_clnt.o x509.o
gmake[4]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls/ssl'
gmake[3]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/lib/axtls'
cp ../lib/axtls/_stage/libaxtls.a build/libaxtls.a
gmake[2]: Leaving directory '/home/pbulk/build/lang/micropython/work/micropython-1.9.2/unix'
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
mkdir -p build/genhdr
Generating build/genhdr/mpversion.h
GEN build/genhdr/qstr.i.last
In file included from ../extmod/modbtree.c:39:
../lib/berkeley-db-1.xx/PORT/include/db.h:40:10: fatal error: sys/cdefs.h: No such file or directory
   40 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
In file included from ../lib/berkeley-db-1.xx/btree/bt_close.c:48:
../lib/berkeley-db-1.xx/PORT/include/db.h:40:10: fatal error: sys/cdefs.h: No such file or directory
   40 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
In file included from ../lib/berkeley-db-1.xx/btree/bt_conv.c:45:
../lib/berkeley-db-1.xx/PORT/include/db.h:40:10: fatal error: sys/cdefs.h: No such file or directory
   40 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
In file included from ../lib/berkeley-db-1.xx/btree/bt_debug.c:47:
../lib/berkeley-db-1.xx/PORT/include/db.h:40:10: fatal error: sys/cdefs.h: No such file or directory
   40 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
In file included from ../lib/berkeley-db-1.xx/btree/bt_delete.c:47:
../lib/berkeley-db-1.xx/PORT/include/db.h:40:10: fatal error: sys/cdefs.h: No such file or directory
   40 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
In file included from ../lib/berkeley-db-1.xx/btree/bt_get.c:47:
../lib/berkeley-db-1.xx/PORT/include/db.h:40:10: fatal error: sys/cdefs.h: No such file or directory
   40 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
In file included from ../lib/berkeley-db-1.xx/btree/bt_open.c:58:
../lib/berkeley-db-1.xx/PORT/include/db.h:40:10: fatal error: sys/cdefs.h: No such file or directory
   40 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
In file included from ../lib/berkeley-db-1.xx/btree/bt_overflow.c:47:
../lib/berkeley-db-1.xx/PORT/include/db.h:40:10: fatal error: sys/cdefs.h: No such file or directory
   40 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
In file included from ../lib/berkeley-db-1.xx/btree/bt_page.c:42:
../lib/berkeley-db-1.xx/PORT/include/db.h:40:10: fatal error: sys/cdefs.h: No such file or directory
   40 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
In file included from ../lib/berkeley-db-1.xx/btree/bt_put.c:48:
../lib/berkeley-db-1.xx/PORT/include/db.h:40:10: fatal error: sys/cdefs.h: No such file or directory
   40 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
In file included from ../lib/berkeley-db-1.xx/btree/bt_search.c:45:
../lib/berkeley-db-1.xx/PORT/include/db.h:40:10: fatal error: sys/cdefs.h: No such file or directory
   40 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
In file included from ../lib/berkeley-db-1.xx/btree/bt_seq.c:48:
../lib/berkeley-db-1.xx/PORT/include/db.h:40:10: fatal error: sys/cdefs.h: No such file or directory
   40 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
In file included from ../lib/berkeley-db-1.xx/btree/bt_split.c:48:
../lib/berkeley-db-1.xx/PORT/include/db.h:40:10: fatal error: sys/cdefs.h: No such file or directory
   40 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
In file included from ../lib/berkeley-db-1.xx/btree/bt_utils.c:47:
../lib/berkeley-db-1.xx/PORT/include/db.h:40:10: fatal error: sys/cdefs.h: No such file or directory
   40 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
In file included from ../lib/berkeley-db-1.xx/mpool/mpool.c:46:
../lib/berkeley-db-1.xx/PORT/include/db.h:40:10: fatal error: sys/cdefs.h: No such file or directory
   40 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
gmake: *** [../py/mkrules.mk:74: build/genhdr/qstr.i.last] Error 1
gmake: *** Deleting file 'build/genhdr/qstr.i.last'
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/micropython
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/micropython