Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2019 02:20:04 GMT
From:      pkg-fallout@FreeBSD.org
To:        joneum@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 120amd64-quarterly][databases/pecl-leveldb] Failed for php56-pecl-leveldb-0.2.1 in build
Message-ID:  <201901150220.x0F2K4km090981@beefy2.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:     joneum@FreeBSD.org
Last committer: joneum@FreeBSD.org
Ident:          $FreeBSD: branches/2019Q1/databases/pecl-leveldb/Makefile 487987 2018-12-21 12:09:45Z joneum $
Log URL:        http://beefy2.nyi.freebsd.org/data/120amd64-quarterly/490334/logs/php56-pecl-leveldb-0.2.1.log
Build URL:      http://beefy2.nyi.freebsd.org/build.html?mastername=120amd64-quarterly&build=490334
Log:

=>> Building databases/pecl-leveldb
build started at Tue Jan 15 02:19:53 UTC 2019
port directory: /usr/ports/databases/pecl-leveldb
package name: php56-pecl-leveldb-0.2.1
building for: FreeBSD 120amd64-quarterly-job-03 12.0-RELEASE-p2 FreeBSD 12.0-RELEASE-p2 amd64
maintained by: joneum@FreeBSD.org
Makefile ident:      $FreeBSD: branches/2019Q1/databases/pecl-leveldb/Makefile 487987 2018-12-21 12:09:45Z joneum $
Poudriere version: 3.2.8
Host OSVERSION: 1300002
Jail OSVERSION: 1200086
Job Id: 03

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200086
UNAME_v=FreeBSD 12.0-RELEASE-p2
UNAME_r=12.0-RELEASE-p2
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/120amd64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/120amd64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=120amd64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/120amd64-quarterly/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=php56
DEPENDS_ARGS=
MAKE_ARGS= FLAVOR=php56
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
joneum@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-php-config=/usr/local/bin/php-config --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56  HOME=/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56  HOME=/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/.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 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PHP_EXT_DIR=20131226 OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/leveldb"  EXAMPLESDIR="share/examples/leveldb"  DATADIR="share/leveldb"  WWWDIR="www/leveldb"  ETCDIR="etc/leveldb"
--End PLIST_SUB--

--SUB_LIST--
PHP_EXT_DIR=20131226 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/leveldb DOCSDIR=/usr/local/share/doc/leveldb EXAMPLESDIR=/usr/local/share/examples/leveldb  WWWDIR=/usr/local/www/leveldb ETCDIR=/usr/local/etc/leveldb
--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.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-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: x86_64-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" "-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: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.0-RELEASE-p2
OSREL=12.0
OSVERSION=1200086
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 PHP301 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   php56-pecl-leveldb-0.2.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
[120amd64-quarterly-job-03] Installing pkg-1.10.5_5...
[120amd64-quarterly-job-03] Extracting pkg-1.10.5_5: .......... done
===>   php56-pecl-leveldb-0.2.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of php56-pecl-leveldb-0.2.1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License PHP301 accepted by the user
===> Fetching all distfiles required by php56-pecl-leveldb-0.2.1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License PHP301 accepted by the user
===> Fetching all distfiles required by php56-pecl-leveldb-0.2.1 for building
=> SHA256 Checksum OK for PECL/leveldb-0.2.1.tgz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License PHP301 accepted by the user
===> Fetching all distfiles required by php56-pecl-leveldb-0.2.1 for building
===>  Extracting for php56-pecl-leveldb-0.2.1
=> SHA256 Checksum OK for PECL/leveldb-0.2.1.tgz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for php56-pecl-leveldb-0.2.1
===========================================================================
=======================<phase: build-depends  >============================
===>   php56-pecl-leveldb-0.2.1 depends on file: /usr/local/bin/phpize - not found
===>   Installing existing package /packages/All/php56-5.6.39.txz
[120amd64-quarterly-job-03] Installing php56-5.6.39...
[120amd64-quarterly-job-03] `-- Installing libxml2-2.9.7...
[120amd64-quarterly-job-03] `-- Extracting libxml2-2.9.7: .......... done
[120amd64-quarterly-job-03] `-- Installing pcre-8.42_1...
[120amd64-quarterly-job-03] `-- Extracting pcre-8.42_1: .......... done
[120amd64-quarterly-job-03] Extracting php56-5.6.39: .......... done
Message from php56-5.6.39:

