[package - 114i386-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 5 11:19: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://beefy10.nyi.freebsd.org/data/114i386-default/556876/logs/php80-pecl-jsond-1.4.0.log
Build URL:      http://beefy10.nyi.freebsd.org/build.html?mastername=114i386-default&build=556876
Log:

=>> Building devel/pecl-jsond
build started at Sat Dec  5 11:18:54 UTC 2020
port directory: /usr/ports/devel/pecl-jsond
package name: php80-pecl-jsond-1.4.0
building for: FreeBSD 114i386-default-job-03 11.4-RELEASE-p5 FreeBSD 11.4-RELEASE-p5 i386
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: 1104001
Job Id: 03

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1104001
UNAME_v=FreeBSD 11.4-RELEASE-p5
UNAME_r=11.4-RELEASE-p5
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-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/114i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/114i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=114i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/114i386-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=11.4 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 10.0.0 (git at github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b) Target: i386-unknown-freebsd11.4 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.0 (git at github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b) Target: i386-unknown-freebsd11.4 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 10.0.0 (git at github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b) Target: i386-unknown-freebsd11.4 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=11.4-RELEASE-p5
OSREL=11.4
OSVERSION=1104001
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License 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
[114i386-default-job-03] Installing pkg-1.15.10...
[114i386-default-job-03] 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.r5_1.txz
[114i386-default-job-03] Installing php80-8.0.0.r5_1...
[114i386-default-job-03] `-- Installing libargon2-20190702...
[114i386-default-job-03] `-- Extracting libargon2-20190702: .......... done
[114i386-default-job-03] `-- Installing libxml2-2.9.10_2...
[114i386-default-job-03] `-- Extracting libxml2-2.9.10_2: .......... done
[114i386-default-job-03] `-- Installing pcre2-10.35...
[114i386-default-job-03] `-- Extracting pcre2-10.35: .......... done
[114i386-default-job-03] Extracting php80-8.0.0.r5_1: .......... done
===>   php80-pecl-jsond-1.4.0 depends on file: /usr/local/bin/phpize - found
===>   Returning to build of php80-pecl-jsond-1.4.0
===>   php80-pecl-jsond-1.4.0 depends on package: autoconf>0 - not found
===>   Installing existing package /packages/All/autoconf-2.69_3.txz
[114i386-default-job-03] Installing autoconf-2.69_3...
[114i386-default-job-03] `-- Installing autoconf-wrapper-20131203...
<snip>
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking the maximum length of command line arguments... (cached) 524288
checking command to parse /usr/bin/nm output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd11.4 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... 
checking if c++ static flag  works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd11.4 ld.so
(cached) (cached) checking how to hardcode library paths into programs... unsupported
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
===========================================================================
=======================<phase: build          >============================
===>  Building for php80-pecl-jsond-1.4.0
/bin/sh /wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/libtool --mode=compile 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.c -o jsond.lo
mkdir .libs
 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.c  -fPIC -DPIC -o .libs/jsond.o
In file included from /wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond.c:30:
./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.c:30:
./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.c:30:
./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.c:31:
./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);
                         ^
In file included from /wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond.c:33:
./php_jsond_parser.h:38:30: error: expected ')'
                int options, int max_depth TSRMLS_DC);
                                           ^
./php_jsond_parser.h:35:26: note: to match this '('
void php_json_parser_init(
                         ^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond.c:42:8: error: function cannot return function type 'void (zend_execute_data *, zval *)' (aka 'void (struct _zend_execute_data *, struct _zval_struct *)')
static PHP_JSOND_FUNCTION(encode);
       ^
./php_jsond.h:68:63: note: expanded from macro 'PHP_JSOND_FUNCTION'
#define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname))
                                                              ^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond.c:42:27: error: a parameter list without types is only allowed in a function definition
static PHP_JSOND_FUNCTION(encode);
                          ^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond.c:42:8: error: function with no prototype cannot use the fastcall calling convention
static PHP_JSOND_FUNCTION(encode);
       ^
./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>:46:1: note: expanded from here
zif_PHP_JSOND_IDENT
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond.c:43:8: error: function cannot return function type 'void (zend_execute_data *, zval *)' (aka 'void (struct _zend_execute_data *, struct _zval_struct *)')
static PHP_JSOND_FUNCTION(decode);
       ^
./php_jsond.h:68:63: note: expanded from macro 'PHP_JSOND_FUNCTION'
#define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname))
                                                              ^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond.c:43:27: error: a parameter list without types is only allowed in a function definition
static PHP_JSOND_FUNCTION(decode);
                          ^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond.c:43:8: error: function with no prototype cannot use the fastcall calling convention
static PHP_JSOND_FUNCTION(decode);
       ^
./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>:47:1: note: expanded from here
zif_PHP_JSOND_IDENT
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond.c:44:8: error: function cannot return function type 'void (zend_execute_data *, zval *)' (aka 'void (struct _zend_execute_data *, struct _zval_struct *)')
static PHP_JSOND_FUNCTION(last_error);
       ^
./php_jsond.h:68:63: note: expanded from macro 'PHP_JSOND_FUNCTION'
#define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname))
                                                              ^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond.c:44:27: error: a parameter list without types is only allowed in a function definition
static PHP_JSOND_FUNCTION(last_error);
                          ^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond.c:44:8: error: function with no prototype cannot use the fastcall calling convention
static PHP_JSOND_FUNCTION(last_error);
       ^
./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>:48:1: note: expanded from here
zif_PHP_JSOND_IDENT
^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond.c:45:8: error: function cannot return function type 'void (zend_execute_data *, zval *)' (aka 'void (struct _zend_execute_data *, struct _zval_struct *)')
static PHP_JSOND_FUNCTION(last_error_msg);
       ^
./php_jsond.h:68:63: note: expanded from macro 'PHP_JSOND_FUNCTION'
#define PHP_JSOND_FUNCTION(jname) PHP_FUNCTION(PHP_JSOND_IDENT(jname))
                                                              ^
/wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0/jsond.c:45:27: error: a parameter list without types is only allowed in a function definition
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.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/devel/pecl-jsond/work-php80/jsond-1.4.0
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/pecl-jsond


More information about the freebsd-pkg-fallout mailing list