[package - head-amd64-default][net/pecl-amqp] Failed for php80-pecl-amqp-1.9.4 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Tue Nov 24 10:08:35 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:     jnlin at freebsd.cs.nctu.edu.tw
Last committer: antoine at FreeBSD.org
Ident:          $FreeBSD: head/net/pecl-amqp/Makefile 512557 2019-09-22 07:14:00Z antoine $
Log URL:        http://beefy18.nyi.freebsd.org/data/head-amd64-default/p556140_s367963/logs/php80-pecl-amqp-1.9.4.log
Build URL:      http://beefy18.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p556140_s367963
Log:

=>> Building net/pecl-amqp
build started at Tue Nov 24 10:08:18 UTC 2020
port directory: /usr/ports/net/pecl-amqp
package name: php80-pecl-amqp-1.9.4
building for: FreeBSD head-amd64-default-job-06 13.0-CURRENT FreeBSD 13.0-CURRENT 1300130 amd64
maintained by: jnlin at freebsd.cs.nctu.edu.tw
Makefile ident:      $FreeBSD: head/net/pecl-amqp/Makefile 512557 2019-09-22 07:14:00Z antoine $
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1300121
Jail OSVERSION: 1300130
Job Id: 06




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



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300130
UNAME_v=FreeBSD 13.0-CURRENT 1300130
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--
jnlin at freebsd.cs.nctu.edu.tw
--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/net/pecl-amqp/work-php80  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/pecl-amqp/work-php80  HOME=/wrkdirs/usr/ports/net/pecl-amqp/work-php80 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/pecl-amqp/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/net/pecl-amqp/work-php80  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/pecl-amqp/work-php80  HOME=/wrkdirs/usr/ports/net/pecl-amqp/work-php80 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/pecl-amqp/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/amqp"  EXAMPLESDIR="share/examples/amqp"  DATADIR="share/amqp"  WWWDIR="www/amqp"  ETCDIR="etc/amqp"
--End PLIST_SUB--

--SUB_LIST--
PHP_EXT_DIR=20200930 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/amqp DOCSDIR=/usr/local/share/doc/amqp EXAMPLESDIR=/usr/local/share/examples/amqp  WWWDIR=/usr/local/www/amqp ETCDIR=/usr/local/etc/amqp
--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=1300130
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-amqp-1.9.4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.15.10.txz
[head-amd64-default-job-06] Installing pkg-1.15.10...
[head-amd64-default-job-06] Extracting pkg-1.15.10: .......... done
===>   php80-pecl-amqp-1.9.4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of php80-pecl-amqp-1.9.4
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License PHP301 accepted by the user
===> Fetching all distfiles required by php80-pecl-amqp-1.9.4 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License PHP301 accepted by the user
===> Fetching all distfiles required by php80-pecl-amqp-1.9.4 for building
=> SHA256 Checksum OK for PECL/amqp-1.9.4.tgz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License PHP301 accepted by the user
===> Fetching all distfiles required by php80-pecl-amqp-1.9.4 for building
===>  Extracting for php80-pecl-amqp-1.9.4
=> SHA256 Checksum OK for PECL/amqp-1.9.4.tgz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for php80-pecl-amqp-1.9.4
===========================================================================
=======================<phase: build-depends  >============================
===>   php80-pecl-amqp-1.9.4 depends on file: /usr/local/bin/phpize - not found
===>   Installing existing package /packages/All/php80-8.0.0.r5.txz
[head-amd64-default-job-06] Installing php80-8.0.0.r5...
[head-amd64-default-job-06] `-- Installing libargon2-20190702...
[head-amd64-default-job-06] `-- Extracting libargon2-20190702: .......... done
[head-amd64-default-job-06] `-- Installing libxml2-2.9.10_1...
[head-amd64-default-job-06] `-- Extracting libxml2-2.9.10_1: .......... done
[head-amd64-default-job-06] `-- Installing pcre2-10.35...
[head-amd64-default-job-06] `-- Extracting pcre2-10.35: .......... done
<snip>
./amqp_connection_resource.h:65:98: error: expected ')'
int php_amqp_set_resource_write_timeout(amqp_connection_resource *resource, double write_timeout TSRMLS_DC);
                                                                                                 ^
