[package - head-amd64-default][devel/pecl-jsond] Failed for php80-pecl-jsond-1.4.0 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Sat Dec 19 07:27:03 UTC 2020
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: gasol.wu at gmail.com
Last committer: joneum at FreeBSD.org
Ident: $FreeBSD: head/devel/pecl-jsond/Makefile 464530 2018-03-14 20:30:40Z joneum $
Log URL: http://beefy18.nyi.freebsd.org/data/head-amd64-default/p558421_s368710/logs/php80-pecl-jsond-1.4.0.log
Build URL: http://beefy18.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p558421_s368710
Log:
=>> Building devel/pecl-jsond
build started at Sat Dec 19 07:26:49 UTC 2020
port directory: /usr/ports/devel/pecl-jsond
package name: php80-pecl-jsond-1.4.0
building for: FreeBSD head-amd64-default-job-11 13.0-CURRENT FreeBSD 13.0-CURRENT 1300132 amd64
maintained by: gasol.wu at gmail.com
Makefile ident: $FreeBSD: head/devel/pecl-jsond/Makefile 464530 2018-03-14 20:30:40Z joneum $
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1300121
Jail OSVERSION: 1300132
Job Id: 11
!!! Jail is newer than host. (Jail: 1300132, Host: 1300121) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300132
UNAME_v=FreeBSD 13.0-CURRENT 1300132
UNAME_r=13.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
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-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-amd64-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=php80
DEPENDS_ARGS=
MAKE_ARGS= FLAVOR=php80
---End Poudriere Port Flags/Env---
---Begin OPTIONS List---
---End OPTIONS List---
--MAINTAINER--
gasol.wu at gmail.com
--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/devel/pecl-jsond/work-php80 XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/pecl-jsond/work-php80 HOME=/wrkdirs/usr/ports/devel/pecl-jsond/work-php80 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/.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=524288
--End CONFIGURE_ENV--
--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/pecl-jsond/work-php80 XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/pecl-jsond/work-php80 HOME=/wrkdirs/usr/ports/devel/pecl-jsond/work-php80 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/.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-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -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=20200930 OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/jsond" EXAMPLESDIR="share/examples/jsond" DATADIR="share/jsond" WWWDIR="www/jsond" ETCDIR="etc/jsond"
--End PLIST_SUB--
--SUB_LIST--
PHP_EXT_DIR=20200930 PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/jsond DOCSDIR=/usr/local/share/doc/jsond EXAMPLESDIR=/usr/local/share/examples/jsond WWWDIR=/usr/local/www/jsond ETCDIR=/usr/local/etc/jsond
--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
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 11.0.0 (git at github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.0 (git at github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) Target: x86_64-unknown-freebsd13.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 11.0.0 (git at github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300132
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---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 >============================
===> php80-pecl-jsond-1.4.0 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.15.10.txz
[head-amd64-default-job-11] Installing pkg-1.15.10...
[head-amd64-default-job-11] Extracting pkg-1.15.10: .......... done
===> php80-pecl-jsond-1.4.0 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of php80-pecl-jsond-1.4.0
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> License PHP301 accepted by the user
===> Fetching all distfiles required by php80-pecl-jsond-1.4.0 for building
===========================================================================
=======================<phase: checksum >============================
===> License PHP301 accepted by the user
===> Fetching all distfiles required by php80-pecl-jsond-1.4.0 for building
=> SHA256 Checksum OK for PECL/jsond-1.4.0.tgz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> License PHP301 accepted by the user
===> Fetching all distfiles required by php80-pecl-jsond-1.4.0 for building
===> Extracting for php80-pecl-jsond-1.4.0
=> SHA256 Checksum OK for PECL/jsond-1.4.0.tgz.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for php80-pecl-jsond-1.4.0
===========================================================================
=======================<phase: build-depends >============================
===> php80-pecl-jsond-1.4.0 depends on file: /usr/local/bin/phpize - not found
===> Installing existing package /packages/All/php80-8.0.0_1.txz
[head-amd64-default-job-11] Installing php80-8.0.0_1...
[head-amd64-default-job-11] `-- Installing libargon2-20190702...
[head-amd64-default-job-11] `-- Extracting libargon2-20190702: .......... done
[head-amd64-default-job-11] `-- Installing libxml2-2.9.10_2...
[head-amd64-default-job-11] `-- Extracting libxml2-2.9.10_2: .......... done
[head-amd64-default-job-11] `-- Installing pcre2-10.36...
[head-amd64-default-job-11] `-- Extracting pcre2-10.36: .......... done
<snip>
PHP_JSOND_FE(decode, arginfo_jsond_decode)
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond.c:78:15: error: use of undeclared identifier 'last_error'; did you mean 'strerror'?
PHP_JSOND_FE(last_error, arginfo_jsond_last_error)
^~~~~~~~~~
strerror
./php_jsond.h:69:61: note: expanded from macro 'PHP_JSOND_FE'
#define PHP_JSOND_FE(jname, arginfo) PHP_FE(PHP_JSOND_IDENT(jname), arginfo)
^
/usr/local/include/php/Zend/zend_API.h:83:67: note: expanded from macro 'ZEND_FE'
#define ZEND_FE(name, arg_info) ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0)
^
/usr/local/include/php/Zend/zend_API.h:77:74: note: expanded from macro 'ZEND_RAW_FENTRY'
#define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
^
/usr/include/string.h:89:7: note: 'strerror' declared here
char *strerror(int);
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond.c:79:15: error: use of undeclared identifier 'last_error_msg'
PHP_JSOND_FE(last_error_msg, arginfo_jsond_last_error_msg)
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond.c:119:73: error: expected ')'
PHP_JSOND_NAME(serializable_ce) = zend_register_internal_interface(&ce TSRMLS_CC);
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond.c:119:68: note: to match this '('
PHP_JSOND_NAME(serializable_ce) = zend_register_internal_interface(&ce TSRMLS_CC);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.
*** [jsond.lo] Error code 1
make[1]: stopped in /wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0
--- jsond_encoder.lo ---
In file included from /wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:28:
./php_jsond.h:152:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
#if PHPC_MODULE_HAS_THREAD_CACHE
^
./phpc/phpc.h:817:38: note: expanded from macro 'PHPC_MODULE_HAS_THREAD_CACHE'
#define PHPC_MODULE_HAS_THREAD_CACHE defined(ZTS) && defined(COMPILE_DL_JSON)
^
In file included from /wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:28:
./php_jsond.h:152:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
./phpc/phpc.h:817:54: note: expanded from macro 'PHPC_MODULE_HAS_THREAD_CACHE'
#define PHPC_MODULE_HAS_THREAD_CACHE defined(ZTS) && defined(COMPILE_DL_JSON)
^
In file included from /wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:28:
./php_jsond.h:158:88: error: expected ')'
PHP_JSOND_API void PHP_JSOND_NAME(encode)(php_json_buffer *buf, zval *val, int options TSRMLS_DC);
^
./php_jsond.h:158:42: note: to match this '('
PHP_JSOND_API void PHP_JSOND_NAME(encode)(php_json_buffer *buf, zval *val, int options TSRMLS_DC);
^
./php_jsond.h:159:116: error: expected ')'
PHP_JSOND_API void PHP_JSOND_NAME(decode_ex)(zval *return_value, char *str, size_t str_len, int options, int depth TSRMLS_DC);
^
./php_jsond.h:159:45: note: to match this '('
PHP_JSOND_API void PHP_JSOND_NAME(decode_ex)(zval *return_value, char *str, size_t str_len, int options, int depth TSRMLS_DC);
^
./php_jsond.h:162:117: error: expected ')'
static inline void PHP_JSOND_NAME(decode)(zval *return_value, char *str, size_t str_len, zend_bool assoc, int depth TSRMLS_DC)
^
./php_jsond.h:162:42: note: to match this '('
static inline void PHP_JSOND_NAME(decode)(zval *return_value, char *str, size_t str_len, zend_bool assoc, int depth TSRMLS_DC)
^
./php_jsond.h:164:100: error: expected ')'
PHP_JSOND_NAME(decode_ex)(return_value, str, str_len, assoc ? PHP_JSON_OBJECT_AS_ARRAY : 0, depth TSRMLS_CC);
^
./php_jsond.h:164:27: note: to match this '('
PHP_JSOND_NAME(decode_ex)(return_value, str, str_len, assoc ? PHP_JSON_OBJECT_AS_ARRAY : 0, depth TSRMLS_CC);
^
In file included from /wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:29:
./php_jsond_encoder.h:25:72: error: expected ')'
void php_json_encode_zval(php_json_buffer *buf, zval *val, int options TSRMLS_DC);
^
./php_jsond_encoder.h:25:26: note: to match this '('
void php_json_encode_zval(php_json_buffer *buf, zval *val, int options TSRMLS_DC);
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:46:56: error: expected ')'
static int php_json_determine_array_type(phpc_val *val TSRMLS_DC) /* {{{ */
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:46:41: note: to match this '('
static int php_json_determine_array_type(phpc_val *val TSRMLS_DC) /* {{{ */
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:71:89: error: expected ')'
static inline void php_json_pretty_print_char(php_json_buffer *buf, int options, char c TSRMLS_DC) /* {{{ */
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:71:46: note: to match this '('
static inline void php_json_pretty_print_char(php_json_buffer *buf, int options, char c TSRMLS_DC) /* {{{ */
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:79:83: error: expected ')'
static inline void php_json_pretty_print_indent(php_json_buffer *buf, int options TSRMLS_DC) /* {{{ */
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:79:48: note: to match this '('
static inline void php_json_pretty_print_indent(php_json_buffer *buf, int options TSRMLS_DC) /* {{{ */
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:99:87: error: expected ')'
static inline void php_json_encode_double(php_json_buffer *buf, double d, int options TSRMLS_DC) /* {{{ */
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:99:42: note: to match this '('
static inline void php_json_encode_double(php_json_buffer *buf, double d, int options TSRMLS_DC) /* {{{ */
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:134:100: error: expected ')'
static void php_json_escape_string(php_json_buffer *buf, char *s, phpc_str_size_t len, int options TSRMLS_DC) /* {{{ */
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:134:35: note: to match this '('
static void php_json_escape_string(php_json_buffer *buf, char *s, phpc_str_size_t len, int options TSRMLS_DC) /* {{{ */
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:159:44: error: expected ')'
php_json_encode_double(buf, d, options TSRMLS_CC);
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:159:27: note: to match this '('
php_json_encode_double(buf, d, options TSRMLS_CC);
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:282:84: error: expected ')'
static void php_json_encode_array(php_json_buffer *buf, phpc_val *val, int options TSRMLS_DC) /* {{{ */
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:282:34: note: to match this '('
static void php_json_encode_array(php_json_buffer *buf, phpc_val *val, int options TSRMLS_DC) /* {{{ */
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:289:102: error: expected ')'
r = (options & PHP_JSON_FORCE_OBJECT) ? PHP_JSON_OUTPUT_OBJECT : php_json_determine_array_type(val TSRMLS_CC);
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:289:97: note: to match this '('
r = (options & PHP_JSON_FORCE_OBJECT) ? PHP_JSON_OUTPUT_OBJECT : php_json_determine_array_type(val TSRMLS_CC);
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:295:14: warning: implicit declaration of function 'ZEND_HASH_GET_APPLY_COUNT' is invalid in C99 [-Wimplicit-function-declaration]
if (myht && PHPC_HASH_GET_APPLY_COUNT(myht) > 1) {
^
./phpc/phpc.h:1024:36: note: expanded from macro 'PHPC_HASH_GET_APPLY_COUNT'
#define PHPC_HASH_GET_APPLY_COUNT ZEND_HASH_GET_APPLY_COUNT
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:320:18: warning: implicit declaration of function 'ZEND_HASH_APPLY_PROTECTION' is invalid in C99 [-Wimplicit-function-declaration]
if (tmp_ht && PHPC_HASH_APPLY_PROTECTION(tmp_ht)) {
^
./phpc/phpc.h:1027:36: note: expanded from macro 'PHPC_HASH_APPLY_PROTECTION'
#define PHPC_HASH_APPLY_PROTECTION ZEND_HASH_APPLY_PROTECTION
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:321:5: warning: implicit declaration of function 'ZEND_HASH_INC_APPLY_COUNT' is invalid in C99 [-Wimplicit-function-declaration]
PHPC_HASH_INC_APPLY_COUNT(tmp_ht);
^
./phpc/phpc.h:1025:36: note: expanded from macro 'PHPC_HASH_INC_APPLY_COUNT'
#define PHPC_HASH_INC_APPLY_COUNT ZEND_HASH_INC_APPLY_COUNT
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:331:51: error: expected ')'
php_json_pretty_print_char(buf, options, '\n' TSRMLS_CC);
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:331:31: note: to match this '('
php_json_pretty_print_char(buf, options, '\n' TSRMLS_CC);
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:332:47: error: expected ')'
php_json_pretty_print_indent(buf, options TSRMLS_CC);
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:332:33: note: to match this '('
php_json_pretty_print_indent(buf, options TSRMLS_CC);
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:333:70: error: expected ')'
php_json_encode_zval(buf, PHPC_PVAL_CAST_TO_PZVAL(data), options TSRMLS_CC);
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:333:25: note: to match this '('
php_json_encode_zval(buf, PHPC_PVAL_CAST_TO_PZVAL(data), options TSRMLS_CC);
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:340:8: warning: implicit declaration of function 'ZEND_HASH_DEC_APPLY_COUNT' is invalid in C99 [-Wimplicit-function-declaration]
PHPC_HASH_DEC_APPLY_COUNT(tmp_ht);
^
./phpc/phpc.h:1026:36: note: expanded from macro 'PHPC_HASH_DEC_APPLY_COUNT'
#define PHPC_HASH_DEC_APPLY_COUNT ZEND_HASH_DEC_APPLY_COUNT
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:351:52: error: expected ')'
php_json_pretty_print_char(buf, options, '\n' TSRMLS_CC);
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:351:32: note: to match this '('
php_json_pretty_print_char(buf, options, '\n' TSRMLS_CC);
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:352:48: error: expected ')'
php_json_pretty_print_indent(buf, options TSRMLS_CC);
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:352:34: note: to match this '('
php_json_pretty_print_indent(buf, options TSRMLS_CC);
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:355:42: error: expected ')'
options & ~PHP_JSON_NUMERIC_CHECK TSRMLS_CC);
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c:354:28: note: to match this '('
php_json_escape_string(buf, PHPC_STR_VAL(key), PHPC_STR_LEN(key),
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
6 warnings and 20 errors generated.
*** [jsond_encoder.lo] Error code 1
make[1]: stopped in /wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0
2 errors
make[1]: stopped in /wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/ports/devel/pecl-jsond
More information about the freebsd-pkg-fallout
mailing list