=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for 1ac658f44afc9240f13e9d6c1c9d5a7816299e8e.patch => Checksum SHA512 OK for 1ac658f44afc9240f13e9d6c1c9d5a7816299e8e.patch => Checksum BLAKE2s OK for nginx-1.27.4.tar.gz => Checksum SHA512 OK for nginx-1.27.4.tar.gz ===> Installing dependencies for nginx-devel-1.27.4nb1 ========================================================================== The supported build options for nginx-devel are: nginx-array-var nginx-auth-request nginx-cache-purge nginx-dav nginx-debug nginx-dso nginx-echo nginx-encrypted-session nginx-flv nginx-form-input nginx-geoip nginx-geoip2 nginx-gssapi nginx-gtools nginx-gzip nginx-headers-more nginx-http2 nginx-http3 nginx-image-filter nginx-luajit nginx-mail-proxy nginx-memcache nginx-naxsi nginx-njs nginx-njs-xml nginx-perl nginx-push nginx-realip nginx-redis nginx-rtmp nginx-secure-link nginx-set-misc nginx-slice nginx-ssl nginx-status nginx-stream-ssl-preread nginx-sts nginx-sub nginx-upload nginx-uwsgi nginx-vts The currently selected options are: nginx-auth-request nginx-gzip nginx-http2 nginx-http3 nginx-memcache nginx-realip nginx-slice nginx-ssl nginx-status nginx-uwsgi You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.nginx-devel (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, nginx-devel-1.27.4nb1. Their current value is shown below: * NGINX_DATADIR = /var/db/nginx * NGINX_LOGDIR = /var/log/nginx * NGINX_PIDDIR = /var/run * SSLBASE = /usr * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /etc/openssl/private * 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 mktools-[0-9]*: found mktools-20250213 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Full dependency pcre2>=10.30: found pcre2-10.45 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for nginx-devel-1.27.4nb1 ===> Extracting for nginx-devel-1.27.4nb1 ===> Patching for nginx-devel-1.27.4nb1 => Applying distribution patches for nginx-devel-1.27.4nb1 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |From 1ac658f44afc9240f13e9d6c1c9d5a7816299e8e Mon Sep 17 00:00:00 2001 |From: Maxim Dounin |Date: Mon, 6 May 2024 00:07:33 +0300 |Subject: [PATCH] Fixed compilation on NetBSD 10. | |NetBSD 10 changed struct kevent's udata type from "intptr_t" to "void *", |similarly to how it is defined on other systems. This breaks compilation, |since intptr_t is assumed on NetBSD. | |Fix is to limit special intptr_t handling to NetBSD versions before 10.0. |To simplify testing, relevant definitions are moved from configure to code |(which seems to be the right thing anyway). |--- | auto/unix | 20 -------------------- | src/os/unix/ngx_darwin_config.h | 1 + | src/os/unix/ngx_freebsd_config.h | 1 + | src/os/unix/ngx_posix_config.h | 10 ++++++++++ | 4 files changed, 12 insertions(+), 20 deletions(-) | |diff --git a/auto/unix b/auto/unix |index f29e69c61..b4165d9ba 100644 |--- a/auto/unix |+++ b/auto/unix -------------------------- Patching file auto/unix using Plan A... Hunk #1 succeeded at 129. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/src/os/unix/ngx_darwin_config.h b/src/os/unix/ngx_darwin_config.h |index 0dfe63374..37f59fac9 100644 |--- a/src/os/unix/ngx_darwin_config.h |+++ b/src/os/unix/ngx_darwin_config.h -------------------------- Patching file src/os/unix/ngx_darwin_config.h using Plan A... Hunk #1 succeeded at 74. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/src/os/unix/ngx_freebsd_config.h b/src/os/unix/ngx_freebsd_config.h |index c641108b7..2cbd85b73 100644 |--- a/src/os/unix/ngx_freebsd_config.h |+++ b/src/os/unix/ngx_freebsd_config.h -------------------------- Patching file src/os/unix/ngx_freebsd_config.h using Plan A... Hunk #1 succeeded at 85. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/src/os/unix/ngx_posix_config.h b/src/os/unix/ngx_posix_config.h |index 2a8c413e0..bdd62591e 100644 |--- a/src/os/unix/ngx_posix_config.h |+++ b/src/os/unix/ngx_posix_config.h -------------------------- Patching file src/os/unix/ngx_posix_config.h using Plan A... Hunk #1 succeeded at 124. done => Applying pkgsrc patches for nginx-devel-1.27.4nb1 ===> Creating toolchain wrappers for nginx-devel-1.27.4nb1 ===> Configuring for nginx-devel-1.27.4nb1 => Substituting "fix-pcre2" in auto/lib/pcre/conf => Substituting "fix-ssl" in auto/lib/openssl/conf => Substituting "paths" in conf/nginx.conf => Fixing locale directory references. checking for OS + NetBSD 10.0 i386 checking for C compiler ... found + using GNU C compiler checking for --with-ld-opt="-L/usr/pkg/lib -Wl,-R/usr/pkg/lib" ... found checking for -Wl,-E switch ... found checking for gcc builtin atomic operations ... found checking for C99 variadic macros ... found checking for gcc variadic macros ... found checking for gcc builtin 64 bit byteswap ... found checking for unistd.h ... found checking for inttypes.h ... found checking for limits.h ... found checking for sys/filio.h ... found checking for sys/param.h ... found checking for sys/mount.h ... found checking for sys/statvfs.h ... found checking for crypt.h ... not found checking for NetBSD specific features checking for poll() ... found checking for /dev/poll ... not found checking for kqueue ... found checking for kqueue's NOTE_LOWAT ... found checking for kqueue's EVFILT_TIMER ... found checking for crypt() ... not found checking for crypt() in libcrypt ... found checking for F_READAHEAD ... not found checking for posix_fadvise() ... found checking for O_DIRECT ... found checking for F_NOCACHE ... not found checking for directio() ... not found checking for statfs() ... not found checking for statvfs() ... found checking for dlopen() ... found checking for sched_yield() ... found checking for sched_setaffinity() ... not found checking for SO_SETFIB ... not found checking for SO_REUSEPORT ... found checking for SO_ACCEPTFILTER ... found checking for SO_BINDANY ... not found checking for IP_TRANSPARENT ... not found checking for IP_BINDANY ... found checking for IP_BIND_ADDRESS_NO_PORT ... not found checking for IP_RECVDSTADDR ... found checking for IP_SENDSRCADDR ... found checking for IP_PKTINFO ... found checking for IPV6_RECVPKTINFO ... found checking for IP_MTU_DISCOVER ... not found checking for IPV6_MTU_DISCOVER ... not found checking for IP_DONTFRAG ... not found checking for IPV6_DONTFRAG ... found checking for TCP_DEFER_ACCEPT ... not found checking for TCP_KEEPIDLE ... found checking for TCP_FASTOPEN ... not found checking for TCP_INFO ... found checking for accept4() ... found checking for int size ... 4 bytes checking for long size ... 4 bytes checking for long long size ... 8 bytes checking for void * size ... 4 bytes checking for uint32_t ... found checking for uint64_t ... found checking for sig_atomic_t ... found checking for sig_atomic_t size ... 4 bytes checking for socklen_t ... found checking for in_addr_t ... found checking for in_port_t ... found checking for rlim_t ... found checking for uintptr_t ... uintptr_t found checking for system byte ordering ... little endian checking for size_t size ... 4 bytes checking for off_t size ... 8 bytes checking for time_t size ... 8 bytes checking for AF_INET6 ... found checking for setproctitle() ... found checking for pread() ... found checking for pwrite() ... found checking for pwritev() ... found checking for strerrordesc_np() ... not found checking for sys_nerr ... found checking for localtime_r() ... found checking for clock_gettime(CLOCK_MONOTONIC) ... found checking for posix_memalign() ... found checking for memalign() ... not found checking for mmap(MAP_ANON|MAP_SHARED) ... found checking for mmap("/dev/zero", MAP_SHARED) ... found checking for System V shared memory ... found checking for POSIX semaphores ... not found checking for POSIX semaphores in libpthread ... found checking for struct msghdr.msg_control ... found checking for ioctl(FIONBIO) ... found checking for ioctl(FIONREAD) ... found checking for struct tm.tm_gmtoff ... found checking for struct dirent.d_namlen ... found checking for struct dirent.d_type ... found checking for sysconf(_SC_NPROCESSORS_ONLN) ... found checking for sysconf(_SC_LEVEL1_DCACHE_LINESIZE) ... not found checking for openat(), fstatat() ... found checking for getaddrinfo() ... found checking for PCRE2 library ... not found checking for PCRE library ... not found checking for PCRE library in /usr/local/ ... not found checking for PCRE library in /usr/include/pcre/ ... not found checking for PCRE library in /usr/pkg/ ... not found checking for PCRE library in /opt/local/ ... not found checking for PCRE library in /opt/homebrew/ ... not found ./configure: error: the HTTP rewrite module requires the PCRE library. You can either disable the module by using --without-http_rewrite_module option, or install the PCRE library into the system, or build the PCRE library statically from the source with nginx by using --with-pcre= option. *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/www/nginx-devel *** Error code 1 Stop. make: stopped in /usr/pkgsrc/www/nginx-devel