=> Bootstrap dependency digest>=20010302: found digest-20180917 ===> 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-zstandard-0.10.2 (cd /data/scratch/archivers/py-zstandard/work/zstandard-0.10.2/ && /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/pkg/include\ -I/usr/include CPPFLAGS=-I/usr/pkg/include\ -I/usr/include CXX=clang++ CXXFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/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/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R PATH=/data/scratch/archivers/py-zstandard/work/.cwrapper/bin:/data/scratch/archivers/py-zstandard/work/.buildlink/bin:/data/scratch/archivers/py-zstandard/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/archivers/py-zstandard/work/.home CWRAPPERS_CONFIG_DIR=/data/scratch/archivers/py-zstandard/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/archivers/py-zstandard/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG= PKG_CONFIG_LIBDIR=/data/scratch/archivers/py-zstandard/work/.buildlink/lib/pkgconfig:/data/scratch/archivers/py-zstandard/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/data/scratch/archivers/py-zstandard/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/data/scratch/archivers/py-zstandard/work/.cwrapper/config /usr/pkg/bin/python2.7 setup.py build --system-zstd) regenerated: 'build/_zstd_cffi.c' generating build/_zstd_cffi.c running build running build_py creating build/lib.netbsd-8.99.27-amd64-2.7 copying zstd_cffi.py -> build/lib.netbsd-8.99.27-amd64-2.7 creating build/lib.netbsd-8.99.27-amd64-2.7/zstandard copying zstandard/__init__.py -> build/lib.netbsd-8.99.27-amd64-2.7/zstandard running build_ext building 'zstd' extension creating build/temp.netbsd-8.99.27-amd64-2.7 creating build/temp.netbsd-8.99.27-amd64-2.7/c-ext creating build/temp.netbsd-8.99.27-amd64-2.7/zstd creating build/temp.netbsd-8.99.27-amd64-2.7/zstd/common clang -DNDEBUG -O2 -fwrapv -pthread -I/usr/include -I/usr/pkg/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -fPIC -Ic-ext -Izstd/common -I/usr/pkg/include/python2.7 -c zstd.c -o build/temp.netbsd-8.99.27-amd64-2.7/zstd.o -DZSTD_MULTITHREAD clang -DNDEBUG -O2 -fwrapv -pthread -I/usr/include -I/usr/pkg/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -fPIC -Ic-ext -Izstd/common -I/usr/pkg/include/python2.7 -c c-ext/compressor.c -o build/temp.netbsd-8.99.27-amd64-2.7/c-ext/compressor.o -DZSTD_MULTITHREAD c-ext/compressor.c:207:35: error: use of undeclared identifier 'ZSTD_p_compressionLevel'; did you mean 'ZSTD_c_compressionLevel'? if (set_parameter(self->params, ZSTD_p_compressionLevel, level)) { ^~~~~~~~~~~~~~~~~~~~~~~ ZSTD_c_compressionLevel /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:507:5: note: 'ZSTD_c_compressionLevel' declared here ZSTD_c_compressionLevel=100, /* Update all compression parameters according to pre-defined cLevel table ^ c-ext/compressor.c:211:35: error: use of undeclared identifier 'ZSTD_p_contentSizeFlag'; did you mean 'ZSTD_c_contentSizeFlag'? if (set_parameter(self->params, ZSTD_p_contentSizeFlag, ^~~~~~~~~~~~~~~~~~~~~~ ZSTD_c_contentSizeFlag /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:585:5: note: 'ZSTD_c_contentSizeFlag' declared here ZSTD_c_contentSizeFlag=200, /* Content size will be written into frame header _whenever known_ (default:1) ^ c-ext/compressor.c:216:35: error: use of undeclared identifier 'ZSTD_p_checksumFlag'; did you mean 'ZSTD_c_checksumFlag'? if (set_parameter(self->params, ZSTD_p_checksumFlag, ^~~~~~~~~~~~~~~~~~~ ZSTD_c_checksumFlag /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:589:5: note: 'ZSTD_c_checksumFlag' declared here ZSTD_c_checksumFlag=201, /* A 32-bits checksum of content is written at end of frame (default:0) */ ^ c-ext/compressor.c:221:35: error: use of undeclared identifier 'ZSTD_p_dictIDFlag'; did you mean 'ZSTD_c_dictIDFlag'? if (set_parameter(self->params, ZSTD_p_dictIDFlag, ^~~~~~~~~~~~~~~~~ ZSTD_c_dictIDFlag /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:590:5: note: 'ZSTD_c_dictIDFlag' declared here ZSTD_c_dictIDFlag=202, /* When applicable, dictionary's ID is written into frame header (default:1) */ ^ c-ext/compressor.c:227:36: error: use of undeclared identifier 'ZSTD_p_nbWorkers'; did you mean 'ZSTD_c_nbWorkers'? if (set_parameter(self->params, ZSTD_p_nbWorkers, threads)) { ^~~~~~~~~~~~~~~~ ZSTD_c_nbWorkers /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:595:5: note: 'ZSTD_c_nbWorkers' declared here ZSTD_c_nbWorkers=400, /* Select how many threads will be spawned to compress in parallel. ^ c-ext/compressor.c:347:28: error: too few arguments to function call, expected 2, have 1 ZSTD_CCtx_reset(self->cctx); ~~~~~~~~~~~~~~~ ^ /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:757:1: note: 'ZSTD_CCtx_reset' declared here ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset); ^ /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:34:23: note: expanded from macro 'ZSTDLIB_API' # define ZSTDLIB_API ZSTDLIB_VISIBILITY ^ /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:24:32: note: expanded from macro 'ZSTDLIB_VISIBILITY' # define ZSTDLIB_VISIBILITY __attribute__ ((visibility ("default"))) ^ c-ext/compressor.c:394:14: warning: implicit declaration of function 'ZSTD_compress_generic' is invalid in C99 [-Wimplicit-function-declaration] zresult = ZSTD_compress_generic(self->cctx, &output, &input, ZSTD_e_continue); ^ c-ext/compressor.c:424:13: warning: implicit declaration of function 'ZSTD_compress_generic' is invalid in C99 [-Wimplicit-function-declaration] zresult = ZSTD_compress_generic(self->cctx, &output, &input, ZSTD_e_end); ^ c-ext/compressor.c:520:28: error: too few arguments to function call, expected 2, have 1 ZSTD_CCtx_reset(self->cctx); ~~~~~~~~~~~~~~~ ^ /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:757:1: note: 'ZSTD_CCtx_reset' declared here ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset); ^ /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:34:23: note: expanded from macro 'ZSTDLIB_API' # define ZSTDLIB_API ZSTDLIB_VISIBILITY ^ /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:24:32: note: expanded from macro 'ZSTDLIB_VISIBILITY' # define ZSTDLIB_VISIBILITY __attribute__ ((visibility ("default"))) ^ c-ext/compressor.c:580:28: error: too few arguments to function call, expected 2, have 1 ZSTD_CCtx_reset(self->cctx); ~~~~~~~~~~~~~~~ ^ /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:757:1: note: 'ZSTD_CCtx_reset' declared here ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset); ^ /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:34:23: note: expanded from macro 'ZSTDLIB_API' # define ZSTDLIB_API ZSTDLIB_VISIBILITY ^ /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:24:32: note: expanded from macro 'ZSTDLIB_VISIBILITY' # define ZSTDLIB_VISIBILITY __attribute__ ((visibility ("default"))) ^ c-ext/compressor.c:608:12: warning: implicit declaration of function 'ZSTD_compress_generic' is invalid in C99 [-Wimplicit-function-declaration] zresult = ZSTD_compress_generic(self->cctx, &outBuffer, &inBuffer, ZSTD_e_end); ^ c-ext/compressor.c:654:28: error: too few arguments to function call, expected 2, have 1 ZSTD_CCtx_reset(self->cctx); ~~~~~~~~~~~~~~~ ^ /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:757:1: note: 'ZSTD_CCtx_reset' declared here ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset); ^ /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:34:23: note: expanded from macro 'ZSTDLIB_API' # define ZSTDLIB_API ZSTDLIB_VISIBILITY ^ /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:24:32: note: expanded from macro 'ZSTDLIB_VISIBILITY' # define ZSTDLIB_VISIBILITY __attribute__ ((visibility ("default"))) ^ c-ext/compressor.c:743:28: error: too few arguments to function call, expected 2, have 1 ZSTD_CCtx_reset(self->cctx); ~~~~~~~~~~~~~~~ ^ /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:757:1: note: 'ZSTD_CCtx_reset' declared here ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset); ^ /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:34:23: note: expanded from macro 'ZSTDLIB_API' # define ZSTDLIB_API ZSTDLIB_VISIBILITY ^ /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:24:32: note: expanded from macro 'ZSTDLIB_VISIBILITY' # define ZSTDLIB_VISIBILITY __attribute__ ((visibility ("default"))) ^ c-ext/compressor.c:815:28: error: too few arguments to function call, expected 2, have 1 ZSTD_CCtx_reset(self->cctx); ~~~~~~~~~~~~~~~ ^ /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:757:1: note: 'ZSTD_CCtx_reset' declared here ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset); ^ /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:34:23: note: expanded from macro 'ZSTDLIB_API' # define ZSTDLIB_API ZSTDLIB_VISIBILITY ^ /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:24:32: note: expanded from macro 'ZSTDLIB_VISIBILITY' # define ZSTDLIB_VISIBILITY __attribute__ ((visibility ("default"))) ^ c-ext/compressor.c:856:28: error: too few arguments to function call, expected 2, have 1 ZSTD_CCtx_reset(self->cctx); ~~~~~~~~~~~~~~~ ^ /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:757:1: note: 'ZSTD_CCtx_reset' declared here ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset); ^ /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:34:23: note: expanded from macro 'ZSTDLIB_API' # define ZSTDLIB_API ZSTDLIB_VISIBILITY ^ /data/scratch/archivers/py-zstandard/work/.buildlink/include/zstd.h:24:32: note: expanded from macro 'ZSTDLIB_VISIBILITY' # define ZSTDLIB_VISIBILITY __attribute__ ((visibility ("default"))) ^ c-ext/compressor.c:1118:13: warning: implicit declaration of function 'ZSTD_compress_generic' is invalid in C99 [-Wimplicit-function-declaration] zresult = ZSTD_compress_generic(state->cctx, &opOutBuffer, &opInBuffer, ZSTD_e_end); ^ 4 warnings and 12 errors generated. error: command 'clang' failed with exit status 1 *** Error code 1 Stop. make[1]: stopped in /data/pkgsrc/archivers/py-zstandard *** Error code 1 Stop. make: stopped in /data/pkgsrc/archivers/py-zstandard