=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for micropython-1.9.2nb4 cd /opt/work/lang/micropython/work/micropython-1.9.2/unix && /opt/pkg/bin/gmake axtls gmake[2]: Entering directory '/opt/work/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 '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls' /opt/pkg/bin/gmake -C config/scripts/config conf gmake[4]: Entering directory '/opt/work/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 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: 'static' function 'input' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] static int input (void) ^ 1 warning generated. gcc conf.o zconf.tab.o -o conf gmake[4]: Leaving directory '/opt/work/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 '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls' cd ../lib/axtls; /opt/pkg/bin/gmake clean gmake[3]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls' gmake[4]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/crypto' gmake[4]: Leaving directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/crypto' gmake[4]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/ssl' /opt/pkg/bin/gmake -C test clean gmake[5]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/ssl/test' gmake[5]: Leaving directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/ssl/test' gmake[4]: Leaving directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/ssl' gmake[4]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/httpd' gmake[4]: Leaving directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/httpd' gmake[4]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/axtlswrap' gmake[4]: Leaving directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/axtlswrap' gmake[4]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/samples' /opt/pkg/bin/gmake -C c clean gmake[5]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/c' gmake[5]: Leaving directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/c' /opt/pkg/bin/gmake -C csharp clean gmake[5]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/csharp' gmake[5]: Leaving directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/csharp' /opt/pkg/bin/gmake -C vbnet clean gmake[5]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/vbnet' gmake[5]: Leaving directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/vbnet' /opt/pkg/bin/gmake -C java clean gmake[5]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/java' gmake[5]: Leaving directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/java' /opt/pkg/bin/gmake -C perl clean gmake[5]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/perl' gmake[5]: Leaving directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/perl' /opt/pkg/bin/gmake -C lua clean gmake[5]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/lua' gmake[5]: Leaving directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/samples/lua' gmake[4]: Leaving directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/samples' gmake[4]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/docsrc' gmake[4]: Leaving directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/docsrc' gmake[4]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings' /opt/pkg/bin/gmake -C csharp clean gmake[5]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings/csharp' gmake[5]: Leaving directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings/csharp' /opt/pkg/bin/gmake -C vbnet clean gmake[5]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings/vbnet' gmake[5]: Leaving directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings/vbnet' /opt/pkg/bin/gmake -C java clean gmake[5]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings/java' gmake[5]: Leaving directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings/java' /opt/pkg/bin/gmake -C perl clean gmake[5]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings/perl' gmake[5]: Leaving directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings/perl' /opt/pkg/bin/gmake -C lua clean gmake[5]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings/lua' gmake[5]: Leaving directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings/lua' gmake[4]: Leaving directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/bindings' gmake[3]: Leaving directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls' cd ../lib/axtls; /opt/pkg/bin/gmake all CC="clang" LD="ld" gmake[3]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls' /opt/pkg/bin/gmake -C crypto gmake[4]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/crypto' clang -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 clang -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 clang -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 clang -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 clang -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 clang -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 clang -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 clang -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 clang -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 clang -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 clang -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 sha512.c:119:15: warning: implicit declaration of function '__be64_to_cpu' is invalid in C99 [-Wimplicit-function-declaration] w[t] = be64toh(w[t]); ^ ../ssl/os_port.h:68:20: note: expanded from macro 'be64toh' #define be64toh(x) __be64_to_cpu(x) ^ sha512.c:207:24: warning: implicit declaration of function '__be64_to_cpu' is invalid in C99 [-Wimplicit-function-declaration] ctx->w_buf.w[15] = be64toh(totalSize); ^ ../ssl/os_port.h:68:20: note: expanded from macro 'be64toh' #define be64toh(x) __be64_to_cpu(x) ^ 2 warnings generated. gmake[4]: Leaving directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/crypto' /opt/pkg/bin/gmake -C ssl gmake[4]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/ssl' clang -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:78:22: warning: unused variable 'sig_subject_alt_name' [-Wunused-const-variable] static const uint8_t sig_subject_alt_name[] = ^ asn1.c:83:22: warning: unused variable 'sig_basic_constraints' [-Wunused-const-variable] static const uint8_t sig_basic_constraints[] = ^ asn1.c:88:22: warning: unused variable 'sig_key_usage' [-Wunused-const-variable] static const uint8_t sig_key_usage[] = ^ 3 warnings generated. clang -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 clang -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 clang -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 clang -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 clang -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 clang -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:2019:9: warning: unused variable 'i' [-Wunused-variable] int i = 0; ^ 1 warning generated. clang -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: unused variable 'g_asn1_sha256' [-Wunused-const-variable] static const uint8_t g_asn1_sha256[] = ^ 1 warning generated. clang -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 clang -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 '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls/ssl' gmake[3]: Leaving directory '/opt/work/lang/micropython/work/micropython-1.9.2/lib/axtls' cp ../lib/axtls/_stage/libaxtls.a build/libaxtls.a gmake[2]: Leaving directory '/opt/work/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 gmake[1]: Entering directory '/opt/work/lang/micropython/work/micropython-1.9.2/mpy-cross' Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. Generating build/frozen.c mkdir -p build/genhdr mkdir -p build/ mkdir -p build/py/ mkdir -p build/py/../extmod/ mkdir -p build/py/../lib/embed/ mkdir -p build/py/../lib/utils/ Generating build/genhdr/mpversion.h Generating build/genhdr/mpversion.h GEN build/genhdr/qstr.i.last GEN build/genhdr/qstr.i.last ../py/persistentcode.c:397:2: error: mp_raw_code_save_file not implemented for this platform #error mp_raw_code_save_file not implemented for this platform ^ 1 error generated. gmake[1]: *** [../py/mkrules.mk:74: build/genhdr/qstr.i.last] Error 1 gmake[1]: *** Deleting file 'build/genhdr/qstr.i.last' gmake[1]: Leaving directory '/opt/work/lang/micropython/work/micropython-1.9.2/mpy-cross' gmake: *** [../py/mkrules.mk:107: ../mpy-cross/mpy-cross] Error 2 gmake: *** Waiting for unfinished jobs.... *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/lang/micropython *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/lang/micropython