=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for php-8.2.17.tar.xz
=> Checksum SHA512 OK for php-8.2.17.tar.xz
===> Installing dependencies for ap24-php82-8.2.17nb11
==========================================================================
The supported build options for ap24-php82 are:

	argon2 disable-filter-url dtrace inet6 php-embed
	readline ssl zts

The currently selected options are:

	inet6 readline ssl

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.php82 (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
ap24-php82-8.2.17nb11.  Their current value is shown below:

        * BDB185_DEFAULT = db1
        * BDB_DEFAULT = db4
        * CURSES_DEFAULT = ncurses
        * PKG_APACHE_DEFAULT = apache24
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/pkg/etc/openssl/certs
        * SSLDIR = /opt/pkg/etc/openssl
        * SSLKEYS = /opt/pkg/etc/openssl/private
        * VARBASE = /var

Based on these variables, the following variables have been set:

        * APACHE_PKG_PREFIX = ap24
        * BDBBASE (defined, but empty)
        * BDB_LIBS = -ldb4
        * BDB_TYPE = db4
        * CURSES_TYPE = ncurses
        * PKG_APACHE = apache24
        * TERMCAP_TYPE = curses

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency perl>=5.0: found perl-5.38.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0
=> Tool dependency xz>=4.999.9betanb1: found xz-5.4.6
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency apache>=2.4.58nb1<2.5: found apache-2.4.59
=> Full dependency libxml2>=2.10.4nb3: found libxml2-2.12.4
=> Full dependency openssl>=3: found openssl-3.3.0
=> Full dependency pcre2>=10.30: found pcre2-10.43
=> Full dependency php>=8.2.12nb1<8.3: found php-8.2.17
=> Full dependency readline>=6.0: found readline-8.2nb2
===> Overriding tools for ap24-php82-8.2.17nb11
===> Extracting for ap24-php82-8.2.17nb11
===> Patching for ap24-php82-8.2.17nb11
=> Applying pkgsrc patches for ap24-php82-8.2.17nb11
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-configure
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.17 2024/03/17 16:46:05 taca Exp $
|
|* Do not include "PKG_CONFIG*" in CONFIGURE_OPTIONS.
|* Don't autodetect maintainer-zts.
|* Shell portability.
|
|--- configure.orig	2024-03-12 14:26:30.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 4365.
Hunk #2 succeeded at 7809.
Hunk #3 succeeded at 82906.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-ext_enchant_enchant.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-ext_enchant_enchant.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ext_enchant_enchant.c,v 1.1 2022/12/11 14:12:29 taca Exp $
|
|Fix build on pkgsrc environment.
|
|--- ext/enchant/enchant.c.orig	2022-12-06 14:26:47.000000000 +0000
|+++ ext/enchant/enchant.c
--------------------------
Patching file ext/enchant/enchant.c using Plan A...
Hunk #1 succeeded at 23.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-ext_phar_Makefile.frag
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-ext_phar_Makefile.frag
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ext_phar_Makefile.frag,v 1.1 2022/12/11 14:12:29 taca Exp $
|
|Set shbang for phar correctly.
|
|--- ext/phar/Makefile.frag.orig	2015-06-23 17:33:33.000000000 +0000
|+++ ext/phar/Makefile.frag
--------------------------
Patching file ext/phar/Makefile.frag using Plan A...
Hunk #1 succeeded at 23 (offset 5 lines).
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-ext_standard_php__fopen__wrapper.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-ext_standard_php__fopen__wrapper.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ext_standard_php__fopen__wrapper.c,v 1.1 2022/12/11 14:12:29 taca Exp $
|
|Add build-time disable option for dangerous php://filter URL
|
|php://filter URL is a feature documented here:
|http://php.net/manual/en/wrappers.php.php
|
|Unfortunately, it allows remote control of include() behavior
|beyond what many developpers expected, enabling easy dump of
|PHP source files. The administrator may want to disable the
|feature for security sake, and this patch makes that possible.
|
|--- ext/standard/php_fopen_wrapper.c.orig	2019-11-19 10:24:58.000000000 +0000
|+++ ext/standard/php_fopen_wrapper.c
--------------------------
Patching file ext/standard/php_fopen_wrapper.c using Plan A...
Hunk #1 succeeded at 336 (offset -2 lines).
Hunk #2 succeeded at 379 (offset -2 lines).
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-ext_tidy_config.m4
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-ext_tidy_config.m4
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ext_tidy_config.m4,v 1.1 2022/12/11 14:12:29 taca Exp $
|
|Fix portability.
|
|--- ext/tidy/config.m4.orig	2018-12-04 16:12:28.000000000 +0000
|+++ ext/tidy/config.m4
--------------------------
Patching file ext/tidy/config.m4 using Plan A...
Hunk #1 succeeded at 39 (offset -1 lines).
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-ext_xsl_php__xsl.h
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-ext_xsl_php__xsl.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ext_xsl_php__xsl.h,v 1.1 2022/12/11 14:12:29 taca Exp $
|
|Fix build on pkgsrc environment.
|
|--- ext/xsl/php_xsl.h.orig	2021-03-02 16:37:06.000000000 +0000
|+++ ext/xsl/php_xsl.h
--------------------------
Patching file ext/xsl/php_xsl.h using Plan A...
Hunk #1 succeeded at 37.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-main_streams_streams.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-main_streams_streams.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-main_streams_streams.c,v 1.1 2022/12/11 14:12:29 taca Exp $
|
|* Allow copying files with size zero.
|
|--- main/streams/streams.c.orig	2022-05-11 01:14:18.000000000 +0000
|+++ main/streams/streams.c
--------------------------
Patching file main/streams/streams.c using Plan A...
Hunk #1 succeeded at 1690 (offset 106 lines).
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-php.ini-development
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-php.ini-development
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-php.ini-development,v 1.1 2022/12/11 14:12:29 taca Exp $
|
|Set proper default configuration values.
|
|--- php.ini-development.orig	2021-10-27 00:20:44.000000000 +0000
|+++ php.ini-development
--------------------------
Patching file php.ini-development using Plan A...
Hunk #1 succeeded at 740 (offset 5 lines).
Hunk #2 succeeded at 761 (offset 5 lines).
Hunk #3 succeeded at 847 (offset 5 lines).
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-php.ini-production
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-php.ini-production
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-php.ini-production,v 1.1 2022/12/11 14:12:29 taca Exp $
|
|Set proper default configuration values.
|
|--- php.ini-production.orig	2021-10-27 00:20:44.000000000 +0000
|+++ php.ini-production
--------------------------
Patching file php.ini-production using Plan A...
Hunk #1 succeeded at 742 (offset 5 lines).
Hunk #2 succeeded at 763 (offset 5 lines).
Hunk #3 succeeded at 849 (offset 5 lines).
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-sapi_cgi_Makefile.frag
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-sapi_cgi_Makefile.frag
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-sapi_cgi_Makefile.frag,v 1.1 2022/12/11 14:12:29 taca Exp $
|
|Install to CGI directory.
|
|--- sapi/cgi/Makefile.frag.orig	2015-06-23 17:33:33.000000000 +0000
|+++ sapi/cgi/Makefile.frag
--------------------------
Patching file sapi/cgi/Makefile.frag using Plan A...
Hunk #1 succeeded at 4.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-sapi_cli_Makefile.frag
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-sapi_cli_Makefile.frag
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-sapi_cli_Makefile.frag,v 1.1 2022/12/11 14:12:29 taca Exp $
|
|Needed on NetBSD with PaX MPROTEXT, otherwise core dump with:
|#1  0x00000000004d0d87 in _pcre_jit_exec ()
|#2  0x00000000004a53f1 in php_pcre_exec ()
|https://bugs.php.net/bug.php?id=72281
|
|--- sapi/cli/Makefile.frag.orig	2016-04-28 18:12:27.000000000 +0000
|+++ sapi/cli/Makefile.frag
--------------------------
Patching file sapi/cli/Makefile.frag using Plan A...
Hunk #1 succeeded at 2.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-sapi_fpm_php-fpm.conf.in
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/www/ap-php/../../lang/php82/patches/patch-sapi_fpm_php-fpm.conf.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-sapi_fpm_php-fpm.conf.in,v 1.1 2022/12/11 14:12:29 taca Exp $
|
|Set proper default configuration values.
|
|--- sapi/fpm/php-fpm.conf.in.orig	2015-06-23 17:33:33.000000000 +0000
|+++ sapi/fpm/php-fpm.conf.in
--------------------------
Patching file sapi/fpm/php-fpm.conf.in using Plan A...
Hunk #1 succeeded at 14.
done
===> Creating toolchain wrappers for ap24-php82-8.2.17nb11
/bin/mkdir -p /Users/pbulk/build/www/ap-php/work/.buildlink/bin && /bin/ln -fs ../sbin/apxs /Users/pbulk/build/www/ap-php/work/.buildlink/bin/apxs
/bin/mkdir -p /Users/pbulk/build/www/ap-php/work/.buildlink/bin && /bin/ln -fs apr-1-config /Users/pbulk/build/www/ap-php/work/.buildlink/bin/apr-config
/bin/mkdir -p /Users/pbulk/build/www/ap-php/work/.buildlink/bin && /bin/ln -fs apu-1-config /Users/pbulk/build/www/ap-php/work/.buildlink/bin/apu-config
===> Configuring for ap24-php82-8.2.17nb11
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Checking for portability problems in extracted files
configure: WARNING: unrecognized options: --with-libiconv-prefix
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... /opt/pkg/bin/nbsed
checking build system type... x86_64-apple-darwin22
checking host system type... x86_64-apple-darwin22
checking target system type... x86_64-apple-darwin22
shtool:echo:Warning: unable to determine terminal sequence for bold mode
shtool:echo:Warning: unable to determine terminal sequence for bold mode
checking pkg-config is at least version 0.9.0... yes
checking for x86_64-apple-darwin22-cc... clang
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 clang accepts -g... yes
checking for clang option to enable C11 features... none needed
checking how to run the C preprocessor... clang -E
checking for egrep -e... (cached) /usr/bin/egrep
checking for icc... no
checking for suncc... no
checking how to run the C preprocessor... clang -E
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking whether ln -s works... yes
checking for system library directory... lib
checking whether to enable runpaths... yes
checking if compiler supports -Wl,-rpath,... yes
checking for gawk... /opt/pkg/bin/nawk
checking if /opt/pkg/bin/nawk is broken... no
checking for bison... bison
checking for bison version... 2.3
checking for re2c... no
checking for php... php
checking for php version... 8.2.17 (ok)
checking whether to enable computed goto gcc extension with re2c... no
checking whether C compiler accepts -fvisibility=hidden... yes
checking whether to force non-PIC code in shared modules... no
checking whether we are using musl libc... no
checking whether to use -D_GNU_SOURCE cflag... yes
checking whether /dev/urandom exists... yes
checking for global register variables support... no
checking whether __cpuid_count is available... yes
checking for pthreads_cflags... -pthread
checking for pthreads_lib... pthread

Configuring SAPI modules
checking for Apache 2 handler module support via DSO through APXS... checking for setproctitle... no
checking for sys/pstat.h... no
checking for PS_STRINGS... no
checking for CLI build... yes
checking for embedded SAPI library support... no
checking for FPM build... no
checking for clang fuzzer SAPI... no
checking for LiteSpeed support... no
checking for phpdbg support... yes
checking for phpdbg debug build... no
checking for phpdbg readline support... no
checking whether termios.h defines TIOCGWINSZ... yes
checking for phpdbg and readline integration... disabled
checking for userfaultfd faulting on write-protected memory support... no
checking for CGI build... yes
checking for sun_len in sys/un.h... yes
checking whether cross-process locking is required by accept()... no
checking for chosen SAPI module... apache2handler
checking for executable SAPI binaries...  cli phpdbg cgi

Running system checks
checking for sendmail... /usr/sbin/sendmail
checking whether system uses EBCDIC... no
checking whether byte ordering is bigendian... no
checking whether writing to stdout works... This is the test message -- yes
checking for socket... yes
checking for socketpair... yes
checking for htonl... yes
checking for gethostname... yes
checking for gethostbyaddr... yes
checking for dlopen... yes
checking for dlsym... yes
checking for sin in -lm... yes
checking for inet_aton... yes
checking for stdint.h... (cached) yes
checking for dirent.h... yes
checking for sys/param.h... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... yes
checking for netinet/in.h... yes
checking for alloca.h... yes
checking for arpa/inet.h... yes
checking for arpa/nameser.h... yes
checking for crypt.h... no
checking for dns.h... yes
checking for fcntl.h... yes
checking for grp.h... yes
checking for ieeefp.h... no
checking for langinfo.h... yes
checking for linux/filter.h... no
checking for linux/sock_diag.h... no
checking for malloc.h... no
checking for os/signpost.h... yes
checking for poll.h... yes
checking for pty.h... no
checking for pwd.h... yes
checking for resolv.h... yes
checking for strings.h... (cached) yes
checking for syslog.h... yes
checking for sysexits.h... yes
checking for sys/ioctl.h... yes
checking for sys/file.h... yes
checking for sys/mman.h... yes
checking for sys/mount.h... yes
checking for sys/poll.h... yes
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/statfs.h... no
checking for sys/statvfs.h... yes
checking for sys/vfs.h... no
checking for sys/sysexits.h... no
checking for sys/uio.h... yes
checking for sys/wait.h... yes
checking for sys/loadavg.h... no
checking for unistd.h... (cached) yes
checking for unix.h... no
checking for utime.h... yes
checking for sys/utsname.h... yes
checking for sys/ipc.h... yes
checking for dlfcn.h... yes
checking for tmmintrin.h... yes
checking for nmmintrin.h... yes
checking for wmmintrin.h... yes
checking for immintrin.h... yes
checking for fopencookie... no
checking for broken getcwd... no
checking for broken gcc optimize-strlen... no
checking whether struct tm is in sys/time.h or time.h... time.h
checking for clang options needed to detect all undeclared functions... -fno-builtin
checking for struct tm.tm_zone... yes
checking for missing declarations of reentrant functions... done
checking for fclose declaration... ok
checking for struct flock... yes
checking for socklen_t... yes
checking size of intmax_t... 8
checking size of ssize_t... 8
checking size of ptrdiff_t... 8
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of size_t... 8
checking size of off_t... 8
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for __builtin_expect... yes
checking for __builtin_clz... yes
checking for __builtin_clzl... yes
checking for __builtin_clzll... yes
checking for __builtin_ctzl... yes
checking for __builtin_ctzll... yes
checking for __builtin_smull_overflow... yes
checking for __builtin_smulll_overflow... yes
checking for __builtin_saddl_overflow... yes
checking for __builtin_saddll_overflow... yes
checking for __builtin_ssubl_overflow... yes
checking for __builtin_ssubll_overflow... yes
checking for __builtin_cpu_init... yes
checking for __builtin_cpu_supports... yes
checking whether the compiler supports __alignof__... yes
checking for struct tm.tm_gmtoff... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_rdev... yes
checking for struct stat.st_blocks... yes
checking for size_t... yes
checking for uid_t... yes
checking for gid_t... yes
checking for struct sockaddr_storage... yes
checking for field sa_len in struct sockaddr... yes
checking for __attribute__((ifunc))... no
checking for __attribute__((target))... yes
checking for IPv6 support... yes
checking for alphasort... yes
checking for asctime_r... yes
checking for chroot... yes
checking for ctime_r... yes
checking for explicit_memset... no
checking for fdatasync... yes
checking for flock... yes
checking for ftok... yes
checking for funopen... yes
checking for gai_strerror... yes
checking for getcwd... yes
checking for getloadavg... yes
checking for getlogin... yes
checking for getprotobyname... yes
checking for getprotobynumber... yes
checking for getservbyname... yes
checking for getservbyport... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for gmtime_r... yes
checking for getpwnam_r... yes
checking for getgrnam_r... yes
checking for getpwuid_r... yes
checking for getwd... yes
checking for glob... yes
checking for inet_ntoa... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for localtime_r... yes
checking for lchown... yes
checking for memcntl... no
checking for memmove... yes
checking for mkstemp... yes
checking for mmap... yes
checking for nice... yes
checking for nl_langinfo... yes
checking for poll... yes
checking for pthread_jit_write_protect_np... yes
checking for putenv... yes
checking for scandir... yes
checking for setitimer... yes
checking for setenv... yes
checking for shutdown... yes
checking for sigprocmask... yes
checking for statfs... yes
checking for statvfs... yes
checking for std_syslog... no
checking for strcasecmp... yes
checking for strnlen... yes
checking for strptime... yes
checking for strtok_r... yes
checking for symlink... yes
checking for tzset... yes
checking for unsetenv... yes
checking for usleep... yes
checking for utime... yes
checking for vasprintf... yes
checking for asprintf... yes
checking for nanosleep... yes
checking for memmem... yes
checking for memrchr... no
checking whether strerror_r is declared... yes
checking whether strerror_r returns char *... no
checking how many arguments gethostbyname_r() takes... cannot find function declaration in netdb.h
checking for nanosleep in -lrt... no
checking for __nanosleep in -lrt... no
checking for setsockopt in -lnetwork... yes
checking for getaddrinfo... yes
checking for copy_file_range... no
checking for strlcat... yes
checking for strlcpy... yes
checking for explicit_bzero... no
checking for getopt... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for type of reentrant time-related functions... POSIX
checking for in_addr_t... yes
checking for aarch64 CRC32 API... no
checking for asm goto... yes
checking whether to enable valgrind support... yes
checking for valgrind... no
checking for openpty... yes

General settings
checking whether to include gcov symbols... no
checking whether to include debugging symbols... no
checking whether to enable debug assertions in release mode... no
checking whether to dlopen extensions with RTLD_NOW instead of RTLD_LAZY... no
checking layout of installed files... PHP
checking path to configuration file... /opt/pkg/etc
checking where to scan for configuration files... /opt/pkg/etc/php.d
checking whether to enable PHP's own SIGCHLD handler... no
checking whether to explicitly link against libgcc... no
checking whether to enable short tags by default... yes
checking whether to enable dmalloc... no
checking whether to enable IPv6 support... yes
checking whether to enable DTrace support... no
checking how big to make fd sets... using system default

Configuring extensions
checking for io.h... no
checking for strtoll... yes
checking for atoll... yes
checking whether to build with LIBXML support... yes
checking for libxml-2.0 >= 2.9.0... yes
checking for OpenSSL support... yes
checking for Kerberos support... no
checking whether to use system default cipher list instead of hardcoded value... no
checking for openssl >= 1.0.2... yes
checking for RAND_egd... no
checking for libpcre2-8 >= 10.30... yes
checking for JIT support in PCRE2... no
checking whether to enable the SQLite3 extension... no
checking for ZLIB support... no
checking whether to enable bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking whether to enable ctype functions... yes
checking for cURL support... no
checking for QDBM support... no
checking for GDBM support... no
checking for NDBM support... no
checking for TCADB support... no
checking for LMDB support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DB1 support... no
checking for DBM support... no
checking for CDB support... no
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... no
checking whether to enable dl-test extension... no
checking whether to enable DOM support... yes
checking for libxml-2.0 >= 2.9.0... yes
checking whether to build with Enchant support... no
checking whether to enable EXIF (metadata from images) support... no
checking for FFI support... no
checking for fileinfo support... yes
checking for strcasestr... yes
checking for utimes... yes
checking for strndup... yes
checking whether to enable input filter support... yes
checking whether to enable FTP support... no
checking whether to explicitly enable FTP SSL support... no
checking for GD support... no
checking for external libgd... no
checking for libavif... no
checking for libwebp... no
checking for libjpeg... no
checking for libXpm... no
checking for FreeType 2... no
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for GNU gettext support... no
checking for GNU MP support... no
checking for mhash support... no
checking size of long... (cached) 8
checking if we're at 64-bit platform... yes
checking for iconv support... no
checking for IMAP support... no
checking for IMAP Kerberos support... no
checking for IMAP SSL support... no
checking whether to enable internationalization support... no
checking for LDAP support... no
checking whether to build with LDAP Cyrus SASL support... no
checking whether to enable multibyte string support... no
checking whether to enable multibyte regex support (requires oniguruma)... yes
checking for MySQLi support... no
checking for specified location of the MySQL UNIX socket... no
checking for Oracle Database OCI8 support... no
checking for Adabas support... no
checking for SAP DB support... no
checking for Solid support... no
checking for IBM DB2 support... no
checking for Empress support... no
checking for Empress local access support... no
checking for a custom ODBC support... no
checking whether to build with iODBC support... no
checking for Easysoft ODBC-ODBC Bridge support... no
checking whether to build with unixODBC support... no
checking for DBMaker support... no
checking for any ODBC driver support... no
checking whether to enable Zend OPcache support... no
checking whether to enable copying PHP CODE pages into HUGE PAGES... yes
checking whether to enable JIT... yes
checking whether to enable pcntl support... no
checking whether to enable PDO support... no
checking for PDO_DBLIB support via FreeTDS... no
checking for Firebird support for PDO... no
checking for MySQL support for PDO... no
checking for the location of libz... no
checking Oracle OCI support for PDO... no
checking for ODBC v3 support for PDO... no
checking for PostgreSQL support for PDO... no
checking for sqlite 3 support for PDO... no
checking for PostgreSQL support... no
checking for phar archive support... yes
checking for phar openssl support... no
checking whether to enable POSIX-like functions... no
checking for PSPELL support... no
checking whether arc4random_buf is declared... yes
checking for CommonCrypto/CommonRandom.h... yes
checking for libedit readline replacement... no
checking for readline support... yes
checking for tgetent in -lncurses... yes
checking for readline in -lreadline... yes
checking for rl_pending_input in -lreadline... yes
checking for rl_callback_read_char in -lreadline... yes
checking for rl_on_new_line in -lreadline... yes
checking for rl_completion_matches in -lreadline... yes
checking whether to enable PHP sessions... yes
checking for mm support... no
checking whether pwrite works... yes
checking whether pread works... yes
checking whether to enable shmop support... no
checking whether to enable SimpleXML support... yes
checking for libxml-2.0 >= 2.9.0... yes
checking for SNMP support... no
checking whether to enable SOAP support... no
checking whether to enable sockets support... no
checking for sodium support... no
checking whether flush should be called explicitly after a buffered io... yes
checking for external libcrypt or libxcrypt... no
checking whether the compiler supports aligned attribute... yes
checking for working POSIX fnmatch... yes
checking for fork... yes
checking if your OS can spawn processes with inherited handles... yes
checking for res_nsearch... no
checking for __res_nsearch... no
checking for res_nsearch in -lresolv... no
checking for __res_nsearch in -lresolv... no
checking for res_nsearch in -lbind... no
checking for __res_nsearch in -lbind... no
checking for res_nsearch in -lsocket... no
checking for __res_nsearch in -lsocket... no
checking for res_ndestroy... no
checking for __res_ndestroy... no
checking for res_ndestroy in -lresolv... no
checking for __res_ndestroy in -lresolv... no
checking for res_ndestroy in -lbind... no
checking for __res_ndestroy in -lbind... no
checking for res_ndestroy in -lsocket... no
checking for __res_ndestroy in -lsocket... no
checking for dns_search... no
checking for __dns_search... no
checking for dns_search in -lresolv... yes
checking for dn_expand... yes
checking for dn_skipname... no
checking for __dn_skipname... yes
checking for res_search... yes
checking whether strptime() declaration fails... yes
checking whether arc4random_buf is declared... (cached) yes
checking for CommonCrypto/CommonRandom.h... (cached) yes
checking for Argon2 support... no
checking for net/if.h... yes
checking for usable getifaddrs... yes
checking whether to enable System V IPC support... no
checking whether to enable System V semaphore support... no
checking whether to enable System V shared memory support... no
checking for TIDY support... no
checking whether to enable tokenizer support... yes
checking whether to enable XML support... yes
checking whether to build with expat support... no
checking for libxml-2.0 >= 2.9.0... yes
checking whether to enable XMLReader support... yes
checking for libxml-2.0 >= 2.9.0... yes
checking whether to enable XMLWriter support... yes
checking for libxml-2.0 >= 2.9.0... yes
checking whether to build with XSL support... no
checking whether to enable zend-test extension... no
checking for zip archive read/write support... no
checking whether to enable mysqlnd... yes
checking whether to disable compressed protocol support in mysqlnd... yes
checking for zlib... yes
checking for openssl >= 1.0.2... yes

Configuring PEAR
checking whether to install PEAR... no

Configuring Zend
checking for fiber switching context... combined_sysv_macho_gas
checking for cpuid.h... yes
checking for getpid... yes
checking for kill... yes
checking for sigsetjmp... yes
checking for usable _FPU_SETCW... no
checking for usable fpsetprec... no
checking for usable _controlfp... no
checking for usable _controlfp_s... no
checking whether FPU control word can be manipulated by inline assembler... yes
checking for dlfcn.h... (cached) yes
checking whether dlsym() requires a leading underscore in symbol names... no
checking whether to enable thread-safety... no
checking whether to enable Zend debugging... no
checking whether C compiler accepts -Wno-clobbered... no
checking whether C compiler accepts -Wimplicit-fallthrough=1... no
checking whether C compiler accepts -Wduplicated-cond... no
checking whether C compiler accepts -Wlogical-op... no
checking whether C compiler accepts -Wformat-truncation... no
checking whether C compiler accepts -Wstrict-prototypes... yes
checking whether C compiler accepts -fno-common... yes
checking for inline... inline
checking target system is Darwin... yes
checking for MM alignment and log values... done
checking for mremap... no
checking for sigaction... yes
checking whether to enable zend signal handling... yes
checking for timer_create... no
checking for __timer_create... no
checking for timer_create in -lrt... no
checking for __timer_create in -lrt... no
checking whether to enable zend max execution timers... no

Configuring TSRM

Configuring libtool
checking for a sed that does not truncate output... /Users/pbulk/build/www/ap-php/work/.tools/bin/sed
checking for ld used by clang... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
checking how to run the C++ preprocessor... clang++ -E
checking the maximum length of command line arguments... (cached) 1048576
checking command to parse /usr/bin/nm -B output from clang object... ok
checking for objdir... .libs
checking for x86_64-apple-darwin22-ar... no
checking for ar... ar
checking for x86_64-apple-darwin22-ranlib... no
checking for ranlib... ranlib
checking for x86_64-apple-darwin22-strip... no
checking for strip... strip
checking for x86_64-apple-darwin22-dsymutil... no
checking for dsymutil... dsymutil
checking for x86_64-apple-darwin22-nmedit... no
checking for nmedit... nmedit
checking for -single_module linker flag... ld: warning: -single_module is obsolete
yes
checking for -exported_symbols_list linker flag... yes
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common
checking if clang PIC flag -fno-common works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... yes
checking whether the clang linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin22 dyld
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... no
checking whether to build static libraries... yes

creating libtool
appending configuration tag "CXX" to libtool
checking whether the clang++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... no
checking for clang++ option to produce PIC... 
checking if clang++ static flag  works... yes
checking if clang++ supports -c -o file.o... yes
checking whether the clang++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... no
checking dynamic linker characteristics... darwin22 dyld
(cached) (cached) checking how to hardcode library paths into programs... immediate

Generating files
configure: patching main/php_config.h.in
configure: creating ./config.status
creating main/internal_functions.c
creating main/internal_functions_cli.c
+--------------------------------------------------------------------+
|                        *** WARNING ***                             |
|                                                                    |
| You have built PHP for Apache's current non-threaded MPM.          |
| If you change Apache to use a threaded MPM you must reconfigure    |
| PHP with --enable-zts                                              |
config.status: creating main/build-defs.h
config.status: creating scripts/phpize
config.status: creating scripts/man1/phpize.1
config.status: creating scripts/php-config
config.status: creating scripts/man1/php-config.1
config.status: creating sapi/cli/php.1
config.status: creating sapi/phpdbg/phpdbg.1
config.status: creating sapi/cgi/php-cgi.1
config.status: creating ext/phar/phar.1
config.status: creating ext/phar/phar.phar.1
config.status: creating main/php_config.h
config.status: executing default commands

+--------------------------------------------------------------------+
| License:                                                           |
| This software is subject to the PHP License, available in this     |
| distribution in the file LICENSE. By continuing this installation  |
| process, you are bound by the terms of this license agreement.     |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.                            |
+--------------------------------------------------------------------+

Thank you for using PHP.

configure: WARNING: unrecognized options: --with-libiconv-prefix
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp