=> Bootstrap dependency digest>=20010302: found digest-20160304
===> 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'.
=> Checksum SHA1 OK for c_icap-0.4.4.tar.gz
=> Checksum RMD160 OK for c_icap-0.4.4.tar.gz
=> Checksum SHA512 OK for c_icap-0.4.4.tar.gz
===> Installing dependencies for c-icap-0.4.4
==========================================================================
The supported build options for c-icap are:

	bdb ldap perl

The currently selected options are:

	bdb ldap perl

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.4.4.  Their current value is shown below:

        * BDB185_DEFAULT = db1
        * BDB_DEFAULT = db4
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /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 their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6
=> Tool dependency gmake>=3.81: found gmake-4.1nb3
=> Tool dependency perl>=5.24.0: found perl-5.24.1
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20170112
=> Full dependency db4>=4.8.30: found db4-4.8.30
=> Full dependency perl<5.26.0: found perl-5.24.1
=> Full dependency perl>=5.24.0: found perl-5.24.1
===> Overriding tools for c-icap-0.4.4
===> Extracting for c-icap-0.4.4
===> Patching for c-icap-0.4.4
=> Applying pkgsrc patches for c-icap-0.4.4
=> Verifying /data/pkgsrc/www/c-icap/patches/patch-Makefile.in
=> Applying pkgsrc patch /data/pkgsrc/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.4 2017/02/06 14:14:48 adam Exp $
|
|Handle configuration files.
|
|--- Makefile.in.orig	2016-09-21 12:09:38.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 1748.
done
=> Verifying /data/pkgsrc/www/c-icap/patches/patch-cfg__param.c
=> Applying pkgsrc patch /data/pkgsrc/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.3 2017/02/06 14:14:48 adam Exp $
|
|Fix compilation.
|
|--- cfg_param.c.orig	2015-08-27 09:01:51.000000000 +0000
|+++ cfg_param.c
--------------------------
Patching file cfg_param.c using Plan A...
Hunk #1 succeeded at 699.
Hunk #2 succeeded at 742.
Hunk #3 succeeded at 761.
Hunk #4 succeeded at 793.
done
=> Verifying /data/pkgsrc/www/c-icap/patches/patch-configure
=> Applying pkgsrc patch /data/pkgsrc/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.8 2017/04/24 14:35:01 sborrill Exp $
|
|Detect Berkeley DB.
|Link against librt on NetBSD, too.
|Link-test for shm_* functions.
|
|--- /pkg_comp/obj/pkgsrc/www/c-icap/default/c_icap-0.4.4/configure.orig	2016-09-21 12:09:36.000000000 +0000
|+++ /pkg_comp/obj/pkgsrc/www/c-icap/default/c_icap-0.4.4/configure	2017-04-24 14:23:58.000000000 +0000
--------------------------
No file to patch.  Skipping...
Hunk #1 ignored at 13210.
Hunk #2 ignored at 13228.
Hunk #3 ignored at 14545.
Hunk #4 ignored at 14570.
Hunk #5 ignored at 14589.
5 out of 5 hunks ignored--saving rejects to /pkg_comp/obj/pkgsrc/www/c-icap/default/c_icap-0.4.4/configure.rej
Can't create /pkg_comp/obj/pkgsrc/www/c-icap/default/c_icap-0.4.4/configure.rej, output is in /tmp/patchr7kc8Gtz55b: No such file or directory
done
Patch /data/pkgsrc/www/c-icap/patches/patch-configure failed
=> Verifying /data/pkgsrc/www/c-icap/patches/patch-os_unix_shared_mem.c
=> Applying pkgsrc patch /data/pkgsrc/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.1 2017/04/24 14:35:01 sborrill Exp $
|
|Support MAP_ANON as a synonym of MAP_ANONYMOUS
|
|--- /pkg_comp/obj/pkgsrc/www/c-icap/default/c_icap-0.4.4/os/unix/shared_mem.c.orig	2017-04-24 14:00:54.000000000 +0000
|+++ /pkg_comp/obj/pkgsrc/www/c-icap/default/c_icap-0.4.4/os/unix/shared_mem.c	2017-04-24 14:00:57.000000000 +0000
--------------------------
No file to patch.  Skipping...
Hunk #1 ignored at 29.
1 out of 1 hunks ignored--saving rejects to /pkg_comp/obj/pkgsrc/www/c-icap/default/c_icap-0.4.4/os/unix/shared_mem.c.rej
Can't create /pkg_comp/obj/pkgsrc/www/c-icap/default/c_icap-0.4.4/os/unix/shared_mem.c.rej, output is in /tmp/patchrZ9GDuyPrEG: No such file or directory
done
Patch /data/pkgsrc/www/c-icap/patches/patch-os_unix_shared_mem.c failed
ERROR: Patching failed due to modified or broken patch file(s):
ERROR: 	/data/pkgsrc/www/c-icap/patches/patch-configure
ERROR: 	/data/pkgsrc/www/c-icap/patches/patch-os_unix_shared_mem.c
ERROR: ==========================================================================
ERROR:
ERROR: Some of the selected build options and/or local patches may be incompatible.
ERROR: Please try building with fewer options or patches.
ERROR:
ERROR: ==========================================================================
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/www/c-icap
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/www/c-icap
