[package - main-arm64-default][www/php84-opcache] Failed for php84-opcache-8.4.0.a4 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 11 Aug 2024 22:22:44 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:     bofh@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere2/data/main-arm64-default/p60a177caf143_s7a8d05ba19b/logs/php84-opcache-8.4.0.a4.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=p60a177caf143_s7a8d05ba19b
Log:

=>> Building www/php84-opcache
build started at Sun Aug 11 22:22:23 UTC 2024
port directory: /usr/ports/www/php84-opcache
package name: php84-opcache-8.4.0.a4
building for: FreeBSD main-arm64-default-job-10 15.0-CURRENT FreeBSD 15.0-CURRENT 1500023 arm64
maintained by: bofh@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 142 Aug 11 01:02 /usr/ports/www/php84-opcache/Makefile
Ports top last git commit: 60a177caf14
Ports top unclean checkout: no
Port dir last git commit: 3b4c86ee581
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500019
Jail OSVERSION: 1500023
Job Id: 10




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500023
UNAME_v=FreeBSD 15.0-CURRENT 1500023
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.1-30-g79e3edcd
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/10/.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.1-30-g79e3edcd
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

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

--MAINTAINER--
bofh@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--enable-opcache --with-capstone --with-php-config=/usr/local/bin/php-config --disable-opcache-jit --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/www/php84-opcache/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/php84-opcache/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/www/php84-opcache/work/.cache  HOME=/wrkdirs/usr/ports/www/php84-opcache/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/php84-opcache/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/php84-opcache/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" 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/www/php84-opcache/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/php84-opcache/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/www/php84-opcache/work/.cache  HOME=/wrkdirs/usr/ports/www/php84-opcache/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/php84-opcache/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/php84-opcache/work/.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 -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include " BSD_INSTALL_PROGR
AM="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=20230901 OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/php84"  EXAMPLESDIR="share/examples/php84"  DATADIR="share/php84"  WWWDIR="www/php84"  ETCDIR="etc/php84"
--End PLIST_SUB--