===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

<snip>
                                ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:196:65: note: expanded from macro 'LEVELDB_FETCH_OBJ'
#define LEVELDB_FETCH_OBJ(obj_name, zv) obj_name##_fetch_object(Z_OBJ_P(zv))
                                                                ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:826:11: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'zend_object *' (aka 'struct _zend_object *') [-Wint-conversion]
        intern = FETCH_LEVELDB_Z_OBJ(getThis());
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:199:33: note: expanded from macro 'FETCH_LEVELDB_Z_OBJ'
#define FETCH_LEVELDB_Z_OBJ(zv) LEVELDB_FETCH_OBJ(leveldb_object, zv)
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:196:65: note: expanded from macro 'LEVELDB_FETCH_OBJ'
#define LEVELDB_FETCH_OBJ(obj_name, zv) obj_name##_fetch_object(Z_OBJ_P(zv))
                                                                ^~~~~~~~~~~
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:191:1: note: passing argument to parameter 'obj' here
DECLARE_FETCH_OBJECT(leveldb_object)
^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:186:68: note: expanded from macro 'DECLARE_FETCH_OBJECT'
        static inline class_name * class_name##_fetch_object(zend_object *obj) \
                                                                          ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:830:23: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'zend_object *' (aka 'struct _zend_object *') [-Wint-conversion]
        write_batch_object = FETCH_LEVELDB_Z_WRITE_BATCH_OBJ(write_batch);
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:201:45: note: expanded from macro 'FETCH_LEVELDB_Z_WRITE_BATCH_OBJ'
#define FETCH_LEVELDB_Z_WRITE_BATCH_OBJ(zv) LEVELDB_FETCH_OBJ(leveldb_write_batch_object, zv)
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:196:65: note: expanded from macro 'LEVELDB_FETCH_OBJ'
#define LEVELDB_FETCH_OBJ(obj_name, zv) obj_name##_fetch_object(Z_OBJ_P(zv))
                                                                ^~~~~~~~~~~
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:193:1: note: passing argument to parameter 'obj' here
DECLARE_FETCH_OBJECT(leveldb_write_batch_object)
^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:186:68: note: expanded from macro 'DECLARE_FETCH_OBJECT'
        static inline class_name * class_name##_fetch_object(zend_object *obj) \
                                                                          ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:853:11: warning: implicit declaration of function 'Z_OBJ_P' is invalid in C99 [-Wimplicit-function-declaration]
        intern = FETCH_LEVELDB_Z_OBJ(getThis());
                 ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:199:33: note: expanded from macro 'FETCH_LEVELDB_Z_OBJ'
#define FETCH_LEVELDB_Z_OBJ(zv) LEVELDB_FETCH_OBJ(leveldb_object, zv)
                                ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:196:65: note: expanded from macro 'LEVELDB_FETCH_OBJ'
#define LEVELDB_FETCH_OBJ(obj_name, zv) obj_name##_fetch_object(Z_OBJ_P(zv))
                                                                ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:853:11: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'zend_object *' (aka 'struct _zend_object *') [-Wint-conversion]
        intern = FETCH_LEVELDB_Z_OBJ(getThis());
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:199:33: note: expanded from macro 'FETCH_LEVELDB_Z_OBJ'
#define FETCH_LEVELDB_Z_OBJ(zv) LEVELDB_FETCH_OBJ(leveldb_object, zv)
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:196:65: note: expanded from macro 'LEVELDB_FETCH_OBJ'
#define LEVELDB_FETCH_OBJ(obj_name, zv) obj_name##_fetch_object(Z_OBJ_P(zv))
                                                                ^~~~~~~~~~~
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:191:1: note: passing argument to parameter 'obj' here
DECLARE_FETCH_OBJECT(leveldb_object)
^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:186:68: note: expanded from macro 'DECLARE_FETCH_OBJECT'
        static inline class_name * class_name##_fetch_object(zend_object *obj) \
                                                                          ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:862:24: error: too few arguments provided to function-like macro invocation
        RETVAL_STRING(property);
                              ^