./amqp_connection_resource.h:65:40: note: to match this '('
int php_amqp_set_resource_write_timeout(amqp_connection_resource *resource, double write_timeout TSRMLS_DC);
                                       ^
./amqp_connection_resource.h:73:112: error: expected ')'
amqp_connection_resource *connection_resource_constructor(amqp_connection_params *params, zend_bool persistent TSRMLS_DC);
                                                                                                               ^
./amqp_connection_resource.h:73:58: note: to match this '('
amqp_connection_resource *connection_resource_constructor(amqp_connection_params *params, zend_bool persistent TSRMLS_DC);
                                                         ^
In file included from /wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp.c:43:
./php_amqp.h:374:147: error: expected ')'
int php_amqp_error(amqp_rpc_reply_t reply, char **message, amqp_connection_resource *connection_resource, amqp_channel_resource *channel_resource TSRMLS_DC);
                                                                                                                                                  ^
./php_amqp.h:374:19: note: to match this '('
int php_amqp_error(amqp_rpc_reply_t reply, char **message, amqp_connection_resource *connection_resource, amqp_channel_resource *channel_resource TSRMLS_DC);
                  ^
./php_amqp.h:375:176: error: expected ')'
int php_amqp_error_advanced(amqp_rpc_reply_t reply, char **message, amqp_connection_resource *connection_resource, amqp_channel_resource *channel_resource, int fail_on_errors TSRMLS_DC);
                                                                                                                                                                               ^
./php_amqp.h:375:28: note: to match this '('
int php_amqp_error_advanced(amqp_rpc_reply_t reply, char **message, amqp_connection_resource *connection_resource, amqp_channel_resource *channel_resource, int fail_on_errors TSRMLS_DC);
                           ^
./php_amqp.h:380:144: error: expected ')'
void php_amqp_zend_throw_exception(amqp_rpc_reply_t reply, zend_class_entry *exception_ce, const char *message, PHP5to7_param_long_type_t code TSRMLS_DC);
                                                                                                                                               ^
./php_amqp.h:380:35: note: to match this '('
void php_amqp_zend_throw_exception(amqp_rpc_reply_t reply, zend_class_entry *exception_ce, const char *message, PHP5to7_param_long_type_t code TSRMLS_DC);
                                  ^
./php_amqp.h:381:97: error: expected ')'
void php_amqp_zend_throw_exception_short(amqp_rpc_reply_t reply, zend_class_entry *exception_ce TSRMLS_DC);
                                                                                                ^
./php_amqp.h:381:41: note: to match this '('
void php_amqp_zend_throw_exception_short(amqp_rpc_reply_t reply, zend_class_entry *exception_ce TSRMLS_DC);
                                        ^
In file included from /wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp.c:44:
./amqp_connection.h:28:67: error: expected ')'
void php_amqp_disconnect_force(amqp_connection_resource *resource TSRMLS_DC);
                                                                  ^
./amqp_connection.h:28:31: note: to match this '('
void php_amqp_disconnect_force(amqp_connection_resource *resource TSRMLS_DC);
                              ^
In file included from /wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp.c:45:
./amqp_basic_properties.h:29:57: error: expected ')'
void parse_amqp_table(amqp_table_t *table, zval *result TSRMLS_DC);
                                                        ^
./amqp_basic_properties.h:29:22: note: to match this '('
void parse_amqp_table(amqp_table_t *table, zval *result TSRMLS_DC);
                     ^
./amqp_basic_properties.h:30:78: error: expected ')'
void php_amqp_basic_properties_extract(amqp_basic_properties_t *p, zval *obj TSRMLS_DC);
                                                                             ^
