Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2019 16:10:41 GMT
From:      pkg-fallout@FreeBSD.org
To:        yuri@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 112amd64-default][archivers/py-zstandard] Failed for py36-zstandard-0.10.2 in build
Message-ID:  <201901171610.x0HGAfmC026686@beefy9.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://beefy9.nyi.freebsd.org/data/112amd64-default/490523/logs/py36-zstandard-0.10.2.log
Build URL:      http://beefy9.nyi.freebsd.org/build.html?mastername=112amd64-default&build=490523
Log:

=>> Building archivers/py-zstandard
build started at Thu Jan 17 16:10:34 UTC 2019
port directory: /usr/ports/archivers/py-zstandard
package name: py36-zstandard-0.10.2
building for: FreeBSD 112amd64-default-job-06 11.2-RELEASE-p8 FreeBSD 11.2-RELEASE-p8 amd64
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: 1102000
Job Id: 06

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1102000
UNAME_v=FreeBSD 11.2-RELEASE-p8
UNAME_r=11.2-RELEASE-p8
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/112amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/112amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=112amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/112amd64-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=freebsd11  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=11.2 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
#### /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.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 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" "-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.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=11.2-RELEASE-p8
OSREL=11.2
OSVERSION=1102000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
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)  33554432
stack size              (kbytes, -s)  524288
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
[112amd64-default-job-06] Installing pkg-1.10.5_5...
[112amd64-default-job-06] 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
[112amd64-default-job-06] Installing py36-cffi-1.11.5...
[112amd64-default-job-06] `-- Installing libffi-3.2.1_3...
[112amd64-default-job-06] |   `-- Installing indexinfo-0.3.1...
[112amd64-default-job-06] |   `-- Extracting indexinfo-0.3.1: .... done
[112amd64-default-job-06] `-- Extracting libffi-3.2.1_3: .......... done
[112amd64-default-job-06] `-- Installing py36-pycparser-2.18...
[112amd64-default-job-06] |   `-- Installing py36-setuptools-40.6.2...
[112amd64-default-job-06] |   | `-- Installing python36-3.6.8...
[112amd64-default-job-06] |   |   `-- Installing gettext-runtime-0.19.8.1_2...
[112amd64-default-job-06] |   |   `-- Extracting gettext-runtime-0.19.8.1_2: .......... done
[112amd64-default-job-06] |   |   `-- Installing readline-7.0.5...
[112amd64-default-job-06] |   |   `-- Extracting readline-7.0.5: .......... done
[112amd64-default-job-06] |   | `-- Extracting python36-3.6.8: .......... done
[112amd64-default-job-06] |   `-- Extracting py36-setuptools-40.6.2: .......... done
[112amd64-default-job-06] `-- Extracting py36-pycparser-2.18: .......... done
[112amd64-default-job-06] 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
[112amd64-default-job-06] Installing zstd-1.3.8...
[112amd64-default-job-06] `-- Installing liblz4-1.8.3,1...
[112amd64-default-job-06] `-- Extracting liblz4-1.8.3,1: .......... done
[112amd64-default-job-06] 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-11.2-RELEASE-p8-amd64-3.6
copying zstd_cffi.py -> build/lib.freebsd-11.2-RELEASE-p8-amd64-3.6
creating build/lib.freebsd-11.2-RELEASE-p8-amd64-3.6/zstandard
copying zstandard/__init__.py -> build/lib.freebsd-11.2-RELEASE-p8-amd64-3.6/zstandard
running build_ext
building 'zstd' extension
creating build/temp.freebsd-11.2-RELEASE-p8-amd64-3.6
creating build/temp.freebsd-11.2-RELEASE-p8-amd64-3.6/c-ext
creating build/temp.freebsd-11.2-RELEASE-p8-amd64-3.6/zstd
creating build/temp.freebsd-11.2-RELEASE-p8-amd64-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-11.2-RELEASE-p8-amd64-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?201901171610.x0HGAfmC026686>