/usr/local/include/php/Zend/zend_API.h:627:9: note: macro 'RETVAL_STRING' defined here
#define RETVAL_STRING(s, duplicate)             ZVAL_STRING(return_value, s, duplicate)
        ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:862:2: error: use of undeclared identifier 'RETVAL_STRING'
        RETVAL_STRING(property);
        ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:879:11: warning: implicit declaration of function 'Z_OBJ_P' is invalid in C99 [-Wimplicit-function-declaration]
        intern = FETCH_LEVELDB_Z_OBJ(getThis());
                 ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:199:33: note: expanded from macro 'FETCH_LEVELDB_Z_OBJ'
#define FETCH_LEVELDB_Z_OBJ(zv) LEVELDB_FETCH_OBJ(leveldb_object, zv)
                                ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:196:65: note: expanded from macro 'LEVELDB_FETCH_OBJ'
#define LEVELDB_FETCH_OBJ(obj_name, zv) obj_name##_fetch_object(Z_OBJ_P(zv))
                                                                ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:879:11: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'zend_object *' (aka 'struct _zend_object *') [-Wint-conversion]
        intern = FETCH_LEVELDB_Z_OBJ(getThis());
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:199:33: note: expanded from macro 'FETCH_LEVELDB_Z_OBJ'
#define FETCH_LEVELDB_Z_OBJ(zv) LEVELDB_FETCH_OBJ(leveldb_object, zv)
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:196:65: note: expanded from macro 'LEVELDB_FETCH_OBJ'
#define LEVELDB_FETCH_OBJ(obj_name, zv) obj_name##_fetch_object(Z_OBJ_P(zv))
                                                                ^~~~~~~~~~~
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:191:1: note: passing argument to parameter 'obj' here
DECLARE_FETCH_OBJECT(leveldb_object)
^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:186:68: note: expanded from macro 'DECLARE_FETCH_OBJECT'
        static inline class_name * class_name##_fetch_object(zend_object *obj) \
                                                                          ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:903:11: warning: implicit declaration of function 'Z_OBJ_P' is invalid in C99 [-Wimplicit-function-declaration]
        intern = FETCH_LEVELDB_Z_OBJ(getThis());
                 ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:199:33: note: expanded from macro 'FETCH_LEVELDB_Z_OBJ'
#define FETCH_LEVELDB_Z_OBJ(zv) LEVELDB_FETCH_OBJ(leveldb_object, zv)
                                ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:196:65: note: expanded from macro 'LEVELDB_FETCH_OBJ'
#define LEVELDB_FETCH_OBJ(obj_name, zv) obj_name##_fetch_object(Z_OBJ_P(zv))
                                                                ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:903:11: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'zend_object *' (aka 'struct _zend_object *') [-Wint-conversion]
        intern = FETCH_LEVELDB_Z_OBJ(getThis());
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:199:33: note: expanded from macro 'FETCH_LEVELDB_Z_OBJ'
#define FETCH_LEVELDB_Z_OBJ(zv) LEVELDB_FETCH_OBJ(leveldb_object, zv)
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:196:65: note: expanded from macro 'LEVELDB_FETCH_OBJ'
#define LEVELDB_FETCH_OBJ(obj_name, zv) obj_name##_fetch_object(Z_OBJ_P(zv))
                                                                ^~~~~~~~~~~
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:191:1: note: passing argument to parameter 'obj' here
DECLARE_FETCH_OBJECT(leveldb_object)
^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:186:68: note: expanded from macro 'DECLARE_FETCH_OBJECT'
        static inline class_name * class_name##_fetch_object(zend_object *obj) \
                                                                          ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:924:81: error: too few arguments to function call, expected 3, have 2
        while ((start_val = zend_hash_get_current_data_ex(Z_ARRVAL_P(start), &pos_start)) != NULL &&
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                              ^
/usr/local/include/php/Zend/zend_hash.h:182:1: note: 'zend_hash_get_current_data_ex' declared here
ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos);
^
/usr/local/include/php/main/php_config.h:6:19: note: expanded from macro 'ZEND_API'
# define ZEND_API __attribute__ ((visibility("default")))
                  ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:925:75: error: too few arguments to function call, expected 3, have 2
                (limit_val = zend_hash_get_current_data_ex(Z_ARRVAL_P(limit), &pos_limit)) != NULL) {
                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                              ^
/usr/local/include/php/Zend/zend_hash.h:182:1: note: 'zend_hash_get_current_data_ex' declared here
ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos);
^
/usr/local/include/php/main/php_config.h:6:19: note: expanded from macro 'ZEND_API'
# define ZEND_API __attribute__ ((visibility("default")))
                  ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:964:11: warning: implicit declaration of function 'Z_OBJ_P' is invalid in C99 [-Wimplicit-function-declaration]
        intern = FETCH_LEVELDB_Z_OBJ(getThis());
                 ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:199:33: note: expanded from macro 'FETCH_LEVELDB_Z_OBJ'