--SUB_LIST--
PHP_EXT_DIR=20230901 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/php84 DOCSDIR=/usr/local/share/doc/php84 EXAMPLESDIR=/usr/local/share/examples/php84  WWWDIR=/usr/local/www/php84 ETCDIR=/usr/local/etc/php84
--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
--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
===>   php84-opcache-8.4.0.a4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-arm64-default-job-10] Installing pkg-1.21.3...
[main-arm64-default-job-10] Extracting pkg-1.21.3: .......... done
===>   php84-opcache-8.4.0.a4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of php84-opcache-8.4.0.a4
===========================================================================
=======================<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 php84-opcache-8.4.0.a4 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 php84-opcache-8.4.0.a4 for building
=> SHA256 Checksum OK for php-8.4.0alpha4.tar.xz.
===========================================================================
=======================<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 php84-opcache-8.4.0.a4 for building
===>  Extracting for php84-opcache-8.4.0.a4
=> SHA256 Checksum OK for php-8.4.0alpha4.tar.xz.
===========================================================================
=======================<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 php84-opcache-8.4.0.a4
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   php84-opcache-8.4.0.a4 depends on file: /usr/local/bin/phpize - not found
===>   Installing existing package /packages/All/php84-8.4.0.a4.pkg
[main-arm64-default-job-10] Installing php84-8.4.0.a4...
[main-arm64-default-job-10] `-- Installing libargon2-20190702_1...
[main-arm64-default-job-10] `-- Extracting libargon2-20190702_1: .......... done
[main-arm64-default-job-10] `-- Installing libxml2-2.11.8...
[main-arm64-default-job-10] |   `-- Installing readline-8.2.10...
[main-arm64-default-job-10] |   | `-- Installing indexinfo-0.3.1...
[main-arm64-default-job-10] |   | `-- Extracting indexinfo-0.3.1: .... done
[main-arm64-default-job-10] |   `-- Extracting readline-8.2.10: .......... done
[main-arm64-default-job-10] `-- Extracting libxml2-2.11.8: .......... done
[main-arm64-default-job-10] `-- Installing pcre2-10.43...
[main-arm64-default-job-10] `-- Extracting pcre2-10.43: .......... done
[main-arm64-default-job-10] Extracting php84-8.4.0.a4: .......... done
===>   php84-opcache-8.4.0.a4 depends on file: /usr/local/bin/phpize - found
===>   Returning to build of php84-opcache-8.4.0.a4
===>   php84-opcache-8.4.0.a4 depends on package: autoconf>0 - not found
===>   Installing existing package /packages/All/autoconf-2.72.pkg
[main-arm64-default-job-10] Installing autoconf-2.72...
[main-arm64-default-job-10] `-- Installing autoconf-switch-20220527...
[main-arm64-default-job-10] `-- Extracting autoconf-switch-20220527: .......... done
[main-arm64-default-job-10] `-- Installing m4-1.4.19_1,1...
[main-arm64-default-job-10] |   `-- Installing gettext-runtime-0.22.5...
[main-arm64-default-job-10] |   `-- Extracting gettext-runtime-0.22.5: .......... done
[main-arm64-default-job-10] `-- Extracting m4-1.4.19_1,1: .......... done
[main-arm64-default-job-10] `-- Installing perl5-5.36.3_1...
[main-arm64-default-job-10] `-- Extracting perl5-5.36.3_1: .......... done
[main-arm64-default-job-10] Extracting autoconf-2.72: .......... done
===>   php84-opcache-8.4.0.a4 depends on package: autoconf>0 - found
===>   Returning to build of php84-opcache-8.4.0.a4
===>   php84-opcache-8.4.0.a4 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-2.2.0,1.pkg
[main-arm64-default-job-10] Installing pkgconf-2.2.0,1...
[main-arm64-default-job-10] Extracting pkgconf-2.2.0,1: .......... done
===>   php84-opcache-8.4.0.a4 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of php84-opcache-8.4.0.a4
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   php84-opcache-8.4.0.a4 depends on shared library: libcapstone.so - not found
===>   Installing existing package /packages/All/capstone-5.0.1_1.pkg
[main-arm64-default-job-10] Installing capstone-5.0.1_1...
[main-arm64-default-job-10] Extracting capstone-5.0.1_1: .......... done
===>   php84-opcache-8.4.0.a4 depends on shared library: libcapstone.so - found (/usr/local/lib/libcapstone.so)
===>   Returning to build of php84-opcache-8.4.0.a4
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  PHPizing for php84-opcache-8.4.0.a4
===>  Configuring for php84-opcache-8.4.0.a4
Configuring for:
PHP Version:             8.4
PHP Api Version:         20230901
Zend Module Api No:      20230901
Zend Extension Api No:   420230901
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 pkg-config is at least version 0.9.0... yes
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 build system type... aarch64-portbld-freebsd15.0
checking host system type... aarch64-portbld-freebsd15.0
checking target system type... aarch64-portbld-freebsd15.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/20230901
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 Zend OPcache support... yes, shared
checking whether to enable copying PHP CODE pages into HUGE PAGES... yes
checking whether to enable JIT... no
checking whether to support opcache JIT dissasembly through Capstone... yes
checking for mprotect... (cached) yes
checking for shm_create_largepage... yes
checking for sysvipc shared memory support... yes
checking for mmap() using MAP_ANON shared memory support... yes
checking for library containing shm_open... none required
checking for mmap() using shm_open() shared memory support... yes
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 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... freebsd15.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 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
configure: creating build directories
configure: creating Makefile
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
make[1]: don't know how to make ./jit/ir/ir_fold_hash.h. Stop

make[1]: stopped making "./jit/ir/ir_fold_hash.h" in /wrkdirs/usr/ports/www/php84-opcache/work/php-8.4.0alpha4/ext/opcache
*** Error code 2

Stop.
make: stopped making "configure" in /usr/ports/www/php84-opcache