Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Nov 2020 20:56:30 GMT
From:      pkg-fallout@FreeBSD.org
To:        gasol.wu@gmail.com
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-i386-default][devel/pecl-jsond] Failed for php80-pecl-jsond-1.4.0 in build
Message-ID:  <202011062056.0A6KuUHb067946@beefy17.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:     gasol.wu@gmail.com
Last committer: joneum@FreeBSD.org
Ident:          $FreeBSD: head/devel/pecl-jsond/Makefile 464530 2018-03-14 20:30:40Z joneum $
Log URL:        http://beefy17.nyi.freebsd.org/data/head-i386-default/p554114_s367356/logs/php80-pecl-jsond-1.4.0.log
Build URL:      http://beefy17.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p554114_s367356
Log:

=>> Building devel/pecl-jsond
build started at Fri Nov  6 20:56:15 UTC 2020
port directory: /usr/ports/devel/pecl-jsond
package name: php80-pecl-jsond-1.4.0
building for: FreeBSD head-i386-default-job-04 13.0-CURRENT FreeBSD 13.0-CURRENT 1300125 i386
maintained by: gasol.wu@gmail.com
Makefile ident:      $FreeBSD: head/devel/pecl-jsond/Makefile 464530 2018-03-14 20:30:40Z joneum $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300121
Jail OSVERSION: 1300125
Job Id: 04




!!! Jail is newer than host. (Jail: 1300125, Host: 1300121) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1300125
UNAME_v=FreeBSD 13.0-CURRENT 1300125
UNAME_r=13.0-CURRENT
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-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-i386-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@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
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
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) Target: i386-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" "-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 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300125
PYTHONBASE=/usr/local
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)  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 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-i386-default-job-04] Installing pkg-1.15.10...
[head-i386-default-job-04] 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.r3.txz
[head-i386-default-job-04] Installing php80-8.0.0.r3...
[head-i386-default-job-04] `-- Installing libargon2-20190702...
[head-i386-default-job-04] `-- Extracting libargon2-20190702: .......... done
[head-i386-default-job-04] `-- Installing libxml2-2.9.10_1...
[head-i386-default-job-04] `-- Extracting libxml2-2.9.10_1: .......... done
<snip>
static PHP_JSOND_FUNCTION(last_error_msg);
                          ^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond.c:45:8: error: function with no prototype cannot use the fastcall calling convention
static PHP_JSOND_FUNCTION(last_error_msg);
       ^
./php_jsond.h:68:35: note: expanded from macro 'PHP_JSOND_FUNCTION'
#define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname))
                                  ^
/usr/local/include/php/main/php.h:379:24: note: expanded from macro 'PHP_FUNCTION'
#define PHP_FUNCTION                    ZEND_FUNCTION
                                        ^
/usr/local/include/php/Zend/zend_API.h:72:52: note: expanded from macro 'ZEND_FUNCTION'
#define ZEND_FUNCTION(name)                             ZEND_NAMED_FUNCTION(zif_##name)
                                                                            ^
<scratch space>:49:1: note: expanded from here
zif_PHP_JSOND_IDENT
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond.c:76:15: error: use of undeclared identifier 'encode'
        PHP_JSOND_FE(encode, arginfo_jsond_encode)
                     ^
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 ---
 cc -I. -I/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0 -I/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/include -I/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/main -I/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c /wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond_encoder.c  -fPIC -DPIC -o .libs/jsond_encoder.o
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:153:41: warning: incompatible pointer types passing 'long *' to parameter of type 'zend_long *' (aka 'int *') [-Wincompatible-pointer-types]
                if ((type = is_numeric_string(s, len, &p, &d, 0)) != 0) {
                                                      ^~
/usr/local/include/php/Zend/zend_operators.h:148:99: note: passing argument to parameter 'lval' here
static zend_always_inline zend_uchar is_numeric_string(const char *str, size_t length, zend_long *lval, double *dval, bool allow_errors) {
                                                                                                  ^
/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=]
7 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



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