./amqp_basic_properties.h:30:39: note: to match this '('
void php_amqp_basic_properties_extract(amqp_basic_properties_t *p, zval *obj TSRMLS_DC);
                                      ^
./amqp_basic_properties.h:33:90: error: expected ')'
void php_amqp_basic_properties_convert_to_zval(amqp_basic_properties_t *props, zval *obj TSRMLS_DC);
                                                                                         ^
./amqp_basic_properties.h:33:47: note: to match this '('
void php_amqp_basic_properties_convert_to_zval(amqp_basic_properties_t *props, zval *obj TSRMLS_DC);
                                              ^
./amqp_basic_properties.h:34:60: error: expected ')'
void php_amqp_basic_properties_set_empty_headers(zval *obj TSRMLS_DC);
                                                           ^
./amqp_basic_properties.h:34:49: note: to match this '('
void php_amqp_basic_properties_set_empty_headers(zval *obj TSRMLS_DC);
                                                ^
In file included from /wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp.c:47:
./amqp_channel.h:25:93: error: expected ')'
void php_amqp_close_channel(amqp_channel_resource *channel_resource, zend_bool check_errors TSRMLS_DC);
                                                                                            ^
./amqp_channel.h:25:28: note: to match this '('
void php_amqp_close_channel(amqp_channel_resource *channel_resource, zend_bool check_errors TSRMLS_DC);
                           ^
In file included from /wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp.c:48:
./amqp_envelope.h:25:83: error: expected ')'
void convert_amqp_envelope_to_zval(amqp_envelope_t *amqp_envelope, zval *envelope TSRMLS_DC);
                                                                                  ^
./amqp_envelope.h:25:35: note: to match this '('
void convert_amqp_envelope_to_zval(amqp_envelope_t *amqp_envelope, zval *envelope TSRMLS_DC);
                                  ^
--- amqp_type.lo ---
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:87:2: error: use of undeclared identifier 'ulong'
        ulong index;
        ^
--- amqp.lo ---
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp.c:128:103: error: use of undeclared identifier 'TSRMLS_C'
        amqp_exception_class_entry = PHP5to7_zend_register_internal_class_ex(&ce, zend_exception_get_default(TSRMLS_C));
                                                                                                             ^
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp.c:131:42: error: expected ')'
        amqp_connection_exception_class_entry = PHP5to7_zend_register_internal_class_ex(&ce, amqp_exception_class_entry);
                                                ^
./php7_support.h:63:114: note: expanded from macro 'PHP5to7_zend_register_internal_class_ex'
#define PHP5to7_zend_register_internal_class_ex(ce, parent_ce) zend_register_internal_class_ex((ce), (parent_ce) TSRMLS_CC)
                                                                                                                 ^
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp.c:131:42: note: to match this '('
./php7_support.h:63:95: note: expanded from macro 'PHP5to7_zend_register_internal_class_ex'
#define PHP5to7_zend_register_internal_class_ex(ce, parent_ce) zend_register_internal_class_ex((ce), (parent_ce) TSRMLS_CC)
                                                                                              ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
