=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for unit-1.22.0.tar.gz
=> Checksum RMD160 OK for unit-1.22.0.tar.gz
=> Checksum SHA512 OK for unit-1.22.0.tar.gz
===> Installing dependencies for unit-ruby27-1.22.0
==========================================================================
The supported build options for unit-ruby27 are:

	debug inet6 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-ruby27-1.22.0.  Their current value is shown below:

        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/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
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency bsdtar-[0-9]*: found bsdtar-3.4.3
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency ruby27-base>=2.7.3: found ruby27-base-2.7.3
=> Full dependency pcre2>=10.30: found pcre2-10.36
=> Full dependency openssl>=1.1.1dnb2: found openssl-1.1.1k
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Overriding tools for unit-ruby27-1.22.0
===> Extracting for unit-ruby27-1.22.0
===> Patching for unit-ruby27-1.22.0
=> Applying pkgsrc patches for unit-ruby27-1.22.0
=> Verifying /tree/pkgsrc/www/unit-ruby/../../www/unit/patches/patch-auto_events
=> Applying pkgsrc patch /tree/pkgsrc/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.1 2021/02/14 11:56:57 otis Exp $
|
|Prefer eventports on SunOS
|
|--- auto/events.orig	2021-02-04 15:22:33.000000000 +0000
|+++ auto/events
--------------------------
Patching file auto/events using Plan A...
Hunk #1 succeeded at 5.
done
=> Verifying /tree/pkgsrc/www/unit-ruby/../../www/unit/patches/patch-auto_os_conf
=> Applying pkgsrc patch /tree/pkgsrc/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 /tree/pkgsrc/www/unit-ruby/../../www/unit/patches/patch-src_nxt__cert.c
=> Applying pkgsrc patch /tree/pkgsrc/www/unit-ruby/../../www/unit/patches/patch-src_nxt__cert.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_nxt__cert.c,v 1.1 2021/02/14 11:56:57 otis Exp $
|
|Use more portable way to find regular files.
|
|--- src/nxt_cert.c.orig	2020-10-08 16:04:40.000000000 +0000
|+++ src/nxt_cert.c
--------------------------
Patching file src/nxt_cert.c using Plan A...
Hunk #1 succeeded at 9.
Hunk #2 succeeded at 812.
Hunk #3 succeeded at 842.
done
=> Verifying /tree/pkgsrc/www/unit-ruby/../../www/unit/patches/patch-src_nxt__conf__validation.c
=> Applying pkgsrc patch /tree/pkgsrc/www/unit-ruby/../../www/unit/patches/patch-src_nxt__conf__validation.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_nxt__conf__validation.c,v 1.1 2021/02/14 11:56:57 otis Exp $
|
|NetBSD portability,
|https://mail-index.netbsd.org/tech-userlevel/2014/08/15/msg008729.html
|
|This patch is going to be reviewed by the vendor.
|
|--- src/nxt_conf_validation.c.orig	2020-11-20 11:59:37.258205794 -0500
|+++ src/nxt_conf_validation.c	2020-11-20 12:11:43.940557782 -0500
--------------------------
Patching file src/nxt_conf_validation.c using Plan A...
Hunk #1 succeeded at 1459 (offset 33 lines).
done
=> Verifying /tree/pkgsrc/www/unit-ruby/../../www/unit/patches/patch-src_nxt__kqueue__engine.c
=> Applying pkgsrc patch /tree/pkgsrc/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 /tree/pkgsrc/www/unit-ruby/../../www/unit/patches/patch-src_nxt__php__sapi.c
=> Applying pkgsrc patch /tree/pkgsrc/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 1191.
done
=> Verifying /tree/pkgsrc/www/unit-ruby/../../www/unit/patches/patch-src_nxt__router.c
=> Applying pkgsrc patch /tree/pkgsrc/www/unit-ruby/../../www/unit/patches/patch-src_nxt__router.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_nxt__router.c,v 1.1 2021/02/14 11:56:57 otis Exp $
|
|Silence warning.
|
|This patch is going to be reviewed by the vendor.
|
|--- src/nxt_router.c.orig	2020-10-08 16:04:40.000000000 +0000
|+++ src/nxt_router.c
--------------------------
Patching file src/nxt_router.c using Plan A...
Hunk #1 succeeded at 3726 (offset 34 lines).
done
=> Verifying /tree/pkgsrc/www/unit-ruby/../../www/unit/patches/patch-src_nxt__unit.c
=> Applying pkgsrc patch /tree/pkgsrc/www/unit-ruby/../../www/unit/patches/patch-src_nxt__unit.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_nxt__unit.c,v 1.1 2021/02/14 11:56:57 otis Exp $
|
|Use more apropriate format specifier for shm prefix.
|
|This patch is going to be reviewed by the vendor.
|
|--- src/nxt_unit.c.orig	2020-11-19 18:12:30.000000000 +0000
|+++ src/nxt_unit.c
--------------------------
Patching file src/nxt_unit.c using Plan A...
Hunk #1 succeeded at 3784 (offset 22 lines).
done
=> Verifying /tree/pkgsrc/www/unit-ruby/../../www/unit/patches/patch-src_nxt__unix.h
=> Applying pkgsrc patch /tree/pkgsrc/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 /tree/pkgsrc/www/unit-ruby/../../www/unit/patches/patch-src_nxt__websocket__header.h
=> Applying pkgsrc patch /tree/pkgsrc/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-ruby27-1.22.0
===> Configuring for unit-ruby27-1.22.0
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
configuring for NetBSD 8.0 evbarm
checking for C compiler: gcc
 + using GNU C compiler
 + gcc version 5.5.0 (nb3 20180905) 
