[package - main-amd64-default][devel/pecl-swoole] Failed for php81-pecl-swoole-5.1.3 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 09 Jun 2024 10:21:52 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:     vanilla@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p92a9331f7818_s63a327b954a/logs/php81-pecl-swoole-5.1.3.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p92a9331f7818_s63a327b954a
Log:

=>> Building devel/pecl-swoole
build started at Sun Jun  9 10:21:40 UTC 2024
port directory: /usr/ports/devel/pecl-swoole
package name: php81-pecl-swoole-5.1.3
building for: FreeBSD main-amd64-default-job-02 15.0-CURRENT FreeBSD 15.0-CURRENT 1500019 amd64
maintained by: vanilla@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1118 Jun  8 01:01 /usr/ports/devel/pecl-swoole/Makefile
Ports top last git commit: 92a9331f781
Ports top unclean checkout: no
Port dir last git commit: 57648d99825
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500018
Jail OSVERSION: 1500019
Job Id: 02




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500019
UNAME_v=FreeBSD 15.0-CURRENT 1500019
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-amd64-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-amd64-default/02/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-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=php81
MAKE_ARGS= FLAVOR=php81
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for php81-pecl-swoole-5.1.3:
     BROTLI=off: Brotli compression support
     CARES=off: Asynchronous DNS resolution via c-ares
     CURL=off: Data transfer support via cURL
     HTTP2=off: HTTP protocol version 2.0 support
     JSON=off: JSON file/format/parser support
     PGSQL=off: PostgreSQL database support
     SOCKETS=off: Use native php sockets extension
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
vanilla@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--enable-mysqlnd --with-php-config=/usr/local/bin/php-config --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/devel/pecl-swoole/work-php81  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/pecl-swoole/work-php81  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/pecl-swoole/work-php81/.cache  HOME=/wrkdirs/usr/ports/devel/pecl-swoole/work-php81 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/pecl-swoole/work-php81/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/pecl-swoole/work-php81/.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--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/devel/pecl-swoole/work-php81  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/pecl-swoole/work-php81  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/pecl-swoole/work-php81/.cache  HOME=/wrkdirs/usr/ports/devel/pecl-swoole/work-php81 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/pecl-swoole/work-php81/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/pecl-swoole/work-php81/.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 -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fs
tack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include " 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=20210902 OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/swoole"  EXAMPLESDIR="share/examples/swoole"  DATADIR="share/swoole"  WWWDIR="www/swoole"  ETCDIR="etc/swoole"
--End PLIST_SUB--

--SUB_LIST--
 PHP_EXT_DIR=20210902 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/swoole DOCSDIR=/usr/local/share/doc/swoole EXAMPLESDIR=/usr/local/share/examples/swoole  WWWDIR=/usr/local/www/swoole ETCDIR=/usr/local/etc/swoole
--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)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  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 APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   php81-pecl-swoole-5.1.3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-amd64-default-job-02] Installing pkg-1.21.3...
[main-amd64-default-job-02] Extracting pkg-1.21.3: .......... done
===>   php81-pecl-swoole-5.1.3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of php81-pecl-swoole-5.1.3
===========================================================================
=======================<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 APACHE20 accepted by the user
===> Fetching all distfiles required by php81-pecl-swoole-5.1.3 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by php81-pecl-swoole-5.1.3 for building
=> SHA256 Checksum OK for PECL/swoole-5.1.3.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 APACHE20 accepted by the user
===> Fetching all distfiles required by php81-pecl-swoole-5.1.3 for building
===>  Extracting for php81-pecl-swoole-5.1.3
=> SHA256 Checksum OK for PECL/swoole-5.1.3.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 php81-pecl-swoole-5.1.3
===>  Applying FreeBSD patches for php81-pecl-swoole-5.1.3 from /usr/ports/devel/pecl-swoole/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   php81-pecl-swoole-5.1.3 depends on file: /usr/local/include/php/main/php.h - not found
===>   Installing existing package /packages/All/php81-8.1.29.pkg
[main-amd64-default-job-02] Installing php81-8.1.29...
[main-amd64-default-job-02] `-- Installing libargon2-20190702_1...
[main-amd64-default-job-02] `-- Extracting libargon2-20190702_1: .......... done
[main-amd64-default-job-02] `-- Installing libxml2-2.11.8...
[main-amd64-default-job-02] |   `-- Installing readline-8.2.10...
[main-amd64-default-job-02] |   | `-- Installing indexinfo-0.3.1...
[main-amd64-default-job-02] |   | `-- Extracting indexinfo-0.3.1: .... done
[main-amd64-default-job-02] |   `-- Extracting readline-8.2.10: .......... done
[main-amd64-default-job-02] `-- Extracting libxml2-2.11.8: .......... done
[main-amd64-default-job-02] `-- Installing pcre2-10.43...
[main-amd64-default-job-02] `-- Extracting pcre2-10.43: .......... done
[main-amd64-default-job-02] Extracting php81-8.1.29: .......... done
=====
Message from php81-8.1.29:

