=> Checksum BLAKE2s OK for 1ac658f44afc9240f13e9d6c1c9d5a7816299e8e.patch => Checksum SHA512 OK for 1ac658f44afc9240f13e9d6c1c9d5a7816299e8e.patch => Checksum BLAKE2s OK for naxsi-1.7-src-with-deps.tar.gz => Checksum SHA512 OK for naxsi-1.7-src-with-deps.tar.gz => Checksum BLAKE2s OK for nginx-1.27.5.tar.gz => Checksum SHA512 OK for nginx-1.27.5.tar.gz => Checksum BLAKE2s OK for nginx-dav-ext-module-3.0.0.tar.gz => Checksum SHA512 OK for nginx-dav-ext-module-3.0.0.tar.gz ===> Installing dependencies for nginx-devel-1.27.5nb1 ========================================================================== 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-dav nginx-geoip nginx-gzip nginx-http2 nginx-http3 nginx-memcache nginx-naxsi nginx-perl 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 = dav status realip uwsgi memcache naxsi perl gzip ========================================================================== ERROR: Deprecated option geoip used, use option nginx-geoip instead. ERROR: Deprecated option http2 used, use option nginx-http2 instead. ERROR: Deprecated option ssl used, use option nginx-ssl instead. ERROR: Deprecated option dav used, use option nginx-dav instead. ERROR: Deprecated option status used, use option nginx-status instead. ERROR: Deprecated option realip used, use option nginx-realip instead. ERROR: Deprecated option uwsgi used, use option nginx-uwsgi instead. ERROR: Deprecated option memcache used, use option nginx-memcache instead. ERROR: Deprecated option naxsi used, use option nginx-naxsi instead. ERROR: Deprecated option perl used, use option nginx-perl instead. ERROR: Deprecated option gzip used, use option nginx-gzip instead. ========================================================================== The following variables will affect the build process of this package, nginx-devel-1.27.5nb1. Their current value is shown below: * NGINX_DATADIR = /var/db/nginx * NGINX_LOGDIR = /var/log/nginx * NGINX_PIDDIR = /var/run * PERL5_SITEPREFIX = /opt/pkg * SSLBASE (defined) * SSLCERTBUNDLE (not defined) * SSLCERTS = /opt/pkg/etc/openssl/certs * SSLDIR = /opt/pkg/etc/openssl * SSLKEYS = /opt/pkg/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 `/opt/pkg/bin/bmake clean' after the changes. ========================================================================== => 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 GeoIP>=1.3.4nb1: found GeoIP-1.6.12nb1 => Full dependency libxml2>=2.14.2nb1: found libxml2-2.14.2nb1 => Full dependency libxslt>=1.1.42nb4: found libxslt-1.1.42nb4 => Full dependency openssl>=3: found openssl-3.4.1 => Full dependency pcre2>=10.30: found pcre2-10.45 => Full dependency perl>=5.40.0<5.41.0: found perl-5.40.2 => Full dependency zlib>=1.2.3: found zlib-1.3.1 => Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5 => Full dependency libiconv>=1.9.1: found libiconv-1.17 => Full dependency libgcrypt>=1.2.0: found libgcrypt-1.11.0nb2 => Full dependency libgpg-error>=0.6: found libgpg-error-1.53 => Full dependency xz>=5.0.0: found xz-5.8.1 ===> Overriding tools for nginx-devel-1.27.5nb1 ===> Extracting for nginx-devel-1.27.5nb1 ===> Patching for nginx-devel-1.27.5nb1 => Applying distribution patches for nginx-devel-1.27.5nb1 => Applying distribution patch 1ac658f44afc9240f13e9d6c1c9d5a7816299e8e.patch 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 with fuzz 2. 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.5nb1 => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/www/nginx-devel/patches/patch-auto_cc_conf => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/www/nginx-devel/patches/patch-auto_cc_conf Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-auto_cc_conf,v 1.1 2023/04/18 18:42:00 osa Exp $ | |Add support for LDFLAGS | |--- auto/cc/conf.orig 2017-07-11 13:24:06.000000000 +0000 |+++ auto/cc/conf -------------------------- Patching file auto/cc/conf using Plan A... Hunk #1 succeeded at 3. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/www/nginx-devel/patches/patch-auto_install => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/www/nginx-devel/patches/patch-auto_install Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-auto_install,v 1.2 2016/06/15 14:53:48 fhajny Exp $ | |Do not create PID directory. | |--- auto/install.orig 2016-05-31 13:43:50.000000000 +0000 |+++ auto/install -------------------------- Patching file auto/install using Plan A... Hunk #1 succeeded at 148. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/www/nginx-devel/patches/patch-conf_nginx.conf => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/www/nginx-devel/patches/patch-conf_nginx.conf Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-conf_nginx.conf,v 1.3 2025/02/19 16:54:31 wiz Exp $ | |Adapt config file for pkgsrc. | |--- conf/nginx.conf.orig 2014-04-24 12:52:24.000000000 +0000 |+++ conf/nginx.conf -------------------------- Patching file conf/nginx.conf using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 39. Hunk #3 succeeded at 52. Hunk #4 succeeded at 68. Hunk #5 succeeded at 88. Hunk #6 succeeded at 110. done /opt/pkg/bin/nbsed -i.bak '308,309s/MSIZE/NAXSI_MSIZE/g' /Users/pbulk/build/www/nginx-devel/work/nginx-1.27.5/../naxsi_src/libinjection/src/libinjection_sqli.c ===> Creating toolchain wrappers for nginx-devel-1.27.5nb1 ===> Configuring for nginx-devel-1.27.5nb1 => Substituting "fix-geo" in auto/lib/geoip/conf => Substituting "fix-pcre2" in auto/lib/pcre/conf => Substituting "fix-ssl" in auto/lib/openssl/conf => Substituting "fix-xslt" in auto/lib/libxslt/conf => Substituting "paths" in conf/nginx.conf => Fixing locale directory references. checking for OS + Darwin 23.5.0 arm64 checking for C compiler ... found + using Clang C compiler checking for --with-ld-opt="-L/opt/pkg/lib -L/opt/pkg/lib" ... found checking for -Wl,-E switch ... not 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 Darwin specific features + kqueue found checking for kqueue's EVFILT_TIMER ... found checking for Darwin 64-bit kqueue millisecond timeout bug ... not found checking for sendfile() ... found checking for atomic(3) ... found checking for poll() ... found checking for /dev/poll ... not found checking for crypt() ... found checking for F_READAHEAD ... not found checking for posix_fadvise() ... not found checking for O_DIRECT ... not found checking for F_NOCACHE ... found checking for directio() ... not found checking for statfs() ... 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 ... not found checking for SO_BINDANY ... not found checking for IP_TRANSPARENT ... not found checking for IP_BINDANY ... not found checking for IP_BIND_ADDRESS_NO_PORT ... not found checking for IP_RECVDSTADDR ... found checking for IP_SENDSRCADDR ... not 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 ... found checking for IPV6_DONTFRAG ... found checking for TCP_DEFER_ACCEPT ... not found checking for TCP_KEEPIDLE ... not found checking for TCP_FASTOPEN ... found checking for TCP_INFO ... not found checking for accept4() ... not found checking for int size ... 4 bytes checking for long size ... 8 bytes checking for long long size ... 8 bytes checking for void * size ... 8 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 ... 8 bytes checking for off_t size ... 8 bytes checking for time_t size ... 8 bytes checking for AF_INET6 ... found checking for setproctitle() ... not 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 but is not working checking for System V shared memory ... found checking for POSIX semaphores ... found but is not working checking for POSIX semaphores in libpthread ... found but is not working checking for POSIX semaphores in librt ... not 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 configuring additional modules adding module in ..//naxsi_src Using submodule libinjection + naxsi was configured adding module in ../nginx-dav-ext-module-3.0.0 + ngx_http_dav_ext_module was configured checking for PCRE2 library ... found checking for OpenSSL library ... found checking for OpenSSL QUIC support ... not found checking for OpenSSL QUIC compatibility ... found checking for zlib library ... found checking for libxslt ... found checking for libexslt ... found checking for perl + perl version: This is perl 5, version 40, subversion 2 (v5.40.2) built for darwin-thread-multi-2level + perl interpreter multiplicity found checking for GeoIP library ... found checking for GeoIP IPv6 support ... found creating objs/Makefile Configuration summary + using system PCRE2 library + using system OpenSSL library + using system zlib library nginx path prefix: "/opt/pkg" nginx binary file: "/opt/pkg/sbin" nginx modules path: "/opt/pkg/modules" nginx configuration prefix: "/opt/pkg/etc/nginx" nginx configuration file: "/opt/pkg/etc/nginx/nginx.conf" nginx pid file: "/var/run/nginx.pid" nginx error log file: "/var/log/nginx/error.log" nginx http access log file: "/var/log/nginx/access.log" nginx http client request body temporary files: "/var/db/nginx/client_body_temp" nginx http proxy temporary files: "/var/db/nginx/proxy_temp" nginx http fastcgi temporary files: "/var/db/nginx/fstcgi_temp" nginx http uwsgi temporary files: "/var/db/nginx/uwsgi_temp" nginx http scgi temporary files: "/var/db/nginx/scgi_temp"