[package - 140i386-quarterly][archivers/pecl-rar] Failed for php82-pecl-rar-4.2.0_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 10 Feb 2024 04:35:54 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:     fluffy@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy7/data/140i386-quarterly/2aeca567cadb/logs/php82-pecl-rar-4.2.0_2.log
Build URL:      https://pkg-status.freebsd.org/beefy7/build.html?mastername=140i386-quarterly&build=2aeca567cadb
Log:

=>> Building archivers/pecl-rar
build started at Sat Feb 10 04:35:40 UTC 2024
port directory: /usr/ports/archivers/pecl-rar
package name: php82-pecl-rar-4.2.0_2
building for: FreeBSD 140i386-quarterly-job-02 14.0-RELEASE-p4 FreeBSD 14.0-RELEASE-p4 i386
maintained by: fluffy@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 429 Jan  6 01:02 /usr/ports/archivers/pecl-rar/Makefile
Ports top last git commit: 2aeca567c
Ports top unclean checkout: no
Port dir last git commit: 756e18783
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1
Host OSVERSION: 1500006
Jail OSVERSION: 1400097
Job Id: 02

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1400097
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=14.0-RELEASE-p4
LOCALBASE=/usr/local
UNAME_v=FreeBSD 14.0-RELEASE-p4
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1
MASTERMNT=/usr/local/poudriere/data/.m/140i386-quarterly/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/140i386-quarterly/02/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=140i386-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/140i386-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=php82
MAKE_ARGS= FLAVOR=php82
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
fluffy@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--enable-rar --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/archivers/pecl-rar/work-php82  XDG_CONFIG_HOME=/wrkdirs/usr/ports/archivers/pecl-rar/work-php82  XDG_CACHE_HOME=/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/.cache  HOME=/wrkdirs/usr/ports/archivers/pecl-rar/work-php82 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/.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/archivers/pecl-rar/work-php82  XDG_CONFIG_HOME=/wrkdirs/usr/ports/archivers/pecl-rar/work-php82  XDG_CACHE_HOME=/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/.cache  HOME=/wrkdirs/usr/ports/archivers/pecl-rar/work-php82 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/.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=" -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=20220829 OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/rar"  EXAMPLESDIR="share/examples/rar"  DATADIR="share/rar"  WWWDIR="www/rar"  ETCDIR="etc/rar"
--End PLIST_SUB--