--- amqp_type.lo ---
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:87:8: warning: expression result unused [-Wunused-value]
        ulong index;
              ^~~~~
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:92:2: error: non-object type 'char *(const char *, int)' is not assignable
        PHP5to7_ZEND_HASH_FOREACH_KEY_VAL(ht, index, real_key, key, key_len, data, value, pos) {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./php7_support.h:78:3: note: expanded from macro 'PHP5to7_ZEND_HASH_FOREACH_KEY_VAL'
  ZEND_HASH_FOREACH_KEY_VAL((ht), (num_key), (real_key), (val))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_hash.h:1072:5: note: expanded from macro 'ZEND_HASH_FOREACH_KEY_VAL'
        _h = _p->h; \
        ~~ ^
--- amqp.lo ---
20 errors generated.
--- amqp_type.lo ---
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:102:87: error: expected ')'
                php_amqp_type_internal_convert_zval_to_amqp_array(php_array, &(*field)->value.array TSRMLS_CC);
                                                                                                    ^
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:102:52: note: to match this '('
                php_amqp_type_internal_convert_zval_to_amqp_array(php_array, &(*field)->value.array TSRMLS_CC);
                                                                 ^
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:105:103: error: expected ')'
                php_amqp_type_internal_convert_zval_to_amqp_table(php_array, &(*field)->value.table, allow_int_keys TSRMLS_CC);
                                                                                                                    ^
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:105:52: note: to match this '('
                php_amqp_type_internal_convert_zval_to_amqp_table(php_array, &(*field)->value.table, allow_int_keys TSRMLS_CC);
                                                                 ^
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:109:124: error: expected ')'
void php_amqp_type_internal_convert_zval_to_amqp_table(zval *php_array, amqp_table_t *amqp_table, zend_bool allow_int_keys TSRMLS_DC)
                                                                                                                           ^
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:109:55: note: to match this '('
void php_amqp_type_internal_convert_zval_to_amqp_table(zval *php_array, amqp_table_t *amqp_table, zend_bool allow_int_keys TSRMLS_DC)
                                                      ^
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:122:7: error: expected ';' after expression
        ulong index;
             ^
             ;
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:122:2: error: use of undeclared identifier 'ulong'
        ulong index;
        ^
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:122:8: warning: expression result unused [-Wunused-value]
        ulong index;
              ^~~~~
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:130:2: error: non-object type 'char *(const char *, int)' is not assignable
        PHP5to7_ZEND_HASH_FOREACH_KEY_VAL(ht, index, real_key, key, key_len, data, value, pos) {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./php7_support.h:78:3: note: expanded from macro 'PHP5to7_ZEND_HASH_FOREACH_KEY_VAL'
  ZEND_HASH_FOREACH_KEY_VAL((ht), (num_key), (real_key), (val))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_hash.h:1072:5: note: expanded from macro 'ZEND_HASH_FOREACH_KEY_VAL'
        _h = _p->h; \
        ~~ ^
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:143:35: warning: format specifies type 'unsigned long' but the argument has type 'char *(*)(const char *, int)' [-Wformat]
                                key_len = sprintf(str, "%lu", index);
                                                        ~~~   ^~~~~
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:147:27: error: expected ')'
                                php_error_docref(NULL TSRMLS_CC, E_WARNING, "Ignoring non-string header field '%lu'", index);
                                                      ^
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:147:21: note: to match this '('
                                php_error_docref(NULL TSRMLS_CC, E_WARNING, "Ignoring non-string header field '%lu'", index);
                                                ^
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:159:82: error: expected ')'
                if (!php_amqp_type_internal_convert_php_to_amqp_field_value(value, &field, key TSRMLS_CC)) {
                                                                                               ^
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:159:62: note: to match this '('
                if (!php_amqp_type_internal_convert_php_to_amqp_field_value(value, &field, key TSRMLS_CC)) {
                                                                           ^
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:172:101: error: expected ')'
void php_amqp_type_internal_convert_zval_to_amqp_array(zval *zvalArguments, amqp_array_t *arguments TSRMLS_DC)
                                                                                                    ^
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:172:55: note: to match this '('
void php_amqp_type_internal_convert_zval_to_amqp_array(zval *zvalArguments, amqp_array_t *arguments TSRMLS_DC)
                                                      ^
--- amqp.lo ---
*** [amqp.lo] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4
--- amqp_type.lo ---
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:185:7: error: expected ';' after expression
        ulong index;
             ^
             ;
fatal error: too many errors emitted, stopping now [-ferror-limit=]
3 warnings and 20 errors generated.
*** [amqp_type.lo] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4
2 errors

make[1]: stopped in /wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4
===> 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/net/pecl-amqp


More information about the freebsd-pkg-fallout mailing list