=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> 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.22.3nb1 (cd /data/scratch/security/py-m2crypto/work/M2Crypto-0.22.3/ && /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=g77 FC=g77 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 LINK_ALL_LIBGCC_HACK= 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-7.99.59-amd64-2.7 creating build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/__init__.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/ASN1.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/AuthCookie.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/BIO.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/BN.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/callback.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/DH.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/DSA.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/EC.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/Engine.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/Err.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/EVP.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/ftpslib.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/httpslib.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/m2.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/m2urllib.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/m2urllib2.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/m2xmlrpclib.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/Rand.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/RC4.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/RSA.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/SMIME.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/threading.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/util.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto copying M2Crypto/X509.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto creating build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto/SSL copying M2Crypto/SSL/__init__.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto/SSL copying M2Crypto/SSL/cb.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto/SSL copying M2Crypto/SSL/Checker.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto/SSL copying M2Crypto/SSL/Cipher.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto/SSL copying M2Crypto/SSL/Connection.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto/SSL copying M2Crypto/SSL/Context.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto/SSL copying M2Crypto/SSL/Session.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto/SSL copying M2Crypto/SSL/ssl_dispatcher.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto/SSL copying M2Crypto/SSL/SSLServer.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto/SSL copying M2Crypto/SSL/timeout.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto/SSL copying M2Crypto/SSL/TwistedProtocolWrapper.py -> build/lib.netbsd-7.99.59-amd64-2.7/M2Crypto/SSL running build_ext building 'M2Crypto.__m2crypto' extension swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c swig -python -I/usr/pkg/include/python2.7 -I/usr/include -I/usr/include/openssl -modern -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i SWIG/_bio.i:64: Warning(454): Setting a pointer/reference variable may leak memory. SWIG/_rand.i:21: Warning(454): Setting a pointer/reference variable may leak memory. SWIG/_evp.i:159: Warning(454): Setting a pointer/reference variable may leak memory. SWIG/_dh.i:36: Warning(454): Setting a pointer/reference variable may leak memory. SWIG/_rsa.i:43: Warning(454): Setting a pointer/reference variable may leak memory. SWIG/_dsa.i:31: Warning(454): Setting a pointer/reference variable may leak memory. SWIG/_ssl.i:212: Warning(454): Setting a pointer/reference variable may leak memory. SWIG/_x509.i:323: Warning(454): Setting a pointer/reference variable may leak memory. SWIG/_pkcs7.i:44: Warning(454): Setting a pointer/reference variable may leak memory. SWIG/_pkcs7.i:44: Warning(454): Setting a pointer/reference variable may leak memory. SWIG/_util.i:11: Warning(454): Setting a pointer/reference variable may leak memory. SWIG/_ec.i:111: Warning(454): Setting a pointer/reference variable may leak memory. SWIG/_engine.i:168: Warning(454): Setting a pointer/reference variable may leak memory. creating build/temp.netbsd-7.99.59-amd64-2.7 creating build/temp.netbsd-7.99.59-amd64-2.7/SWIG clang -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.22.3/SWIG -c SWIG/_m2crypto_wrap.c -o build/temp.netbsd-7.99.59-amd64-2.7/SWIG/_m2crypto_wrap.o -DTHREADING SWIG/_m2crypto_wrap.c:4003:11: error: conflicting types for 'hmac' PyObject *hmac(PyObject *key, PyObject *data, const EVP_MD *md) { ^ /usr/include/stdlib.h:303:10: note: previous declaration is here ssize_t hmac(const char *, const void *, size_t, const void *, size_t, void *, ^ SWIG/_m2crypto_wrap.c:6043:12: warning: incompatible pointer types returning '_LHASH *' (aka 'struct lhash_st *') from a function with result type 'struct lhash_st_CONF_VALUE *' [-Wincompatible-pointer-types] return lh_new(NULL, NULL); /* Should probably be lh_CONF_VALUE_new but won't compile. */ ^~~~~~~~~~~~~~~~~~ SWIG/_m2crypto_wrap.c:10556:61: error: too few arguments to function call, expected 7, have 3 result = (PyObject *)hmac(arg1,arg2,(EVP_MD const *)arg3); ~~~~ ^ /usr/include/stdlib.h:303:1: note: 'hmac' declared here ssize_t hmac(const char *, const void *, size_t, const void *, size_t, void *, ^ 1 warning and 2 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