--SUB_LIST--
PHP_EXT_DIR=20220829 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/rar DOCSDIR=/usr/local/share/doc/rar EXAMPLESDIR=/usr/local/share/examples/rar  WWWDIR=/usr/local/www/rar ETCDIR=/usr/local/etc/rar
--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}
####  ####
# 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
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)  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
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License PHP301 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   php82-pecl-rar-4.2.0_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9.pkg
[140i386-quarterly-job-02] Installing pkg-1.20.9...
[140i386-quarterly-job-02] Extracting pkg-1.20.9: .......... done
===>   php82-pecl-rar-4.2.0_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of php82-pecl-rar-4.2.0_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 PHP301 accepted by the user
===> Fetching all distfiles required by php82-pecl-rar-4.2.0_2 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License PHP301 accepted by the user
===> Fetching all distfiles required by php82-pecl-rar-4.2.0_2 for building
=> SHA256 Checksum OK for PECL/rar-4.2.0.tgz.
=> SHA256 Checksum OK for PECL/ab26d285759e4c917879967b09976a44829ed570.diff.
===========================================================================
=======================<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 PHP301 accepted by the user
===> Fetching all distfiles required by php82-pecl-rar-4.2.0_2 for building
===>  Extracting for php82-pecl-rar-4.2.0_2
=> SHA256 Checksum OK for PECL/rar-4.2.0.tgz.
=> SHA256 Checksum OK for PECL/ab26d285759e4c917879967b09976a44829ed570.diff.
===========================================================================
=======================<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 php82-pecl-rar-4.2.0_2
===>  Applying distribution patches for php82-pecl-rar-4.2.0_2
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   php82-pecl-rar-4.2.0_2 depends on file: /usr/local/include/php/main/php.h - not found
===>   Installing existing package /packages/All/php82-8.2.14.pkg
[140i386-quarterly-job-02] Installing php82-8.2.14...
[140i386-quarterly-job-02] `-- Installing libargon2-20190702...
[140i386-quarterly-job-02] `-- Extracting libargon2-20190702: .......... done
[140i386-quarterly-job-02] `-- Installing libxml2-2.10.4_2...
[140i386-quarterly-job-02] |   `-- Installing readline-8.2.7...
[140i386-quarterly-job-02] |   | `-- Installing indexinfo-0.3.1...
[140i386-quarterly-job-02] |   | `-- Extracting indexinfo-0.3.1: .... done
[140i386-quarterly-job-02] |   `-- Extracting readline-8.2.7: .......... done
[140i386-quarterly-job-02] `-- Extracting libxml2-2.10.4_2: .......... done
[140i386-quarterly-job-02] `-- Installing pcre2-10.42...
[140i386-quarterly-job-02] `-- Extracting pcre2-10.42: .......... done
[140i386-quarterly-job-02] Extracting php82-8.2.14: .......... done
===>   php82-pecl-rar-4.2.0_2 depends on file: /usr/local/include/php/main/php.h - found
===>   Returning to build of php82-pecl-rar-4.2.0_2
===>   php82-pecl-rar-4.2.0_2 depends on file: /usr/local/bin/phpize - found
===>   php82-pecl-rar-4.2.0_2 depends on package: autoconf>0 - not found
===>   Installing existing package /packages/All/autoconf-2.71.pkg
[140i386-quarterly-job-02] Installing autoconf-2.71...
[140i386-quarterly-job-02] `-- Installing autoconf-switch-20220527...
[140i386-quarterly-job-02] `-- Extracting autoconf-switch-20220527: .......... done
[140i386-quarterly-job-02] `-- Installing m4-1.4.19,1...
[140i386-quarterly-job-02] |   `-- Installing gettext-runtime-0.22.3...
[140i386-quarterly-job-02] |   `-- Extracting gettext-runtime-0.22.3: .......... done
[140i386-quarterly-job-02] `-- Extracting m4-1.4.19,1: .......... done
[140i386-quarterly-job-02] `-- Installing perl5-5.36.3_1...
[140i386-quarterly-job-02] `-- Extracting perl5-5.36.3_1: .......... done
[140i386-quarterly-job-02] Extracting autoconf-2.71: .......... done
===>   php82-pecl-rar-4.2.0_2 depends on package: autoconf>0 - found
===>   Returning to build of php82-pecl-rar-4.2.0_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 php82-pecl-rar-4.2.0_2
===>  Configuring for php82-pecl-rar-4.2.0_2
Configuring for:
PHP Api Version:         20220829
Zend Module Api No:      20220829
Zend Extension Api No:   420220829
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 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 icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i386-portbld-freebsd14.0
checking host system type... i386-portbld-freebsd14.0
checking target system type... i386-portbld-freebsd14.0
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/20220829
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... (cached) /usr/bin/awk
checking if /usr/bin/awk is broken... no
checking whether to enable rar support... yes, shared
checking whether the compiler supports GNU C++... yes
checking whether c++ accepts -g... yes
checking for c++ option to enable C++11 features... none needed
checking whether the C++ compiler supports -Wparentheses... yes
checking whether the C++ compiler supports -Wswitch... yes
checking whether the C++ compiler supports -Wdangling-else... yes
checking whether the C++ compiler supports -Wunused-function... yes
checking whether the C++ compiler supports -Wunused-variable... yes
checking whether the C++ compiler supports -Wsign-compare... yes
checking whether the C++ compiler supports -Wmisleading-indentation... yes
checking whether the compiler supports GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for c++ option to enable C++11 features... (cached) none needed
checking how to run the C++ preprocessor... c++ -E
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
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 how to run the C++ preprocessor... c++ -E
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... freebsd14.0 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 for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ static flag -static 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... freebsd14.0 ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
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 php82-pecl-rar-4.2.0_2
/bin/sh /wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/libtool --mode=compile cc -I. -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0 -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/include -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/main -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0 -isystem /usr/local/include/php -isystem /usr/local/include/php/main -isystem /usr/local/include/php/TSRM -isystem /usr/local/include/php/Zend -isystem /usr/local/include/php/ext -isystem /usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE   -DRARDLL -DSILENT -Wno-write-strings -Wall -fvisibility=hidden -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/unrar -DZEND_COMPILE_DL_EXT=1 -c /wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/rar.c -o rar.lo  -MMD -MF rar.dep -MT rar.lo
mkdir .libs
 cc -I. -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0 -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/include -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/main -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0 -isystem /usr/local/include/php -isystem /usr/local/include/php/main -isystem /usr/local/include/php/TSRM -isystem /usr/local/include/php/Zend -isystem /usr/local/include/php/ext -isystem /usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DRARDLL -DSILENT -Wno-write-strings -Wall -fvisibility=hidden -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/unrar -DZEND_COMPILE_DL_EXT=1 -c /wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/rar.c -MMD -MF rar.dep -MT rar.lo  -fPIC -DPIC -o .libs/rar.o