building an "echo" program
checking for int size ... 4
checking for long size ... 4
checking for long long size ... 8
checking for void * size ... 4
checking for size_t size ... 4
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 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() ... not 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() ... not found
checking for shm_open() in librt ... 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() ... not found
checking for pthread spinlock ... found
checking for pthread spinlock zero initial value ... not found
checking for sem_timedwait() ... found
checking for __thread ... found
checking for Linux epoll ... not found
checking for kqueue ... found
checking for kqueue EVFILT_USER ... not 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
checking for struct msghdr.msg_control ... found
checking for sys/filio.h ... found
checking for ioctl(FIONBIO) ... found
checking for socket(SOCK_NONBLOCK) ... found
checking for accept4() ... found
checking for Linux sendfile() ... not found
checking for FreeBSD sendfile() ... not found
checking for MacOSX sendfile() ... not found
checking for posix_fadvise() ... found
checking for fcntl(F_READAHEAD) ... not found
checking for fcntl(F_RDAHEAD) ... not found
checking for getrandom() ... not found
checking for SYS_getrandom in Linux ... not found
checking for getentropy() ... not found
checking for getentropy() in sys/random.h ... not found
checking for ucontext ... found
checking for dlopen() ... found
checking for posix_spawn() ... found
checking for setproctitle() ... found
checking for getgrouplist() ... found
checking for OpenSSL library ... found
checking for OpenSSL version ... "OpenSSL 1.1.1k  25 Mar 2021"
checking for PCRE2 library ... found
 + PCRE2 version: 10.36
checking for clone(2) ... not found
checking for Linux pivot_root() ... not found
checking for prctl(PR_SET_NO_NEW_PRIVS) ... 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: ............. "/usr/pkg/bin"
  sbin directory: ............ "/usr/pkg/sbin"
  lib directory: ............. "/usr/pkg/lib"
  include directory: ......... "/usr/pkg/include"
  modules directory: ......... "/usr/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

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

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

configuring Ruby module
checking for Ruby library ... /usr/pkg/lib
checking for Ruby version ... 2.7.3
 + Ruby module: ruby.unit.so