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

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Sat Dec 19 05:06:23 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://beefy17.nyi.freebsd.org/data/head-i386-default/p558421_s368710/logs/php80-pecl-amqp-1.9.4.log
Build URL:      http://beefy17.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p558421_s368710
Log:

=>> Building net/pecl-amqp
build started at Sat Dec 19 05:06:05 UTC 2020
port directory: /usr/ports/net/pecl-amqp
package name: php80-pecl-amqp-1.9.4
building for: FreeBSD head-i386-default-job-03 13.0-CURRENT FreeBSD 13.0-CURRENT 1300132 i386
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: 1300132
Job Id: 03




!!! 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
UNAME_p=i386
UNAME_m=i386
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-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--
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
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 at 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 at 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 at 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=1300132
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-amqp-1.9.4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.15.10.txz
[head-i386-default-job-03] Installing pkg-1.15.10...
[head-i386-default-job-03] 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_1.txz
[head-i386-default-job-03] Installing php80-8.0.0_1...
[head-i386-default-job-03] `-- Installing libargon2-20190702...
[head-i386-default-job-03] `-- Extracting libargon2-20190702: .......... done
<snip>
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);
                                  ^
/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 ---
In file included from /wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:26:
./amqp_type.h:41:72: error: expected ')'
amqp_table_t *php_amqp_type_convert_zval_to_amqp_table(zval *php_array TSRMLS_DC);
                                                                       ^
./amqp_type.h:41:55: note: to match this '('
amqp_table_t *php_amqp_type_convert_zval_to_amqp_table(zval *php_array TSRMLS_DC);
                                                      ^
./amqp_type.h:45:120: error: expected ')'
--- amqp.lo ---
20 errors generated.
--- amqp_type.lo ---
zend_bool php_amqp_type_internal_convert_php_to_amqp_field_value(zval *value, amqp_field_value_t **fieldPtr, char *key TSRMLS_DC);
                                                                                                                       ^
./amqp_type.h:45:65: note: to match this '('
zend_bool php_amqp_type_internal_convert_php_to_amqp_field_value(zval *value, amqp_field_value_t **fieldPtr, char *key TSRMLS_DC);
                                                                ^
./amqp_type.h:46:118: error: expected ')'
void php_amqp_type_internal_convert_zval_array(zval *php_array, amqp_field_value_t **field, zend_bool allow_int_keys TSRMLS_DC);
                                                                                                                     ^
./amqp_type.h:46:47: note: to match this '('
void php_amqp_type_internal_convert_zval_array(zval *php_array, amqp_field_value_t **field, zend_bool allow_int_keys TSRMLS_DC);
                                              ^
./amqp_type.h:47: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);
                                                                                                                           ^
./amqp_type.h:47: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);
                                                      ^
./amqp_type.h:48:98: error: expected ')'
void php_amqp_type_internal_convert_zval_to_amqp_array(zval *php_array, amqp_array_t *amqp_array TSRMLS_DC);
                                                                                                 ^
./amqp_type.h:48:55: note: to match this '('
void php_amqp_type_internal_convert_zval_to_amqp_array(zval *php_array, amqp_array_t *amqp_array TSRMLS_DC);
                                                      ^
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:74:118: error: expected ')'
void php_amqp_type_internal_convert_zval_array(zval *php_array, amqp_field_value_t **field, zend_bool allow_int_keys TSRMLS_DC)
                                                                                                                     ^
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:74:47: note: to match this '('
void php_amqp_type_internal_convert_zval_array(zval *php_array, amqp_field_value_t **field, zend_bool allow_int_keys TSRMLS_DC)
                                              ^
/wrkdirs/usr/ports/net/pecl-amqp/work-php80/amqp-1.9.4/amqp_type.c:87:7: error: expected ';' after expression
        ulong index;
             ^
             ;
/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;
        ^
/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; \
        ~~ ^
/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)
                                                      ^
--- 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: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)
                                                      ^
/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