/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/rar.c:38:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined]
#define _GNU_SOURCE
        ^
<command line>:2:9: note: previous definition is here
#define _GNU_SOURCE 1
        ^
1 warning generated.
/bin/sh /wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/libtool --mode=compile cc -I. -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0 -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/include -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/main -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0 -isystem /usr/local/include/php -isystem /usr/local/include/php/main -isystem /usr/local/include/php/TSRM -isystem /usr/local/include/php/Zend -isystem /usr/local/include/php/ext -isystem /usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE   -DRARDLL -DSILENT -Wno-write-strings -Wall -fvisibility=hidden -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/unrar -DZEND_COMPILE_DL_EXT=1 -c /wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/rar_error.c -o rar_error.lo  -MMD -MF rar_error.dep -MT rar_error.lo
 cc -I. -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0 -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/include -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/main -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0 -isystem /usr/local/include/php -isystem /usr/local/include/php/main -isystem /usr/local/include/php/TSRM -isystem /usr/local/include/php/Zend -isystem /usr/local/include/php/ext -isystem /usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DRARDLL -DSILENT -Wno-write-strings -Wall -fvisibility=hidden -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/unrar -DZEND_COMPILE_DL_EXT=1 -c /wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/rar_error.c -MMD -MF rar_error.dep -MT rar_error.lo  -fPIC -DPIC -o .libs/rar_error.o
/bin/sh /wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/libtool --mode=compile cc -I. -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0 -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/include -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/main -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0 -isystem /usr/local/include/php -isystem /usr/local/include/php/main -isystem /usr/local/include/php/TSRM -isystem /usr/local/include/php/Zend -isystem /usr/local/include/php/ext -isystem /usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE   -DRARDLL -DSILENT -Wno-write-strings -Wall -fvisibility=hidden -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/unrar -DZEND_COMPILE_DL_EXT=1 -c /wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/rararch.c -o rararch.lo  -MMD -MF rararch.dep -MT rararch.lo
 cc -I. -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0 -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/include -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/main -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0 -isystem /usr/local/include/php -isystem /usr/local/include/php/main -isystem /usr/local/include/php/TSRM -isystem /usr/local/include/php/Zend -isystem /usr/local/include/php/ext -isystem /usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DRARDLL -DSILENT -Wno-write-strings -Wall -fvisibility=hidden -I/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/unrar -DZEND_COMPILE_DL_EXT=1 -c /wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/rararch.c -MMD -MF rararch.dep -MT rararch.lo  -fPIC -DPIC -o .libs/rararch.o
/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/rararch.c:440:5: warning: incompatible pointer types passing 'long *' to parameter of type 'zend_long *' (aka 'int *') [-Wincompatible-pointer-types]
                                index, &d, -1)) == 0) {
                                ^~~~~
/usr/local/include/php/Zend/zend_operators.h:154:99: note: passing argument to parameter 'lval' here
static zend_always_inline zend_uchar is_numeric_string(const char *str, size_t length, zend_long *lval, double *dval, bool allow_errors) {
                                                                                                  ^
/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/rararch.c:1237:42: error: incompatible function pointer types assigning to 'zend_object_count_elements_t' (aka 'ZEND_RESULT_CODE (*)(struct _zend_object *, int *)') from 'int (handler_this_t *, long *)' (aka 'int (struct _zend_object *, long *)') [-Wincompatible-function-pointer-types]
        rararch_object_handlers.count_elements  = rararch_count_elements;
                                                ^ ~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0
*** Error code 1

Stop.
make: stopped in /usr/ports/archivers/pecl-rar