=> Checksum BLAKE2s OK for c_icap-0.5.5.tar.gz
=> Checksum SHA512 OK for c_icap-0.5.5.tar.gz
===> Installing dependencies for c-icap-0.5.5nb7
==========================================================================
The supported build options for c-icap are:

	bdb brotli bzip2 ldap memcached openssl pcre
	perl zlib

The currently selected options are:

	bdb bzip2 ldap memcached openssl perl zlib

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

	PKG_OPTIONS.c-icap (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
c-icap-0.5.5nb7.  Their current value is shown below:

        * BDB185_DEFAULT = db1
        * BDB_DEFAULT = db4
        * 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:

        * BDBBASE (defined, but empty)
        * BDB_LIBS = -ldb4
        * BDB_TYPE = db4

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 gmake>=3.81: found gmake-4.4.1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency perl>=5.40.0: found perl-5.40.2
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency bzip2>=1.0.3: found bzip2-1.0.8
=> Full dependency db4>=4.8.30: found db4-4.8.30nb1
=> Full dependency libmemcached>=0.53: found libmemcached-1.0.18
=> Full dependency openldap-client>=2.6.6nb1: found openldap-client-2.6.9
=> Full dependency openssl>=3: found openssl-3.4.1
=> 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 cyrus-sasl>=2.1.12: found cyrus-sasl-2.1.28nb1
===> Overriding tools for c-icap-0.5.5nb7
===> Extracting for c-icap-0.5.5nb7
===> Patching for c-icap-0.5.5nb7
=> Applying pkgsrc patches for c-icap-0.5.5nb7
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/www/c-icap/patches/patch-Makefile.in
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/www/c-icap/patches/patch-Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.in,v 1.5 2019/10/03 16:34:59 sborrill Exp $
|
|Handle configuration files.
|
|--- Makefile.in.orig	2018-09-19 13:43:05.000000000 +0100
|+++ Makefile.in	2019-10-03 13:23:37.000000000 +0100
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 1829.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/www/c-icap/patches/patch-cfg__param.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/www/c-icap/patches/patch-cfg__param.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cfg__param.c,v 1.4 2019/10/03 16:34:59 sborrill Exp $
|
|Fix compilation.
|
|--- cfg_param.c.orig	2018-09-13 15:15:05.000000000 +0100
|+++ cfg_param.c	2019-10-03 13:26:05.000000000 +0100
--------------------------
Patching file cfg_param.c using Plan A...
Hunk #1 succeeded at 780.
Hunk #2 succeeded at 820.
Hunk #3 succeeded at 839.
Hunk #4 succeeded at 871.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/www/c-icap/patches/patch-configure
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/www/c-icap/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.11 2019/10/14 11:00:56 sborrill Exp $
|
|Link against librt on NetBSD, too.
|Link-test for shm_* functions.
|
|--- configure.orig	2018-09-19 13:43:03.000000000 +0100
|+++ configure	2019-10-14 11:48:42.000000000 +0100
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 16264.
Hunk #2 succeeded at 16289.
Hunk #3 succeeded at 16308.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/www/c-icap/patches/patch-modules_memcached.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/www/c-icap/patches/patch-modules_memcached.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-modules_memcached.c,v 1.1 2023/07/09 09:50:47 nia Exp $
|
|Confusingly this header seems to both not exist and not be required.
|
|--- modules/memcached.c.orig	2017-10-21 06:57:48.000000000 +0000
|+++ modules/memcached.c
--------------------------
Patching file modules/memcached.c using Plan A...
Hunk #1 succeeded at 47.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/www/c-icap/patches/patch-os_unix_shared_mem.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/www/c-icap/patches/patch-os_unix_shared_mem.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-os_unix_shared_mem.c,v 1.2 2017/05/08 09:18:31 sborrill Exp $
|
|Support MAP_ANON as a synonym of MAP_ANONYMOUS
|
|--- os/unix/shared_mem.c.orig	2017-04-24 14:00:54.000000000 +0000
|+++ os/unix/shared_mem.c	2017-04-24 14:00:57.000000000 +0000
--------------------------
Patching file os/unix/shared_mem.c using Plan A...
Hunk #1 succeeded at 29.
done
===> Creating toolchain wrappers for c-icap-0.5.5nb7
===> Configuring for c-icap-0.5.5nb7
=> Fixing paths.
=> 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 whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g staff
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... /opt/pkg/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... aarch64-apple-darwin23
checking host system type... aarch64-apple-darwin23
checking for style of include used by make... GNU
checking for aarch64-apple-darwin23-gcc... 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 we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether clang understands -c and -o together... yes
checking dependency style of clang... gcc3
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gawk... (cached) /opt/pkg/bin/nawk
checking for aarch64-apple-darwin23-gcc... (cached) clang
checking whether we are using the GNU C compiler... (cached) yes
checking whether clang accepts -g... (cached) yes
checking for clang option to accept ISO C89... (cached) none needed
checking whether clang understands -c and -o together... (cached) yes
checking dependency style of clang... (cached) gcc3
checking whether byte ordering is bigendian... no
checking how to print strings... print -r
checking for a sed that does not truncate output... /opt/pkg/bin/nbsed
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 1048576
checking how to convert aarch64-apple-darwin23 file names to aarch64-apple-darwin23 format... func_convert_file_noop
checking how to convert aarch64-apple-darwin23 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for aarch64-apple-darwin23-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for aarch64-apple-darwin23-dlltool... dlltool
checking how to associate runtime and link libraries... print -r --
checking for aarch64-apple-darwin23-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for aarch64-apple-darwin23-strip... no
checking for strip... strip
checking for aarch64-apple-darwin23-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for aarch64-apple-darwin23-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for aarch64-apple-darwin23-dsymutil... no
checking for dsymutil... dsymutil
checking for aarch64-apple-darwin23-nmedit... no
checking for nmedit... nmedit
checking for aarch64-apple-darwin23-lipo... no
checking for lipo... lipo
checking for aarch64-apple-darwin23-otool... no
checking for otool... otool
checking for aarch64-apple-darwin23-otool64... no
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin23 dyld
checking how to hardcode library paths into programs... immediate
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for __attribute__((visibility("default")))... no
checking whether large file support should enabled:yes
checking Keep library compatibility... no
checking for doxygen... no
checking for OpenSSL library... no
checking for dlopen in -ldl... (cached) yes
checking for inflate in -lz... yes
checking for BZ2_bzDecompressInit in -lbz2... yes
configure: WARNING: "brotli required for the c-icap's internal filetype recognizer!"
checking for BerleleyDB v under /opt/pkg...no
checking for BerleleyDB v6 under /opt/pkg...no
checking for BerleleyDB v6.3 under /opt/pkg...no
checking for BerleleyDB v6.2 under /opt/pkg...no
checking for BerleleyDB v6.1 under /opt/pkg...no
checking for BerleleyDB v6.0 under /opt/pkg...no
checking for BerleleyDB v5 under /opt/pkg...no
checking for BerleleyDB v5.4 under /opt/pkg...no
checking for BerleleyDB v5.3 under /opt/pkg...no
checking for BerleleyDB v5.2 under /opt/pkg...no
checking for BerleleyDB v5.1 under /opt/pkg...no
checking for BerleleyDB v5.0 under /opt/pkg...no
checking for BerleleyDB v4 under /opt/pkg...yes
checking for ldap_search_ext_s in -lldap... yes
checking libmemcached/memcached.h usability... yes
checking libmemcached/memcached.h presence... yes
checking for libmemcached/memcached.h... yes
checking for ANSI C header files... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for off_t... yes
checking size of off_t... 8
checking size of void *... 8
checking for uint8_t... yes
checking for int8_t... yes
checking for uint64_t... yes
checking for int64_t... yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking for nanosleep... yes
checking for inet_aton... yes
checking for strnstr... yes
checking for strcasestr... yes
checking for strncasestr... no
checking for setgroups... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking for poll... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking for mmap... yes
checking for munmap... yes
checking if union semun defined... yes
checking if posix 1003.1b interprocess semaphores works... no
checking if fcntl file locking works... yes
checking if posix shared mem works... yes
checking if have pthread_rwlock... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating include/c-icap-conf.h
config.status: creating Makefile
config.status: creating utils/Makefile
config.status: creating services/Makefile
config.status: creating services/echo/Makefile
config.status: creating services/ex-206/Makefile
config.status: creating modules/Makefile
config.status: creating tests/Makefile
config.status: creating docs/Makefile
config.status: creating docs/man/Makefile
config.status: creating autoconf.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
=> Fixing LDAP.