=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for micropython-1.9.2nb4 cd /tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/unix && /usr/pkg/bin/gmake axtls gmake[2]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/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; /usr/pkg/bin/gmake oldconfig -B gmake[3]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls' /usr/pkg/bin/gmake -C config/scripts/config conf gmake[4]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/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:20: warning: variable 'help' set but not used [-Wunused-but-set-variable] const char *def, *help; ^~~~ ../../scripts/config/conf.c: In function 'conf_sym': ../../scripts/config/conf.c:198:6: warning: variable 'type' set but not used [-Wunused-but-set-variable] int type; ^~~~ ../../scripts/config/conf.c: In function 'conf_choice': ../../scripts/config/conf.c:273:6: warning: variable 'type' set but not used [-Wunused-but-set-variable] 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:0: lex.zconf.c:2969:16: warning: 'input' defined but not used [-Wunused-function] static int input (void) ^~~~~ gcc conf.o zconf.tab.o -o conf gmake[4]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/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 '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls' cd ../lib/axtls; /usr/pkg/bin/gmake clean gmake[3]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls' gmake[4]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/crypto' gmake[4]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/crypto' gmake[4]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/ssl' /usr/pkg/bin/gmake -C test clean gmake[5]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/ssl/test' gmake[5]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/ssl/test' gmake[4]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/ssl' gmake[4]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/httpd' gmake[4]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/httpd' gmake[4]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/axtlswrap' gmake[4]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/axtlswrap' gmake[4]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/samples' /usr/pkg/bin/gmake -C c clean gmake[5]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/samples/c' gmake[5]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/samples/c' /usr/pkg/bin/gmake -C csharp clean gmake[5]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/samples/csharp' gmake[5]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/samples/csharp' /usr/pkg/bin/gmake -C vbnet clean gmake[5]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/samples/vbnet' gmake[5]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/samples/vbnet' /usr/pkg/bin/gmake -C java clean gmake[5]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/samples/java' gmake[5]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/samples/java' /usr/pkg/bin/gmake -C perl clean gmake[5]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/samples/perl' gmake[5]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/samples/perl' /usr/pkg/bin/gmake -C lua clean gmake[5]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/samples/lua' gmake[5]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/samples/lua' gmake[4]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/samples' gmake[4]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/docsrc' gmake[4]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/docsrc' gmake[4]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/bindings' /usr/pkg/bin/gmake -C csharp clean gmake[5]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/bindings/csharp' gmake[5]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/bindings/csharp' /usr/pkg/bin/gmake -C vbnet clean gmake[5]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/bindings/vbnet' gmake[5]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/bindings/vbnet' /usr/pkg/bin/gmake -C java clean gmake[5]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/bindings/java' gmake[5]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/bindings/java' /usr/pkg/bin/gmake -C perl clean gmake[5]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/bindings/perl' gmake[5]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/bindings/perl' /usr/pkg/bin/gmake -C lua clean gmake[5]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/bindings/lua' gmake[5]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/bindings/lua' gmake[4]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/bindings' gmake[3]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls' cd ../lib/axtls; /usr/pkg/bin/gmake all CC="gcc" LD="ld" gmake[3]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls' /usr/pkg/bin/gmake -C crypto gmake[4]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/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 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 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 gmake[4]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/crypto' /usr/pkg/bin/gmake -C ssl gmake[4]: Entering directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/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=] static const uint8_t sig_key_usage[] = ^~~~~~~~~~~~~ asn1.c:83:22: warning: 'sig_basic_constraints' defined but not used [-Wunused-const-variable=] static const uint8_t sig_basic_constraints[] = ^~~~~~~~~~~~~~~~~~~~~ asn1.c:78:22: warning: 'sig_subject_alt_name' defined but not used [-Wunused-const-variable=] 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 'process_certificate': tls1.c:2019:9: warning: unused variable 'i' [-Wunused-variable] int i = 0; ^ tls1.c:2015:15: warning: variable 'chain' set but not used [-Wunused-but-set-variable] 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=] 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 '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls/ssl' gmake[3]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/lib/axtls' cp ../lib/axtls/_stage/libaxtls.a build/libaxtls.a gmake[2]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/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 '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/mpy-cross' Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. 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 GEN build/genhdr/qstr.i.last GEN build/genhdr/qstr.split GEN build/genhdr/qstrdefs.collected.h QSTR updated GEN build/genhdr/qstrdefs.generated.h CC ../py/mpstate.c CC ../py/nlrx86.c CC ../py/nlrx64.c CC ../py/nlrthumb.c CC ../py/nlrxtensa.c CC ../py/nlrsetjmp.c CC ../py/malloc.c CC ../py/gc.c CC ../py/qstr.c CC ../py/vstr.c CC ../py/mpprint.c CC ../py/unicode.c CC ../py/mpz.c CC ../py/reader.c CC ../py/lexer.c CC ../py/parse.c CC ../py/scope.c CC ../py/compile.c CC ../py/emitcommon.c CC ../py/emitbc.c CC ../py/asmbase.c CC ../py/asmx64.c CC ../py/emitnative.c CC ../py/asmx86.c CC ../py/emitnative.c CC ../py/asmthumb.c CC ../py/emitnative.c CC ../py/emitinlinethumb.c CC ../py/asmarm.c CC ../py/emitnative.c CC ../py/asmxtensa.c CC ../py/emitnative.c CC ../py/emitinlinextensa.c CC ../py/formatfloat.c CC ../py/parsenumbase.c CC ../py/parsenum.c CC ../py/emitglue.c CC ../py/persistentcode.c CC ../py/runtime.c ../py/persistentcode.c: In function 'save_obj': ../py/persistentcode.c:276:50: error: passing argument 2 of 'mp_obj_str_get_data' from incompatible pointer type [-Werror=incompatible-pointer-types] const char *str = mp_obj_str_get_data(o, &len); ^ In file included from ../py/reader.h:29:0, from ../py/persistentcode.c:32: ../py/obj.h:726:13: note: expected 'size_t * {aka long unsigned int *}' but argument is of type 'mp_uint_t * {aka unsigned int *}' const char *mp_obj_str_get_data(mp_obj_t self_in, size_t *len); ^~~~~~~~~~~~~~~~~~~ CC ../py/runtime_utils.c cc1: all warnings being treated as errors gmake[1]: *** [../py/mkrules.mk:47: build/py/persistentcode.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... gmake[1]: Leaving directory '/tmp/pkgbuild/lang/micropython/work.earmv6hf/micropython-1.9.2/mpy-cross' gmake: *** [../py/mkrules.mk:107: ../mpy-cross/mpy-cross] Error 2 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/lang/micropython *** Error code 1 Stop. make: stopped in /usr/pkgsrc/lang/micropython