#define FETCH_LEVELDB_Z_OBJ(zv) LEVELDB_FETCH_OBJ(leveldb_object, zv)
                                ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:196:65: note: expanded from macro 'LEVELDB_FETCH_OBJ'
#define LEVELDB_FETCH_OBJ(obj_name, zv) obj_name##_fetch_object(Z_OBJ_P(zv))
                                                                ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:964:11: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'zend_object *' (aka 'struct _zend_object *') [-Wint-conversion]
        intern = FETCH_LEVELDB_Z_OBJ(getThis());
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:199:33: note: expanded from macro 'FETCH_LEVELDB_Z_OBJ'
#define FETCH_LEVELDB_Z_OBJ(zv) LEVELDB_FETCH_OBJ(leveldb_object, zv)
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:196:65: note: expanded from macro 'LEVELDB_FETCH_OBJ'
#define LEVELDB_FETCH_OBJ(obj_name, zv) obj_name##_fetch_object(Z_OBJ_P(zv))
                                                                ^~~~~~~~~~~
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:191:1: note: passing argument to parameter 'obj' here
DECLARE_FETCH_OBJECT(leveldb_object)
^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:186:68: note: expanded from macro 'DECLARE_FETCH_OBJECT'
        static inline class_name * class_name##_fetch_object(zend_object *obj) \
                                                                          ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:986:19: warning: incompatible pointer types passing 'zval *' (aka 'struct _zval_struct *') to parameter of type 'zval **' (aka 'struct _zval_struct **'); take the address with & [-Wincompatible-pointer-types]
        zend_call_method(return_value, php_leveldb_iterator_class_entry,
                         ^~~~~~~~~~~~
                         &
/usr/local/include/php/Zend/zend_interfaces.h:41:40: note: passing argument to parameter 'object_pp' here
ZEND_API zval* zend_call_method(zval **object_pp, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, int function_name_len, zval **retval_ptr_ptr, int param_count, zval* arg1, zval* arg2 TSRMLS_DC);
                                       ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:1002:33: warning: incompatible pointer types passing 'zval *' (aka 'struct _zval_struct *') to parameter of type 'zval **' (aka 'struct _zval_struct **'); take the address with & [-Wincompatible-pointer-types]
        zend_call_method_with_1_params(return_value, php_leveldb_snapshot_class_entry,
                                       ^~~~~~~~~~~~
                                       &
/usr/local/include/php/Zend/zend_interfaces.h:47:19: note: expanded from macro 'zend_call_method_with_1_params'
        zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 1, arg1, NULL TSRMLS_CC)
                         ^~~
/usr/local/include/php/Zend/zend_interfaces.h:41:40: note: passing argument to parameter 'object_pp' here
ZEND_API zval* zend_call_method(zval **object_pp, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, int function_name_len, zval **retval_ptr_ptr, int param_count, zval* arg1, zval* arg2 TSRMLS_DC);
                                       ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:1016:2: error: use of undeclared identifier 'zend_string'; did you mean 'zend_strtod'?
        zend_string *callable_name = NULL;
        ^~~~~~~~~~~
        zend_strtod
/usr/local/include/php/Zend/zend_strtod.h:30:17: note: 'zend_strtod' declared here
ZEND_API double zend_strtod(const char *s00, const char **se);
                ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:1016:15: error: use of undeclared identifier 'callable_name'
        zend_string *callable_name = NULL;
                     ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:1027:67: error: use of undeclared identifier 'callable_name'
        options = php_leveldb_get_open_options(options_zv, &comparator, &callable_name);
                                                                         ^
/wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1/leveldb.c:1037:3: warning: implicit declaration of function 'zend_string_free' is invalid in C99 [-Wimplicit-function-declaration]
                zend_string_free(callable_name);
                ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
61 warnings and 20 errors generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/databases/pecl-leveldb/work-php56/leveldb-0.2.1
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/pecl-leveldb



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901150220.x0F2K4km090981>