[package - main-arm64-default][devel/pecl-sync] Failed for php85-pecl-sync-1.1.2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 29 Jul 2025 06:39:41 UTC
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
Log URL:        https://pkg-status.freebsd.org/ampere2/data/main-arm64-default/p853f568b31ec_s4be9c6f38e7/logs/php85-pecl-sync-1.1.2.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=p853f568b31ec_s4be9c6f38e7
Log:

=>> Building devel/pecl-sync
build started at Tue Jul 29 06:33:45 UTC 2025
port directory: /usr/ports/devel/pecl-sync
package name: php85-pecl-sync-1.1.2
building for: FreeBSD main-arm64-default-job-03 15.0-CURRENT FreeBSD 15.0-CURRENT 1500052 arm64
maintained by: gasol.wu@gmail.com
Makefile datestamp: -rw-r--r--  1 root wheel 269 Sep 10  2022 /usr/ports/devel/pecl-sync/Makefile
Ports top last git commit: 853f568b31e
Ports top unclean checkout: no
Port dir last git commit: fb16dfecae4
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2-12-g74a54a88
Host OSVERSION: 1500035
Jail OSVERSION: 1500052
Job Id: 03




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500052
UNAME_v=FreeBSD 15.0-CURRENT 1500052
UNAME_r=15.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
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2-12-g74a54a88
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-arm64-default/03/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2-12-g74a54a88
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=php85
MAKE_ARGS= FLAVOR=php85
---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-sync/work-php85  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/pecl-sync/work-php85  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/pecl-sync/work-php85/.cache  HOME=/wrkdirs/usr/ports/devel/pecl-sync/work-php85 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/pecl-sync/work-php85/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/pecl-sync/work-php85/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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-sync/work-php85  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/pecl-sync/work-php85  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/pecl-sync/work-php85/.cache  HOME=/wrkdirs/usr/ports/devel/pecl-sync/work-php85 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/pecl-sync/work-php85/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/pecl-sync/work-php85/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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=" " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing   " 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=20240925 OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/sync"  EXAMPLESDIR="share/examples/sync"  DATADIR="share/sync"  WWWDIR="www/sync"  ETCDIR="etc/sync"
--End PLIST_SUB--

--SUB_LIST--
PHP_EXT_DIR=20240925 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/sync DOCSDIR=/usr/local/share/doc/sync EXAMPLESDIR=/usr/local/share/examples/sync  WWWDIR=/usr/local/www/sync ETCDIR=/usr/local/etc/sync
--End SUB_LIST--

---Begin 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 3 jobs
MAKE_JOBS_NUMBER=3
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# 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 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
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)  1048576
stack size              (kbytes, -s)  1048576
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)  8192
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
pipebuf                         (-y)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   php85-pecl-sync-1.1.2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.2.1.pkg
[main-arm64-default-job-03] Installing pkg-2.2.1...
[main-arm64-default-job-03] Extracting pkg-2.2.1: .......... done
===>   php85-pecl-sync-1.1.2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of php85-pecl-sync-1.1.2
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
===> Fetching all distfiles required by php85-pecl-sync-1.1.2 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
===> Fetching all distfiles required by php85-pecl-sync-1.1.2 for building
=> SHA256 Checksum OK for PECL/sync-1.1.2.tgz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
===> Fetching all distfiles required by php85-pecl-sync-1.1.2 for building
===>  Extracting for php85-pecl-sync-1.1.2
=> SHA256 Checksum OK for PECL/sync-1.1.2.tgz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for php85-pecl-sync-1.1.2
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   php85-pecl-sync-1.1.2 depends on file: /usr/local/bin/phpize - not found
===>   Installing existing package /packages/All/php85-8.5.0.a2.pkg
[main-arm64-default-job-03] Installing php85-8.5.0.a2...
[main-arm64-default-job-03] `-- Installing libargon2-20190702_1...
[main-arm64-default-job-03] `-- Extracting libargon2-20190702_1: .......... done
[main-arm64-default-job-03] `-- Installing libxml2-2.14.5...
[main-arm64-default-job-03] |   `-- Installing readline-8.2.13_2...
[main-arm64-default-job-03] |   | `-- Installing indexinfo-0.3.1_1...
[main-arm64-default-job-03] |   | `-- Extracting indexinfo-0.3.1_1: .... done
<snip>
[main-arm64-default-job-03] |   `-- Extracting gettext-runtime-0.23.1: .......... done
[main-arm64-default-job-03] `-- Extracting m4-1.4.19_1,1: .......... done
[main-arm64-default-job-03] `-- Installing perl5-5.40.2_2...
[main-arm64-default-job-03] `-- Extracting perl5-5.40.2_2: .......... done
[main-arm64-default-job-03] Extracting autoconf-2.72: .......... done
===>   php85-pecl-sync-1.1.2 depends on package: autoconf>0 - found
===>   Returning to build of php85-pecl-sync-1.1.2
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  PHPizing for php85-pecl-sync-1.1.2
===>  Configuring for php85-pecl-sync-1.1.2
Configuring for:
PHP Version:             8.5
PHP Api Version:         20240925
Zend Module Api No:      20240925
Zend Extension Api No:   420240925
config.m4:14: warning: The macro 'AC_TRY_LINK' is obsolete.
config.m4:14: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
config.m4:14: the top level
configure: loading site script /usr/ports/Templates/config.site
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking build system type... aarch64-portbld-freebsd15.0
checking host system type... aarch64-portbld-freebsd15.0
checking target system type... aarch64-portbld-freebsd15.0
shtool:echo:Warning: unable to determine terminal sequence for bold mode
shtool:echo:Warning: unable to determine terminal sequence for bold mode
checking for gawk... (cached) /usr/bin/awk
checking if /usr/bin/awk is broken... no
checking for pkg-config... no
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking how to run the C preprocessor... cpp
checking for egrep -e... (cached) /usr/bin/egrep
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -Wl,-rpath,... yes
checking for PHP prefix... /usr/local
checking for PHP includes... -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
checking for PHP extension directory... /usr/local/lib/php/20240925
checking for PHP installed headers prefix... /usr/local/include/php
checking if debugging is enabled... no
checking if PHP is built with thread safety (ZTS)... no

