=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for unit-1.31.1.tar.gz
=> Checksum SHA512 OK for unit-1.31.1.tar.gz
===> Installing dependencies for unit-ruby32-1.31.1
==========================================================================
The supported build options for unit-ruby32 are:

	debug inet6 njs pcre pcre2 ssl

The currently selected options are:

	inet6 pcre2 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.unit (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
unit-ruby32-1.31.1.  Their current value is shown below:

        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/pkg/etc/openssl/certs
        * SSLDIR = /opt/pkg/etc/openssl
        * SSLKEYS = /opt/pkg/etc/openssl/private
        * UNIT_DATADIR = /var/db/unit
        * UNIT_LOGDIR = /var/log/unit
        * UNIT_PIDDIR = /var/run
        * VARBASE = /var

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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency user-darwin>=20130712: found user-darwin-20170116
=> Full dependency openssl>=3: found openssl-3.3.0
=> Full dependency pcre2>=10.30: found pcre2-10.43
=> Full dependency ruby32-base>=3.2.3: found ruby32-base-3.2.3nb1
===> Overriding tools for unit-ruby32-1.31.1
===> Extracting for unit-ruby32-1.31.1
===> Patching for unit-ruby32-1.31.1
=> Applying pkgsrc patches for unit-ruby32-1.31.1
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/unit-ruby/../../www/unit/patches/patch-auto_events
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/unit-ruby/../../www/unit/patches/patch-auto_events
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-auto_events,v 1.3 2022/12/17 17:51:45 gutteridge Exp $
|
|Prefer eventports on SunOS
|
|--- auto/events.orig	2022-12-16 22:55:06.825345785 -0500
|+++ auto/events
--------------------------
Patching file auto/events using Plan A...
Hunk #1 succeeded at 5.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/unit-ruby/../../www/unit/patches/patch-auto_os_conf
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/unit-ruby/../../www/unit/patches/patch-auto_os_conf
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-auto_os_conf,v 1.1 2021/02/14 11:56:57 otis Exp $
|
|Move _XOPEN_SOURCE to CFLAGS
|
|--- auto/os/conf.orig	2020-11-19 18:12:30.000000000 +0000
|+++ auto/os/conf
--------------------------
Patching file auto/os/conf using Plan A...
Hunk #1 succeeded at 98.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/unit-ruby/../../www/unit/patches/patch-auto_shmem
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/unit-ruby/../../www/unit/patches/patch-auto_shmem
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-auto_shmem,v 1.1 2021/12/13 23:10:22 gutteridge Exp $
|
|Fix sandboxed builds on NetBSD, where /var/shm typically doesn't exist.
|
|--- auto/shmem.orig	2021-12-02 15:23:00.000000000 +0000
|+++ auto/shmem
--------------------------
Patching file auto/shmem using Plan A...
Hunk #1 succeeded at 9.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/unit-ruby/../../www/unit/patches/patch-src_nxt__kqueue__engine.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/unit-ruby/../../www/unit/patches/patch-src_nxt__kqueue__engine.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_nxt__kqueue__engine.c,v 1.1 2021/02/14 11:56:57 otis Exp $
|
|Use correct types on NetBSD-CURRENT.
|
|This patch is going to be reviewed by the vendor.
|
|--- src/nxt_kqueue_engine.c.orig	2021-02-04 15:22:33.000000000 +0000
|+++ src/nxt_kqueue_engine.c
--------------------------
Patching file src/nxt_kqueue_engine.c using Plan A...
Hunk #1 succeeded at 39.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/unit-ruby/../../www/unit/patches/patch-src_nxt__php__sapi.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/unit-ruby/../../www/unit/patches/patch-src_nxt__php__sapi.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_nxt__php__sapi.c,v 1.1 2021/02/14 11:56:57 otis Exp $
|
|Use correct type.
|
|--- src/nxt_php_sapi.c.orig	2021-02-04 15:22:33.000000000 +0000
|+++ src/nxt_php_sapi.c
--------------------------
Patching file src/nxt_php_sapi.c using Plan A...
Hunk #1 succeeded at 1360 (offset 169 lines).
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/unit-ruby/../../www/unit/patches/patch-src_nxt__unix.h
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/unit-ruby/../../www/unit/patches/patch-src_nxt__unix.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_nxt__unix.h,v 1.1 2021/02/14 11:56:57 otis Exp $
|
|Move _XOPEN_SOURCE to CFLAGS
|
|--- src/nxt_unix.h.orig	2020-11-19 18:12:30.000000000 +0000
|+++ src/nxt_unix.h
--------------------------
Patching file src/nxt_unix.h using Plan A...
Hunk #1 succeeded at 71.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/unit-ruby/../../www/unit/patches/patch-src_nxt__websocket__header.h
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/unit-ruby/../../www/unit/patches/patch-src_nxt__websocket__header.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_nxt__websocket__header.h,v 1.1 2021/02/14 11:56:57 otis Exp $
|
|Include endian.h for endianness test to work.
|
|--- src/nxt_websocket_header.h.orig	2020-10-08 16:04:40.000000000 +0000
|+++ src/nxt_websocket_header.h
--------------------------
Patching file src/nxt_websocket_header.h using Plan A...
Hunk #1 succeeded at 6.
done
===> Creating toolchain wrappers for unit-ruby32-1.31.1
===> Configuring for unit-ruby32-1.31.1
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
configuring Unit 1.31.1 for Darwin 22.6.0 arm64
checking for C compiler: clang
 + using Clang C compiler
 + Apple clang version 15.0.0 (clang-1500.1.0.2.5)
building an "echo" program
checking for endianness ... little endian
checking for int size ... 4
checking for long size ... 8
checking for long long size ... 8
checking for void * size ... 8
checking for size_t size ... 8
checking for off_t size ... 8
checking for time_t size ... 8
checking for C99 variadic macro ... found
checking for GCC __builtin_expect() ... found
checking for GCC __builtin_unreachable() ... found
checking for GCC __builtin_prefetch() ... found
checking for GCC __builtin_clz() ... found
checking for GCC __builtin_popcount() ... found
checking for GCC __attribute__ visibility ... found
checking for GCC __attribute__ aligned ... found
checking for GCC __attribute__ malloc ... found
checking for GCC __attribute__ packed ... found
checking for GCC __attribute__ unused ... found
checking for GCC builtin atomic operations ... found
checking for posix_memalign() ... found
checking for Linux malloc_usable_size() ... not found
checking for FreeBSD malloc_usable_size() ... not found
checking for MacOSX malloc_good_size() ... found
checking for alloca() ... found
checking for Linux mallopt() ... not found
checking for MAP_ANON ... found
checking for MAP_POPULATE ... not found
checking for MAP_PREFAULT_READ ... not found
checking for shm_open() ... found
checking for shm_open(SHM_ANON) ... not found
checking for memfd_create() ... not found
checking for Linux clock_gettime(CLOCK_REALTIME_COARSE) ... not found
checking for FreeBSD clock_gettime(CLOCK_REALTIME_FAST) ... not found
checking for clock_gettime(CLOCK_REALTIME) ... found
checking for Linux clock_gettime(CLOCK_MONOTONIC_COARSE) ... not found
checking for FreeBSD clock_gettime(CLOCK_MONOTONIC_FAST) ... not found
checking for clock_gettime(CLOCK_MONOTONIC) ... found
checking for HP-UX hg_gethrtime() ... not found
checking for struct tm.tm_gmtoff ... found
checking for altzone ... not found
checking for localtime_r() ... found
checking for pthread_yield() ... not found
checking for pthread_yield_np() ... found
checking for pthread spinlock ... not found
checking for sem_timedwait() ... not found
checking for sem_timedwait() in librt ... not found
checking for __thread ... found
checking for Linux epoll ... not found
checking for kqueue ... found
checking for kqueue EVFILT_USER ... found
checking for Solaris event port ... not found
checking for /dev/poll ... not found
checking for AIX pollset ... not found
checking for AF_INET6 ... found
checking for sockaddr.sa_len ... found
checking for struct sockaddr size ... 16
checking for struct sockaddr_in size ... 16
checking for struct sockaddr_in6 size ... 28
checking for struct sockaddr_un size ... 106
checking for struct sockaddr_storage size ... 128
checking for socketpair(AF_UNIX, SOCK_SEQPACKET) ... found but is not working
checking for struct msghdr.msg_control ... found
checking for sockopt SO_PASSCRED ... not found
checking for struct cmsgcred ... not found
checking for sys/filio.h ... found
checking for ioctl(FIONBIO) ... found
checking for socket(SOCK_NONBLOCK) ... not found
checking for accept4() ... not found
checking for Linux sendfile() ... not found
checking for FreeBSD sendfile() ... not found
checking for MacOSX sendfile() ... found
checking for posix_fadvise() ... not found
checking for fcntl(F_READAHEAD) ... not found
checking for fcntl(F_RDAHEAD) ... found
checking for openat2() ... not found
checking for getrandom() ... not found
checking for SYS_getrandom in Linux ... not found
checking for getentropy() ... found
checking for ucontext ... not found
checking for _XOPEN_SOURCE ucontext ... not found
checking for dlopen() ... found
checking for setproctitle() ... not found
checking for getgrouplist() ... found
checking for OpenSSL library ... found
checking for OpenSSL version ... "OpenSSL 3.3.0 9 Apr 2024"
checking for OpenSSL SSL_CONF_cmd() ... found
checking for OpenSSL tlsext support ... found
checking for PCRE2 library ... found
 + PCRE2 version: 10.43
checking for Linux unshare() ... not found
checking for Linux pivot_root() ... not found
checking for <mntent.h> ... not found
checking for prctl(PR_SET_NO_NEW_PRIVS) ... not found
checking for prctl(PR_SET_CHILD_SUBREAPER) ... not found
checking for Linux mount() ... not found
checking for FreeBSD nmount() ... not found
checking for Linux umount2() ... not found
checking for unmount() ... found
checking for Linux capability ... not found
creating build/Makefile

Unit configuration summary:

  bin directory: ............. "/opt/pkg/bin"
  sbin directory: ............ "/opt/pkg/sbin"
  lib directory: ............. "/opt/pkg/lib"
  include directory: ......... "/opt/pkg/include"
  pkgconfig directory: ....... "/opt/pkg/share/pkgconfig"
  man pages directory: ....... "/opt/pkg/share/man"
  modules directory: ......... "/opt/pkg/libexec/unit/modules"
  state directory: ........... "/var/db/unit"
  tmp directory: ............. "/var/tmp"

  pid file: .................. "/var/run/unit.pid"
  log file: .................. "/var/log/unit/unit.log"

  control API socket: ........ "unix:/var/run/unit/control.unit.sock"

  non-privileged user: ....... "unit"
  non-privileged group: ...... "unit"

  IPv6 support: .............. YES
  Unix domain sockets support: YES
  TLS support: ............... YES
  Regex support: ............. YES
  NJS support: ............... NO

  process isolation: ......... NO
  cgroupv2: .................. NO

  debug logging: ............. NO

configuring Ruby module
checking for -fdeclspec ... found
checking for Ruby library ... /opt/pkg/lib
checking for Ruby version ... 3.2.3
 + Ruby module: ruby32.unit.so