=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for py27-m2crypto-0.32.0nb1 (cd /data/scratch/security/py-m2crypto/work/M2Crypto-0.32.0/ && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\ DL_LDFLAGS=\ -pthread DL_LIBS= PYTHON=/usr/pkg/bin/python2.7 CC=clang CFLAGS=-O2\ -I/usr/include\ -I/usr/pkg/include CPPFLAGS=-I/usr/include\ -I/usr/pkg/include CXX=clang++ CXXFLAGS=-O2\ -I/usr/include\ -I/usr/pkg/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/lib\ -Wl,-R/usr/lib\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/data/scratch/security/py-m2crypto/work/.cwrapper/bin:/data/scratch/security/py-m2crypto/work/.buildlink/bin:/data/scratch/security/py-m2crypto/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=clang-cpp HOME=/data/scratch/security/py-m2crypto/work/.home CWRAPPERS_CONFIG_DIR=/data/scratch/security/py-m2crypto/work/.cwrapper/config CPP=clang-cpp LOCALBASE=/usr/pkg X11BASE=/usr/pkg PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulkXXX\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/data/scratch/security/py-m2crypto/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG= PKG_CONFIG_LIBDIR=/data/scratch/security/py-m2crypto/work/.buildlink/lib/pkgconfig:/data/scratch/security/py-m2crypto/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/data/scratch/security/py-m2crypto/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/data/scratch/security/py-m2crypto/work/.cwrapper/config /usr/pkg/bin/python2.7 setup.py build build_ext --openssl=/usr) running build running build_py creating build creating build/lib.netbsd-9.99.51-amd64-2.7 creating build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/ASN1.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/AuthCookie.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/BIO.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/BN.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/DH.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/DSA.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/EC.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/EVP.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/Engine.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/Err.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/RC4.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/RSA.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/Rand.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/SMIME.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/X509.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/__init__.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/callback.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/ftpslib.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/httpslib.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/m2.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/m2crypto.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/m2urllib.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/m2urllib2.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/m2xmlrpclib.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/six.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/threading.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto copying M2Crypto/util.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto creating build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto/SSL copying M2Crypto/SSL/Checker.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto/SSL copying M2Crypto/SSL/Cipher.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto/SSL copying M2Crypto/SSL/Connection.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto/SSL copying M2Crypto/SSL/Context.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto/SSL copying M2Crypto/SSL/SSLServer.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto/SSL copying M2Crypto/SSL/Session.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto/SSL copying M2Crypto/SSL/TwistedProtocolWrapper.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto/SSL copying M2Crypto/SSL/__init__.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto/SSL copying M2Crypto/SSL/cb.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto/SSL copying M2Crypto/SSL/ssl_dispatcher.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto/SSL copying M2Crypto/SSL/timeout.py -> build/lib.netbsd-9.99.51-amd64-2.7/M2Crypto/SSL running build_ext building 'M2Crypto._m2crypto' extension creating build/temp.netbsd-9.99.51-amd64-2.7 creating build/temp.netbsd-9.99.51-amd64-2.7/SWIG clang -fno-strict-aliasing -OPT:Olimit=0 -O2 -fwrapv -pthread -I/usr/include -I/usr/pkg/include -DNDEBUG -O2 -fwrapv -pthread -I/usr/include -I/usr/pkg/include -O2 -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -fPIC -I/usr/pkg/include/python2.7 -I/usr/include -I/data/scratch/security/py-m2crypto/work/M2Crypto-0.32.0/SWIG -c SWIG/_m2crypto_wrap.c -o build/temp.netbsd-9.99.51-amd64-2.7/SWIG/_m2crypto_wrap.o -Wno-deprecated-declarations -DTHREADING SWIG/_m2crypto_wrap.c:9506:19: error: incomplete definition of type 'struct stack_st' if (arg1) (arg1)->num = arg2; ~~~~~~^ /usr/include/openssl/stack.h:17:16: note: forward declaration of 'struct stack_st' typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */ ^ SWIG/_m2crypto_wrap.c:9526:25: error: incomplete definition of type 'struct stack_st' result = (int) ((arg1)->num); ~~~~~~^ /usr/include/openssl/stack.h:17:16: note: forward declaration of 'struct stack_st' typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */ ^ SWIG/_m2crypto_wrap.c:9555:19: error: incomplete definition of type 'struct stack_st' if (arg1) (arg1)->data = arg2; ~~~~~~^ /usr/include/openssl/stack.h:17:16: note: forward declaration of 'struct stack_st' typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */ ^ SWIG/_m2crypto_wrap.c:9575:29: error: incomplete definition of type 'struct stack_st' result = (char **) ((arg1)->data); ~~~~~~^ /usr/include/openssl/stack.h:17:16: note: forward declaration of 'struct stack_st' typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */ ^ SWIG/_m2crypto_wrap.c:9604:19: error: incomplete definition of type 'struct stack_st' if (arg1) (arg1)->sorted = arg2; ~~~~~~^ /usr/include/openssl/stack.h:17:16: note: forward declaration of 'struct stack_st' typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */ ^ SWIG/_m2crypto_wrap.c:9624:25: error: incomplete definition of type 'struct stack_st' result = (int) ((arg1)->sorted); ~~~~~~^ /usr/include/openssl/stack.h:17:16: note: forward declaration of 'struct stack_st' typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */ ^ SWIG/_m2crypto_wrap.c:9653:19: error: incomplete definition of type 'struct stack_st' if (arg1) (arg1)->num_alloc = arg2; ~~~~~~^ /usr/include/openssl/stack.h:17:16: note: forward declaration of 'struct stack_st' typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */ ^ SWIG/_m2crypto_wrap.c:9673:25: error: incomplete definition of type 'struct stack_st' result = (int) ((arg1)->num_alloc); ~~~~~~^ /usr/include/openssl/stack.h:17:16: note: forward declaration of 'struct stack_st' typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */ ^ SWIG/_m2crypto_wrap.c:9701:19: error: incomplete definition of type 'struct stack_st' if (arg1) (arg1)->comp = arg2; ~~~~~~^ /usr/include/openssl/stack.h:17:16: note: forward declaration of 'struct stack_st' typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */ ^ SWIG/_m2crypto_wrap.c:9721:56: error: incomplete definition of type 'struct stack_st' result = (int (*)(void const *,void const *)) ((arg1)->comp); ~~~~~~^ /usr/include/openssl/stack.h:17:16: note: forward declaration of 'struct stack_st' typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */ ^ SWIG/_m2crypto_wrap.c:9733:41: error: invalid application of 'sizeof' to an incomplete type 'struct stack_st' result = (struct stack_st *)calloc(1, sizeof(struct stack_st)); ^ ~~~~~~~~~~~~~~~~~ /usr/include/openssl/stack.h:17:16: note: forward declaration of 'struct stack_st' typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */ ^ SWIG/_m2crypto_wrap.c:9964:40: warning: incompatible function pointer types passing 'void *(*)(void *)' to parameter of type 'OPENSSL_sk_copyfunc' (aka 'void *(*)(const void *)') [-Wincompatible-function-pointer-types] result = (_STACK *)sk_deep_copy(arg1,arg2,arg3); ^~~~ /usr/include/openssl/stack.h:35:57: note: passing argument to parameter 'c' here OPENSSL_sk_copyfunc c, ^ SWIG/_m2crypto_wrap.c:10367:19: error: incomplete definition of type 'struct stack_st_OPENSSL_STRING' if (arg1) (arg1)->stack = *arg2; ~~~~~~^ /usr/include/openssl/safestack.h:159:1: note: forward declaration of 'struct stack_st_OPENSSL_STRING' DEFINE_SPECIAL_STACK_OF(OPENSSL_STRING, char) ^ /usr/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF' # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2) ^ /usr/include/openssl/safestack.h:23:5: note: expanded from macro 'SKM_DEFINE_STACK_OF' STACK_OF(t1); \ ^ /usr/include/openssl/safestack.h:20:32: note: expanded from macro 'STACK_OF' # define STACK_OF(type) struct stack_st_##type ^ :315:1: note: expanded from here stack_st_OPENSSL_STRING ^ SWIG/_m2crypto_wrap.c:10387:31: error: incomplete definition of type 'struct stack_st_OPENSSL_STRING' result = (_STACK *)& ((arg1)->stack); ~~~~~~^ /usr/include/openssl/safestack.h:159:1: note: forward declaration of 'struct stack_st_OPENSSL_STRING' DEFINE_SPECIAL_STACK_OF(OPENSSL_STRING, char) ^ /usr/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF' # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2) ^ /usr/include/openssl/safestack.h:23:5: note: expanded from macro 'SKM_DEFINE_STACK_OF' STACK_OF(t1); \ ^ /usr/include/openssl/safestack.h:20:32: note: expanded from macro 'STACK_OF' # define STACK_OF(type) struct stack_st_##type ^ :315:1: note: expanded from here stack_st_OPENSSL_STRING ^ SWIG/_m2crypto_wrap.c:10399:56: error: invalid application of 'sizeof' to an incomplete type 'struct stack_st_OPENSSL_STRING' result = (struct stack_st_OPENSSL_STRING *)calloc(1, sizeof(struct stack_st_OPENSSL_STRING)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/safestack.h:159:1: note: forward declaration of 'struct stack_st_OPENSSL_STRING' DEFINE_SPECIAL_STACK_OF(OPENSSL_STRING, char) ^ /usr/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF' # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2) ^ /usr/include/openssl/safestack.h:23:5: note: expanded from macro 'SKM_DEFINE_STACK_OF' STACK_OF(t1); \ ^ /usr/include/openssl/safestack.h:20:32: note: expanded from macro 'STACK_OF' # define STACK_OF(type) struct stack_st_##type ^ :315:1: note: expanded from here stack_st_OPENSSL_STRING ^ SWIG/_m2crypto_wrap.c:10447:19: error: incomplete definition of type 'struct stack_st_OPENSSL_BLOCK' if (arg1) (arg1)->stack = *arg2; ~~~~~~^ /usr/include/openssl/safestack.h:167:1: note: forward declaration of 'struct stack_st_OPENSSL_BLOCK' DEFINE_SPECIAL_STACK_OF(OPENSSL_BLOCK, void) ^ /usr/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF' # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2) ^ /usr/include/openssl/safestack.h:23:5: note: expanded from macro 'SKM_DEFINE_STACK_OF' STACK_OF(t1); \ ^ /usr/include/openssl/safestack.h:20:32: note: expanded from macro 'STACK_OF' # define STACK_OF(type) struct stack_st_##type ^ :31:1: note: expanded from here stack_st_OPENSSL_BLOCK ^ SWIG/_m2crypto_wrap.c:10467:31: error: incomplete definition of type 'struct stack_st_OPENSSL_BLOCK' result = (_STACK *)& ((arg1)->stack); ~~~~~~^ /usr/include/openssl/safestack.h:167:1: note: forward declaration of 'struct stack_st_OPENSSL_BLOCK' DEFINE_SPECIAL_STACK_OF(OPENSSL_BLOCK, void) ^ /usr/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF' # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2) ^ /usr/include/openssl/safestack.h:23:5: note: expanded from macro 'SKM_DEFINE_STACK_OF' STACK_OF(t1); \ ^ /usr/include/openssl/safestack.h:20:32: note: expanded from macro 'STACK_OF' # define STACK_OF(type) struct stack_st_##type ^ :31:1: note: expanded from here stack_st_OPENSSL_BLOCK ^ SWIG/_m2crypto_wrap.c:10479:55: error: invalid application of 'sizeof' to an incomplete type 'struct stack_st_OPENSSL_BLOCK' result = (struct stack_st_OPENSSL_BLOCK *)calloc(1, sizeof(struct stack_st_OPENSSL_BLOCK)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/safestack.h:167:1: note: forward declaration of 'struct stack_st_OPENSSL_BLOCK' DEFINE_SPECIAL_STACK_OF(OPENSSL_BLOCK, void) ^ /usr/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF' # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2) ^ /usr/include/openssl/safestack.h:23:5: note: expanded from macro 'SKM_DEFINE_STACK_OF' STACK_OF(t1); \ ^ /usr/include/openssl/safestack.h:20:32: note: expanded from macro 'STACK_OF' # define STACK_OF(type) struct stack_st_##type ^ :31:1: note: expanded from here stack_st_OPENSSL_BLOCK ^ 1 warning and 17 errors generated. error: command 'clang' failed with exit status 1 *** Error code 1 Stop. make[1]: stopped in /data/pkgsrc/security/py-m2crypto *** Error code 1 Stop. make: stopped in /data/pkgsrc/security/py-m2crypto