Configuring extension
checking whether to enable synchronization object support (--enable-sync)... yes, shared
checking for shm_open in -pthread -lrt... yes

Configuring libtool
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
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 -B 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... freebsd15.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
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... freebsd15.0 ld.so
(cached) (cached) checking how to hardcode library paths into programs... unsupported

Generating files
configure: creating build directories
configure: creating Makefile
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for php85-pecl-sync-1.1.2
--- sync.lo ---
/bin/sh /wrkdirs/usr/ports/devel/pecl-sync/work-php85/sync-1.1.2/libtool --tag=CC --mode=compile cc -I. -I/wrkdirs/usr/ports/devel/pecl-sync/work-php85/sync-1.1.2 -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 -D_GNU_SOURCE    -DZEND_COMPILE_DL_EXT=1 -c /wrkdirs/usr/ports/devel/pecl-sync/work-php85/sync-1.1.2/sync.c -o sync.lo  -MMD -MF sync.dep -MT sync.lo
mkdir .libs
 cc -I. -I/wrkdirs/usr/ports/devel/pecl-sync/work-php85/sync-1.1.2 -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 -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /wrkdirs/usr/ports/devel/pecl-sync/work-php85/sync-1.1.2/sync.c -MMD -MF sync.dep -MT sync.lo  -fPIC -DPIC -o .libs/sync.o
/wrkdirs/usr/ports/devel/pecl-sync/work-php85/sync-1.1.2/sync.c:915:24: warning: call to undeclared function 'zend_exception_get_default'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  915 |                 zend_throw_exception(zend_exception_get_default(TSRMLS_C), "Mutex could not be created", 0 TSRMLS_CC);
      |                                      ^
/wrkdirs/usr/ports/devel/pecl-sync/work-php85/sync-1.1.2/sync.c:915:24: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'zend_class_entry *' (aka 'struct _zend_class_entry *') [-Wint-conversion]
  915 |                 zend_throw_exception(zend_exception_get_default(TSRMLS_C), "Mutex could not be created", 0 TSRMLS_CC);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_exceptions.h:57:72: note: passing argument to parameter 'exception_ce' here
   57 | ZEND_API ZEND_COLD zend_object *zend_throw_exception(zend_class_entry *exception_ce, const char *message, zend_long code);
      |                                                                        ^
/wrkdirs/usr/ports/devel/pecl-sync/work-php85/sync-1.1.2/sync.c:977:24: warning: call to undeclared function 'zend_exception_get_default'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  977 |                 zend_throw_exception(zend_exception_get_default(TSRMLS_C), "Unable to acquire mutex critical section", 0 TSRMLS_CC);
      |                                      ^
/wrkdirs/usr/ports/devel/pecl-sync/work-php85/sync-1.1.2/sync.c:977:24: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'zend_class_entry *' (aka 'struct _zend_class_entry *') [-Wint-conversion]
  977 |                 zend_throw_exception(zend_exception_get_default(TSRMLS_C), "Unable to acquire mutex critical section", 0 TSRMLS_CC);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_exceptions.h:57:72: note: passing argument to parameter 'exception_ce' here
   57 | ZEND_API ZEND_COLD zend_object *zend_throw_exception(zend_class_entry *exception_ce, const char *message, zend_long code);
      |                                                                        ^
/wrkdirs/usr/ports/devel/pecl-sync/work-php85/sync-1.1.2/sync.c:1158:24: warning: call to undeclared function 'zend_exception_get_default'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 1158 |                 zend_throw_exception(zend_exception_get_default(TSRMLS_C), "Semaphore could not be created", 0 TSRMLS_CC);
      |                                      ^
