=> 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-SSLCrypto-0.1.1nb8 (cd /tmp/security/py-SSLCrypto/work/SSLCrypto-0.1.1/ && /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=gcc CFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/usr/pkg/include CPPFLAGS=-I/usr/include\ -I/usr/pkg/include CXX=c++ CXXFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -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=/tmp/security/py-SSLCrypto/work/.cwrapper/bin:/tmp/security/py-SSLCrypto/work/.buildlink/bin:/tmp/security/py-SSLCrypto/work/.gcc/bin:/tmp/security/py-SSLCrypto/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/tmp/security/py-SSLCrypto/work/.home CWRAPPERS_CONFIG_DIR=/tmp/security/py-SSLCrypto/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ wheel\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/security/py-SSLCrypto/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG= PKG_CONFIG_LIBDIR=/tmp/security/py-SSLCrypto/work/.buildlink/lib/pkgconfig:/tmp/security/py-SSLCrypto/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/security/py-SSLCrypto/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/tmp/security/py-SSLCrypto/work/.cwrapper/config /usr/pkg/bin/python2.7 setup.py build ) running build running build_ext building 'SSLCrypto' extension creating build creating build/temp.netbsd-9.0_RC1-amd64-2.7 gcc -fno-strict-aliasing -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/usr/pkg/include -DNDEBUG -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -fPIC -I/usr/pkg/include/python2.7 -c SSLCrypto.c -o build/temp.netbsd-9.0_RC1-amd64-2.7/SSLCrypto.o SSLCrypto.c: In function '__pyx_f_9SSLCrypto_2dh_genParms': SSLCrypto.c:374:10: warning: 'DH_generate_parameters' is deprecated [-Wdeprecated-declarations] ((struct __pyx_obj_9SSLCrypto_dh *)__pyx_v_self)->myDH = DH_generate_parameters(__pyx_1,__pyx_2,callback,((void (*))__pyx_v_myCallback)); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/crypto.h:17, from SSLCrypto.c:17: /usr/include/openssl/dh.h:136:1: note: declared here DEPRECATEDIN_0_9_8(DH *DH_generate_parameters(int prime_len, int generator, ^ SSLCrypto.c:380:75: error: dereferencing pointer to incomplete type 'DH {aka struct dh_st}' __pyx_3 = bn2pyLong(((struct __pyx_obj_9SSLCrypto_dh *)__pyx_v_self)->myDH->g); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 613; goto __pyx_L1;} ^~ SSLCrypto.c: In function '__pyx_f_9SSLCrypto_3rsa___new__': SSLCrypto.c:1186:1: warning: implicit declaration of function 'BN_CTX_init'; did you mean 'BN_CTX_end'? [-Wimplicit-function-declaration] BN_CTX_init(((struct __pyx_obj_9SSLCrypto_rsa *)__pyx_v_self)->bnCtx); ^~~~~~~~~~~ BN_CTX_end SSLCrypto.c: In function '__pyx_f_9SSLCrypto_3rsa_generateKey': SSLCrypto.c:1289:10: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] ((struct __pyx_obj_9SSLCrypto_rsa *)__pyx_v_self)->rsaObj = RSA_generate_key(__pyx_4,__pyx_5,callback,((void (*))__pyx_v_myCallback)); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/crypto.h:17, from SSLCrypto.c:17: /usr/include/openssl/rsa.h:234:1: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^ SSLCrypto.c: In function '__pyx_f_9SSLCrypto_3rsa_pubKey': SSLCrypto.c:1328:78: error: dereferencing pointer to incomplete type 'RSA {aka struct rsa_st}' __pyx_1 = bn2pyLong(((struct __pyx_obj_9SSLCrypto_rsa *)__pyx_v_self)->rsaObj->e); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 943; goto __pyx_L1;} ^~ SSLCrypto.c: In function '__pyx_f_9SSLCrypto_3dsa_generateParameters': SSLCrypto.c:2206:57: warning: passing argument 3 of 'PyString_AsStringAndSize' from incompatible pointer type [-Wincompatible-pointer-types] PyString_AsStringAndSize(__pyx_v_seed,(&__pyx_v_c_seed),(&__pyx_v_c_seed_len)); ^ In file included from /tmp/security/py-SSLCrypto/work/.buildlink/include/python2.7/Python.h:97:0, from SSLCrypto.c:3: /tmp/security/py-SSLCrypto/work/.buildlink/include/python2.7/stringobject.h:172:17: note: expected 'Py_ssize_t * {aka long int *}' but argument is of type 'int *' PyAPI_FUNC(int) PyString_AsStringAndSize( ^~~~~~~~~~~~~~~~~~~~~~~~ SSLCrypto.c:2220:1: warning: 'DSA_generate_parameters' is deprecated [-Wdeprecated-declarations] __pyx_v_dobj = DSA_generate_parameters(1024,((unsigned char (*))__pyx_v_c_seed),__pyx_v_c_seed_len,((int (*))0),((unsigned long (*))0),callback,((void (*))__pyx_v_myCallback)); ^~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/crypto.h:17, from SSLCrypto.c:17: /usr/include/openssl/dsa.h:117:1: note: declared here DEPRECATEDIN_0_9_8(DSA *DSA_generate_parameters(int bits, ^ SSLCrypto.c: In function '__pyx_f_9SSLCrypto_3dsa_pubKey': SSLCrypto.c:2293:78: error: dereferencing pointer to incomplete type 'DSA {aka struct dsa_st}' __pyx_1 = bn2pyLong(((struct __pyx_obj_9SSLCrypto_dsa *)__pyx_v_self)->dsaObj->p); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1286; goto __pyx_L1;} ^~ SSLCrypto.c: In function '__pyx_f_9SSLCrypto_3dsa_sign': SSLCrypto.c:2556:54: warning: passing argument 3 of 'PyString_AsStringAndSize' from incompatible pointer type [-Wincompatible-pointer-types] PyString_AsStringAndSize(__pyx_v_raw,(&__pyx_v_dgst),(&__pyx_v_dgstLen)); ^ In file included from /tmp/security/py-SSLCrypto/work/.buildlink/include/python2.7/Python.h:97:0, from SSLCrypto.c:3: /tmp/security/py-SSLCrypto/work/.buildlink/include/python2.7/stringobject.h:172:17: note: expected 'Py_ssize_t * {aka long int *}' but argument is of type 'int *' PyAPI_FUNC(int) PyString_AsStringAndSize( ^~~~~~~~~~~~~~~~~~~~~~~~ SSLCrypto.c: In function '__pyx_f_9SSLCrypto_3dsa_verify': SSLCrypto.c:2682:54: warning: passing argument 3 of 'PyString_AsStringAndSize' from incompatible pointer type [-Wincompatible-pointer-types] PyString_AsStringAndSize(__pyx_v_raw,(&__pyx_v_dgst),(&__pyx_v_dgstLen)); ^ In file included from /tmp/security/py-SSLCrypto/work/.buildlink/include/python2.7/Python.h:97:0, from SSLCrypto.c:3: /tmp/security/py-SSLCrypto/work/.buildlink/include/python2.7/stringobject.h:172:17: note: expected 'Py_ssize_t * {aka long int *}' but argument is of type 'int *' PyAPI_FUNC(int) PyString_AsStringAndSize( ^~~~~~~~~~~~~~~~~~~~~~~~ SSLCrypto.c:2685:56: warning: passing argument 3 of 'PyString_AsStringAndSize' from incompatible pointer type [-Wincompatible-pointer-types] PyString_AsStringAndSize(__pyx_v_sig,(&__pyx_v_sigbuf),(&__pyx_v_siglen)); ^ In file included from /tmp/security/py-SSLCrypto/work/.buildlink/include/python2.7/Python.h:97:0, from SSLCrypto.c:3: /tmp/security/py-SSLCrypto/work/.buildlink/include/python2.7/stringobject.h:172:17: note: expected 'Py_ssize_t * {aka long int *}' but argument is of type 'int *' PyAPI_FUNC(int) PyString_AsStringAndSize( ^~~~~~~~~~~~~~~~~~~~~~~~ SSLCrypto.c: In function '__pyx_f_9SSLCrypto_genprime': SSLCrypto.c:10275:1: warning: 'BN_generate_prime' is deprecated [-Wdeprecated-declarations] __pyx_v_rand = BN_generate_prime(0,__pyx_1,__pyx_2,0,0,callback,((void (*))__pyx_v_myCallback)); ^~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/crypto.h:17, from SSLCrypto.c:17: /usr/include/openssl/bn.h:326:1: note: declared here DEPRECATEDIN_0_9_8(BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe, ^ SSLCrypto.c: In function 'bn2pyLong': SSLCrypto.c:10440:1: error: too few arguments to function 'CRYPTO_free' CRYPTO_free(__pyx_v_numStr); ^~~~~~~~~~~ In file included from SSLCrypto.c:17:0: /usr/include/openssl/crypto.h:271:6: note: declared here void CRYPTO_free(void *ptr, const char *file, int line); ^~~~~~~~~~~ error: command 'gcc' failed with exit status 1 *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/security/py-SSLCrypto *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/security/py-SSLCrypto