--
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Upstream EOL reaches on 2025-12-31.

It is scheduled to be removed on or after 2025-12-31.
===>   php81-pecl-swoole-5.1.3 depends on file: /usr/local/include/php/main/php.h - found
===>   Returning to build of php81-pecl-swoole-5.1.3
===>   php81-pecl-swoole-5.1.3 depends on file: /usr/local/bin/phpize - found
===>   php81-pecl-swoole-5.1.3 depends on package: autoconf>0 - not found
===>   Installing existing package /packages/All/autoconf-2.72.pkg
[main-amd64-default-job-02] Installing autoconf-2.72...
[main-amd64-default-job-02] `-- Installing autoconf-switch-20220527...
[main-amd64-default-job-02] `-- Extracting autoconf-switch-20220527: .......... done
[main-amd64-default-job-02] `-- Installing m4-1.4.19_1,1...
[main-amd64-default-job-02] |   `-- Installing gettext-runtime-0.22.5...
[main-amd64-default-job-02] |   `-- Extracting gettext-runtime-0.22.5: .......... done
[main-amd64-default-job-02] `-- Extracting m4-1.4.19_1,1: .......... done
[main-amd64-default-job-02] `-- Installing perl5-5.36.3_1...
[main-amd64-default-job-02] `-- Extracting perl5-5.36.3_1: .......... done
[main-amd64-default-job-02] Extracting autoconf-2.72: .......... done
===>   php81-pecl-swoole-5.1.3 depends on package: autoconf>0 - found
===>   Returning to build of php81-pecl-swoole-5.1.3
===>   php81-pecl-swoole-5.1.3 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-2.2.0,1.pkg
[main-amd64-default-job-02] Installing pkgconf-2.2.0,1...
[main-amd64-default-job-02] Extracting pkgconf-2.2.0,1: .......... done
===>   php81-pecl-swoole-5.1.3 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of php81-pecl-swoole-5.1.3
===========================================================================
=======================<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 php81-pecl-swoole-5.1.3
===>  Configuring for php81-pecl-swoole-5.1.3
Configuring for:
PHP Api Version:         20210902
Zend Module Api No:      20210902
Zend Extension Api No:   420210902
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... amd64-portbld-freebsd15.0
checking host system type... amd64-portbld-freebsd15.0
checking target system type... amd64-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/20210902
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 enable debug log... no
checking enable trace log... no
checking enable sockets support... no
checking enable openssl support... no
checking enable brotli support... yes
checking swoole support... yes, shared
checking enable mysqlnd support... yes
checking enable c-ares support... no
checking dir of openssl... no
checking dir of brotli... no
checking dir of nghttp2... no
checking dir of jemalloc... no
checking enable asan... no
checking whether to enable swoole coverage support... no
checking whether to enable Swoole developer build flags... no
checking whether to enable Swoole CURL build flags... no
checking whether to enable postgresql build flags... no
checking whether to enable thread context... no
checking whether to enable coroutine execution time ... no
checking "for ODBC v3 support for PDO"... no
checking if compiling with clang... yes
checking for accept4 in -lc... yes
checking for signalfd in -lc... no
checking for eventfd in -lc... yes
checking for epoll_create in -lc... no
checking for poll in -lc... yes
checking for sendfile in -lc... yes
checking for kqueue in -lc... yes
checking for backtrace in -lexecinfo... yes
checking for daemon in -lc... yes
checking for mkostemp in -lc... yes
checking for inotify_init in -lc... no
checking for malloc_trim in -lc... no
checking for inotify_init1 in -lc... no
checking for gethostbyname2_r in -lc... yes
checking for ptrace in -lc... yes
checking for getrandom in -lc... yes
checking for arc4random in -lc... yes
checking for CCRandomGenerateBytes in -lc... no
checking for pthread_rwlock_init in -lpthread... yes
checking for pthread_spin_lock in -lpthread... yes
checking for pthread_mutex_timedlock in -lpthread... yes
checking for pthread_barrier_init in -lpthread... yes
checking for pthread_mutexattr_setpshared in -lpthread... yes
checking for pthread_mutexattr_setrobust in -lpthread... yes
checking for pthread_mutex_consistent in -lpthread... yes
checking for pcre_compile in -lpcre... no
checking whether to enable oracle build flags... no
checking for sqlite 3 support for PDO... no
checking for gzgets in -lz... yes
checking for libbrotlienc... no
configure: error: Package requirements (libbrotlienc) were not met:

Package 'libbrotlienc' not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables BROTLIENC_CFLAGS
and BROTLIENC_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
===>  Script "configure" failed unexpectedly.
Please report the problem to vanilla@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/devel/pecl-swoole/work-php81/swoole-5.1.3/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/pecl-swoole