Date: Sun, 6 Jan 2019 08:22:17 GMT From: pkg-fallout@FreeBSD.org To: yuri@FreeBSD.org Cc: pkg-fallout@FreeBSD.org Subject: [package - 120i386-default][archivers/py-zstandard] Failed for py36-zstandard-0.10.2 in build Message-ID: <201901060822.x068MH50049625@beefy5.nyi.freebsd.org>
next in thread | raw e-mail | index | archive | help
You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: yuri@FreeBSD.org Last committer: yuri@FreeBSD.org Ident: $FreeBSD: head/archivers/py-zstandard/Makefile 486380 2018-12-01 16:39:14Z yuri $ Log URL: http://beefy5.nyi.freebsd.org/data/120i386-default/489426/logs/py36-zstandard-0.10.2.log Build URL: http://beefy5.nyi.freebsd.org/build.html?mastername=120i386-default&build=489426 Log: =>> Building archivers/py-zstandard build started at Sun Jan 6 08:22:03 UTC 2019 port directory: /usr/ports/archivers/py-zstandard package name: py36-zstandard-0.10.2 building for: FreeBSD 120i386-default-job-20 12.0-RELEASE-p1 FreeBSD 12.0-RELEASE-p1 i386 maintained by: yuri@FreeBSD.org Makefile ident: $FreeBSD: head/archivers/py-zstandard/Makefile 486380 2018-12-01 16:39:14Z yuri $ Poudriere version: 3.2.8 Host OSVERSION: 1300002 Jail OSVERSION: 1200086 Job Id: 20 ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 OSVERSION=1200086 UNAME_v=FreeBSD 12.0-RELEASE-p1 UNAME_r=12.0-RELEASE-p1 BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8 MASTERMNT=/usr/local/poudriere/data/.m/120i386-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/120i386-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=120i386-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/120i386-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR=py36 DEPENDS_ARGS= MAKE_ARGS= FLAVOR=py36 ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- yuri@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PYTHON="/usr/local/bin/python3.6" XDG_DATA_HOME=/wrkdirs/usr/ports/archivers/py-zstandard/work-py36 XDG_CONFIG_HOME=/wrkdirs/usr/ports/archivers/py-zstandard/work-py36 HOME=/wrkdirs/usr/ports/archivers/py-zstandard/work-py36 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/archivers/py-zstandard/work-py36/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/archivers/py-zstandard/work-py36 XDG_CONFIG_HOME=/wrkdirs/usr/ports/archivers/py-zstandard/work-py36 HOME=/wrkdirs/usr/ports/archivers/py-zstandard/work-py36 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/archivers/py-zstandard/work-py36/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" -fstack-protector " LIBS="-L/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_I NSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PYTHON_INCLUDEDIR=include/python3.6m PYTHON_LIBDIR=lib/python3.6 PYTHON_PLATFORM=freebsd12 PYTHON_PYOEXTENSION=opt-1.pyc PYTHON_SITELIBDIR=lib/python3.6/site-packages PYTHON_SUFFIX=36 PYTHON_VER=3.6 PYTHON_VERSION=python3.6 PYTHON2="@comment " PYTHON3="" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/zstandard" EXAMPLESDIR="share/examples/zstandard" DATADIR="share/zstandard" WWWDIR="www/zstandard" ETCDIR="etc/zstandard" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/zstandard DOCSDIR=/usr/local/share/doc/zstandard EXAMPLESDIR=/usr/local/share/examples/zstandard WWWDIR=/usr/local/www/zstandard ETCDIR=/usr/local/etc/zstandard --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} #### /usr/local/etc/poudriere.d/make.conf #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs MAKE_JOBS_NUMBER=2 # stable/10 includes src.conf too late but make.conf is in sys.mk .if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*} # Disable build of llib now that head no longer has lint(1) LINT= true .endif #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: i386-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: i386-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: i386-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=i386 OPSYS=FreeBSD _OSRELEASE=12.0-RELEASE-p1 OSREL=12.0 OSVERSION=1200086 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=262144 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 524288 stack size (kbytes, -s) 65536 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 1024 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =======================<phase: check-sanity >============================ ===> License BSD2CLAUSE accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> py36-zstandard-0.10.2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz [120i386-default-job-20] Installing pkg-1.10.5_5... [120i386-default-job-20] Extracting pkg-1.10.5_5: .......... done ===> py36-zstandard-0.10.2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of py36-zstandard-0.10.2 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License BSD2CLAUSE accepted by the user ===> Fetching all distfiles required by py36-zstandard-0.10.2 for building =========================================================================== =======================<phase: checksum >============================ ===> License BSD2CLAUSE accepted by the user ===> Fetching all distfiles required by py36-zstandard-0.10.2 for building => SHA256 Checksum OK for zstandard-0.10.2.tar.gz. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> License BSD2CLAUSE accepted by the user ===> Fetching all distfiles required by py36-zstandard-0.10.2 for building ===> Extracting for py36-zstandard-0.10.2 => SHA256 Checksum OK for zstandard-0.10.2.tar.gz. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for py36-zstandard-0.10.2 =========================================================================== =======================<phase: build-depends >============================ ===> py36-zstandard-0.10.2 depends on package: py36-cffi>=1.8.0 - not found ===> Installing existing package /packages/All/py36-cffi-1.11.5.txz [120i386-default-job-20] Installing py36-cffi-1.11.5... [120i386-default-job-20] `-- Installing libffi-3.2.1_3... [120i386-default-job-20] | `-- Installing indexinfo-0.3.1... [120i386-default-job-20] | `-- Extracting indexinfo-0.3.1: .... done [120i386-default-job-20] `-- Extracting libffi-3.2.1_3: .......... done [120i386-default-job-20] `-- Installing py36-pycparser-2.18... [120i386-default-job-20] | `-- Installing py36-setuptools-40.6.2... [120i386-default-job-20] | | `-- Installing python36-3.6.8... <snip> [120i386-default-job-20] | | `-- Extracting python36-3.6.8: .......... done [120i386-default-job-20] | `-- Extracting py36-setuptools-40.6.2: .......... done [120i386-default-job-20] `-- Extracting py36-pycparser-2.18: .......... done [120i386-default-job-20] Extracting py36-cffi-1.11.5: .......... done Message from python36-3.6.8: =========================================================================== Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py36-gdbm databases/py-gdbm@py36 py36-sqlite3 databases/py-sqlite3@py36 py36-tkinter x11-toolkits/py-tkinter@py36 =========================================================================== Message from py36-setuptools-40.6.2: ******************************************************************* Only /usr/local/bin/easy_install-3.6 script has been installed since Python 3.6 is not the default Python version. ******************************************************************* ===> py36-zstandard-0.10.2 depends on package: py36-cffi>=1.8.0 - found ===> Returning to build of py36-zstandard-0.10.2 ===> py36-zstandard-0.10.2 depends on package: py36-setuptools>0 - found ===> py36-zstandard-0.10.2 depends on file: /usr/local/bin/python3.6 - found =========================================================================== =======================<phase: lib-depends >============================ ===> py36-zstandard-0.10.2 depends on shared library: libzstd.so - not found ===> Installing existing package /packages/All/zstd-1.3.8.txz [120i386-default-job-20] Installing zstd-1.3.8... [120i386-default-job-20] `-- Installing liblz4-1.8.3,1... [120i386-default-job-20] `-- Extracting liblz4-1.8.3,1: .......... done [120i386-default-job-20] Extracting zstd-1.3.8: .......... done ===> py36-zstandard-0.10.2 depends on shared library: libzstd.so - found (/usr/local/lib/libzstd.so) ===> Returning to build of py36-zstandard-0.10.2 =========================================================================== =======================<phase: configure >============================ ===> Configuring for py36-zstandard-0.10.2 generating build/_zstd_cffi.c running config regenerated: 'build/_zstd_cffi.c' =========================================================================== =======================<phase: build >============================ ===> Building for py36-zstandard-0.10.2 generating build/_zstd_cffi.c (already up-to-date) running build running build_py creating build/lib.freebsd-12.0-RELEASE-p1-i386-3.6 copying zstd_cffi.py -> build/lib.freebsd-12.0-RELEASE-p1-i386-3.6 creating build/lib.freebsd-12.0-RELEASE-p1-i386-3.6/zstandard copying zstandard/__init__.py -> build/lib.freebsd-12.0-RELEASE-p1-i386-3.6/zstandard running build_ext building 'zstd' extension creating build/temp.freebsd-12.0-RELEASE-p1-i386-3.6 creating build/temp.freebsd-12.0-RELEASE-p1-i386-3.6/c-ext creating build/temp.freebsd-12.0-RELEASE-p1-i386-3.6/zstd creating build/temp.freebsd-12.0-RELEASE-p1-i386-3.6/zstd/common cc -DNDEBUG -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -Izstd/common -Ic-ext -I/usr/local/include/python3.6m -c c-ext/compressor.c -o build/temp.freebsd-12.0-RELEASE-p1-i386-3.6/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 /usr/local/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 /usr/local/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 /usr/local/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 /usr/local/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 /usr/local/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); ~~~~~~~~~~~~~~~ ^ /usr/local/include/zstd.h:757:1: note: 'ZSTD_CCtx_reset' declared here ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset); ^ /usr/local/include/zstd.h:34:23: note: expanded from macro 'ZSTDLIB_API' # define ZSTDLIB_API ZSTDLIB_VISIBILITY ^ /usr/local/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); ~~~~~~~~~~~~~~~ ^ /usr/local/include/zstd.h:757:1: note: 'ZSTD_CCtx_reset' declared here ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset); ^ /usr/local/include/zstd.h:34:23: note: expanded from macro 'ZSTDLIB_API' # define ZSTDLIB_API ZSTDLIB_VISIBILITY ^ /usr/local/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); ~~~~~~~~~~~~~~~ ^ /usr/local/include/zstd.h:757:1: note: 'ZSTD_CCtx_reset' declared here ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset); ^ /usr/local/include/zstd.h:34:23: note: expanded from macro 'ZSTDLIB_API' # define ZSTDLIB_API ZSTDLIB_VISIBILITY ^ /usr/local/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); ~~~~~~~~~~~~~~~ ^ /usr/local/include/zstd.h:757:1: note: 'ZSTD_CCtx_reset' declared here ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset); ^ /usr/local/include/zstd.h:34:23: note: expanded from macro 'ZSTDLIB_API' # define ZSTDLIB_API ZSTDLIB_VISIBILITY ^ /usr/local/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); ~~~~~~~~~~~~~~~ ^ /usr/local/include/zstd.h:757:1: note: 'ZSTD_CCtx_reset' declared here ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset); ^ /usr/local/include/zstd.h:34:23: note: expanded from macro 'ZSTDLIB_API' # define ZSTDLIB_API ZSTDLIB_VISIBILITY ^ /usr/local/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); ~~~~~~~~~~~~~~~ ^ /usr/local/include/zstd.h:757:1: note: 'ZSTD_CCtx_reset' declared here ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset); ^ /usr/local/include/zstd.h:34:23: note: expanded from macro 'ZSTDLIB_API' # define ZSTDLIB_API ZSTDLIB_VISIBILITY ^ /usr/local/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); ~~~~~~~~~~~~~~~ ^ /usr/local/include/zstd.h:757:1: note: 'ZSTD_CCtx_reset' declared here ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset); ^ /usr/local/include/zstd.h:34:23: note: expanded from macro 'ZSTDLIB_API' # define ZSTDLIB_API ZSTDLIB_VISIBILITY ^ /usr/local/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. not modified: 'build/_zstd_cffi.c' error: command 'cc' failed with exit status 1 *** Error code 1 Stop. make: stopped in /usr/ports/archivers/py-zstandard
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901060822.x068MH50049625>