/wrkdirs/usr/ports/devel/pecl-sync/work-php85/sync-1.1.2/sync.c:1158:24: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'zend_class_entry *' (aka 'struct _zend_class_entry *') [-Wint-conversion]
 1158 |                 zend_throw_exception(zend_exception_get_default(TSRMLS_C), "Semaphore could not be created", 0 TSRMLS_CC);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_exceptions.h:57:72: note: passing argument to parameter 'exception_ce' here
   57 | ZEND_API ZEND_COLD zend_object *zend_throw_exception(zend_class_entry *exception_ce, const char *message, zend_long code);
      |                                                                        ^
/wrkdirs/usr/ports/devel/pecl-sync/work-php85/sync-1.1.2/sync.c:1372:24: warning: call to undeclared function 'zend_exception_get_default'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 1372 |                 zend_throw_exception(zend_exception_get_default(TSRMLS_C), "Event object could not be created", 0 TSRMLS_CC);
      |                                      ^
/wrkdirs/usr/ports/devel/pecl-sync/work-php85/sync-1.1.2/sync.c:1372:24: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'zend_class_entry *' (aka 'struct _zend_class_entry *') [-Wint-conversion]
 1372 |                 zend_throw_exception(zend_exception_get_default(TSRMLS_C), "Event object could not be created", 0 TSRMLS_CC);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_exceptions.h:57:72: note: passing argument to parameter 'exception_ce' here
   57 | ZEND_API ZEND_COLD zend_object *zend_throw_exception(zend_class_entry *exception_ce, const char *message, zend_long code);
      |                                                                        ^
/wrkdirs/usr/ports/devel/pecl-sync/work-php85/sync-1.1.2/sync.c:1722:24: warning: call to undeclared function 'zend_exception_get_default'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 1722 |                 zend_throw_exception(zend_exception_get_default(TSRMLS_C), "Reader-Writer object could not be created", 0 TSRMLS_CC);
      |                                      ^
/wrkdirs/usr/ports/devel/pecl-sync/work-php85/sync-1.1.2/sync.c:1722:24: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'zend_class_entry *' (aka 'struct _zend_class_entry *') [-Wint-conversion]
 1722 |                 zend_throw_exception(zend_exception_get_default(TSRMLS_C), "Reader-Writer object could not be created", 0 TSRMLS_CC);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_exceptions.h:57:72: note: passing argument to parameter 'exception_ce' here
   57 | ZEND_API ZEND_COLD zend_object *zend_throw_exception(zend_class_entry *exception_ce, const char *message, zend_long code);
      |                                                                        ^
/wrkdirs/usr/ports/devel/pecl-sync/work-php85/sync-1.1.2/sync.c:2056:24: warning: call to undeclared function 'zend_exception_get_default'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 2056 |                 zend_throw_exception(zend_exception_get_default(TSRMLS_C), "An invalid name was passed", 0 TSRMLS_CC);
      |                                      ^
/wrkdirs/usr/ports/devel/pecl-sync/work-php85/sync-1.1.2/sync.c:2056:24: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'zend_class_entry *' (aka 'struct _zend_class_entry *') [-Wint-conversion]
 2056 |                 zend_throw_exception(zend_exception_get_default(TSRMLS_C), "An invalid name was passed", 0 TSRMLS_CC);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_exceptions.h:57:72: note: passing argument to parameter 'exception_ce' here
   57 | ZEND_API ZEND_COLD zend_object *zend_throw_exception(zend_class_entry *exception_ce, const char *message, zend_long code);
      |                                                                        ^
/wrkdirs/usr/ports/devel/pecl-sync/work-php85/sync-1.1.2/sync.c:2110:24: warning: call to undeclared function 'zend_exception_get_default'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 2110 |                 zend_throw_exception(zend_exception_get_default(TSRMLS_C), "Shared memory object could not be created/opened", 0 TSRMLS_CC);
      |                                      ^
/wrkdirs/usr/ports/devel/pecl-sync/work-php85/sync-1.1.2/sync.c:2110:24: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'zend_class_entry *' (aka 'struct _zend_class_entry *') [-Wint-conversion]
 2110 |                 zend_throw_exception(zend_exception_get_default(TSRMLS_C), "Shared memory object could not be created/opened", 0 TSRMLS_CC);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_exceptions.h:57:72: note: passing argument to parameter 'exception_ce' here
   57 | ZEND_API ZEND_COLD zend_object *zend_throw_exception(zend_class_entry *exception_ce, const char *message, zend_long code);
      |                                                                        ^
7 warnings and 7 errors generated.
*** [sync.lo] Error code 1

make: stopped making "all" in /wrkdirs/usr/ports/devel/pecl-sync/work-php85/sync-1.1.2
make: 1 error

make: stopped making "all" in /wrkdirs/usr/ports/devel/pecl-sync/work-php85/sync-1.1.2
===> 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 making "build" in /usr/ports/devel/pecl-sync