=> 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 SQUID-2018_1.patch
=> Checksum RMD160 OK for SQUID-2018_1.patch
=> Checksum SHA512 OK for SQUID-2018_1.patch
=> Checksum SHA1 OK for SQUID-2018_2.patch
=> Checksum RMD160 OK for SQUID-2018_2.patch
=> Checksum SHA512 OK for SQUID-2018_2.patch
=> Checksum SHA1 OK for SQUID-2018_3.patch
=> Checksum RMD160 OK for SQUID-2018_3.patch
=> Checksum SHA512 OK for SQUID-2018_3.patch
=> Checksum SHA1 OK for squid-3.5.27.tar.xz
=> Checksum RMD160 OK for squid-3.5.27.tar.xz
=> Checksum SHA512 OK for squid-3.5.27.tar.xz
===> Installing dependencies for squid-3.5.27nb3
==========================================================================
The supported build options for squid are:

	ecap inet6 snmp squid-arp-acl squid-backend-aufs
	squid-backend-diskd squid-backend-rock squid-backend-ufs
	squid-carp squid-ipf squid-kerberos-helper
	squid-ldap-helper squid-pam-helper squid-pf
	squid-unlinkd ssl

The currently selected options are:

	inet6 snmp squid-backend-diskd squid-carp
	squid-ipf squid-pam-helper squid-unlinkd 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.squid (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
squid-3.5.27nb3.  Their current value is shown below:

        * PAM_DEFAULT = openpam
        * 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:

        * PAMBASE (defined, but empty)

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 gmake>=3.81: found gmake-4.1nb4
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency perl>=5.0: found perl-5.26.2
=> Full dependency libltdl>=2.4.2: found libltdl-2.4.6
===> Overriding tools for squid-3.5.27nb3
===> Extracting for squid-3.5.27nb3
===> Patching for squid-3.5.27nb3
=> Applying distribution patches for squid-3.5.27nb3
=> Applying distribution patch SQUID-2018_1.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|commit eb2db98a676321b814fc4a51c4fb7928a8bb45d9 (refs/remotes/origin/v3.5)
|Author: Amos Jeffries <yadij@users.noreply.github.com>
|Date:   2018-01-19 13:54:14 +1300
|
|    ESI: make sure endofName never exceeds tagEnd (#130)
|
|diff --git a/src/esi/CustomParser.cc b/src/esi/CustomParser.cc
|index d86d2d3..db634d9 100644
|--- a/src/esi/CustomParser.cc
|+++ b/src/esi/CustomParser.cc
--------------------------
Patching file src/esi/CustomParser.cc using Plan A...
Hunk #1 succeeded at 121.
Hunk #2 succeeded at 214.
done
=> Applying distribution patch SQUID-2018_2.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|commit 8232b83d3fa47a1399f155cb829db829369fbae9 (refs/remotes/origin/v3.5)
|Author: squidadm <squidadm@users.noreply.github.com>
|Date:   2018-01-21 08:07:08 +1300
|
|    Fix indirect IP logging for transactions without a client connection (#129) (#136)
|
|diff --git a/src/client_side_request.cc b/src/client_side_request.cc
|index be124f3..203f89d 100644
|--- a/src/client_side_request.cc
|+++ b/src/client_side_request.cc
--------------------------
Patching file src/client_side_request.cc using Plan A...
Hunk #1 succeeded at 488.
done
=> Applying distribution patch SQUID-2018_3.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|commit afcff5ec02ea196704a0f40014b21a53911b4e17 (refs/remotes/origin/v3.5)
|Author: Amos Jeffries <amosjeffries@squid-cache.org>
|Date:   2018-04-17 10:02:25 +1200
|
|    Skip ssl_bump ACL checks for internal requests
|
|diff --git a/src/client_side_request.cc b/src/client_side_request.cc
|index 203f89d..7fb58c2 100644
|--- a/src/client_side_request.cc
|+++ b/src/client_side_request.cc
--------------------------
Patching file src/client_side_request.cc using Plan A...
Hunk #1 succeeded at 1419.
done
=> Applying pkgsrc patches for squid-3.5.27nb3
=> Verifying /data/pkgsrc/www/squid3/patches/patch-compat_compat.h
=> Applying pkgsrc patch /data/pkgsrc/www/squid3/patches/patch-compat_compat.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-compat_compat.h,v 1.1 2015/01/17 10:20:58 adam Exp $
|
|Fix building.
|
|--- compat/compat.h.orig	2015-01-17 10:10:23.000000000 +0000
|+++ compat/compat.h
--------------------------
Patching file compat/compat.h using Plan A...
Hunk #1 succeeded at 46 (offset 8 lines).
done
=> Verifying /data/pkgsrc/www/squid3/patches/patch-compat_debug.cc
=> Applying pkgsrc patch /data/pkgsrc/www/squid3/patches/patch-compat_debug.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-compat_debug.cc,v 1.1 2015/09/23 03:59:04 taca Exp $
|
|Build fix with IP Filter 4.1.34 (NetBSD 6.1 and may be older).
|
|* Avoid to define debug CPP macro.
|* Make the proto typoe of debug() match with IP Filter 4.1.34.
|
|--- compat/debug.cc.orig	2015-09-17 13:06:28.000000000 +0000
|+++ compat/debug.cc
--------------------------
Patching file compat/debug.cc using Plan A...
Hunk #1 succeeded at 12.
done
=> Verifying /data/pkgsrc/www/squid3/patches/patch-compat_debug.h
=> Applying pkgsrc patch /data/pkgsrc/www/squid3/patches/patch-compat_debug.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-compat_debug.h,v 1.1 2015/09/23 03:59:04 taca Exp $
|
|Build fix with IP Filter 4.1.34 (NetBSD 6.1 and may be older).
|
|* Avoid to define debug CPP macro.
|* Make the proto typoe of debug() match with IP Filter 4.1.34.
|
|--- compat/debug.h.orig	2015-09-17 13:06:28.000000000 +0000
|+++ compat/debug.h
--------------------------
Patching file compat/debug.h using Plan A...
Hunk #1 succeeded at 23.
Hunk #2 succeeded at 34.
done
=> Verifying /data/pkgsrc/www/squid3/patches/patch-errors_Makefile.in
=> Applying pkgsrc patch /data/pkgsrc/www/squid3/patches/patch-errors_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-errors_Makefile.in,v 1.1 2013/02/10 18:16:53 adam Exp $
|
|Don't install errorpage.css.
|
|--- errors/Makefile.in.orig	2013-02-01 10:56:12.000000000 +0000
|+++ errors/Makefile.in
--------------------------
Patching file errors/Makefile.in using Plan A...
Hunk #1 succeeded at 646 (offset 145 lines).
Hunk #2 succeeded at 620 (offset 2 lines).
done
=> Verifying /data/pkgsrc/www/squid3/patches/patch-src_Makefile.in
=> Applying pkgsrc patch /data/pkgsrc/www/squid3/patches/patch-src_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Makefile.in,v 1.4 2015/01/21 11:23:16 adam Exp $
|
|Don't install squid.conf.
|
|--- src/Makefile.in.orig	2015-01-13 12:53:47.000000000 +0000
|+++ src/Makefile.in
--------------------------
Patching file src/Makefile.in using Plan A...
Hunk #1 succeeded at 7860 (offset 223 lines).
done
=> Verifying /data/pkgsrc/www/squid3/patches/patch-src_adaptation_ecap_ServiceRep.cc
=> Applying pkgsrc patch /data/pkgsrc/www/squid3/patches/patch-src_adaptation_ecap_ServiceRep.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_adaptation_ecap_ServiceRep.cc,v 1.1 2016/06/23 15:10:36 prlw1 Exp $
|
|http://bugs.squid-cache.org/show_bug.cgi?id=4376
|
|--- ./src/adaptation/ecap/ServiceRep.cc.orig	2016-05-08 12:46:35.000000000 +0000
|+++ ./src/adaptation/ecap/ServiceRep.cc
--------------------------
Patching file ./src/adaptation/ecap/ServiceRep.cc using Plan A...
Hunk #1 succeeded at 234.
done
=> Verifying /data/pkgsrc/www/squid3/patches/patch-src_base_TidyPointer.h
=> Applying pkgsrc patch /data/pkgsrc/www/squid3/patches/patch-src_base_TidyPointer.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_base_TidyPointer.h,v 1.2 2015/05/29 07:50:59 adam Exp $
|
|Define NULL if not defined.
|
|--- src/base/TidyPointer.h.orig	2015-05-28 11:06:38.000000000 +0000
|+++ src/base/TidyPointer.h
--------------------------
Patching file src/base/TidyPointer.h using Plan A...
Hunk #1 succeeded at 9.
done
=> Verifying /data/pkgsrc/www/squid3/patches/patch-src_store.cc
=> Applying pkgsrc patch /data/pkgsrc/www/squid3/patches/patch-src_store.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_store.cc,v 1.1 2013/02/10 18:16:53 adam Exp $
|
|Fix compiling with Clang.
|
|--- src/store.cc.orig	2012-01-08 10:01:40.000000000 +0000
|+++ src/store.cc
--------------------------
Patching file src/store.cc using Plan A...
Hunk #1 succeeded at 391 (offset -34 lines).
done
=> Verifying /data/pkgsrc/www/squid3/patches/patch-tools_Makefile.in
=> Applying pkgsrc patch /data/pkgsrc/www/squid3/patches/patch-tools_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-tools_Makefile.in,v 1.1 2013/02/10 18:16:53 adam Exp $
|
|Don't install cachemgr.conf.
|
|--- tools/Makefile.in.orig	2013-02-01 10:56:31.000000000 +0000
|+++ tools/Makefile.in
--------------------------
Patching file tools/Makefile.in using Plan A...
Hunk #1 succeeded at 1474 (offset 328 lines).
done
===> Creating toolchain wrappers for squid-3.5.27nb3
===> Configuring for squid-3.5.27nb3
echo "exit 0" > /data/scratch/www/squid3/work/squid-3.5.27/helpers/basic_auth/NCSA/config.test
echo "exit 0" > /data/scratch/www/squid3/work/squid-3.5.27/helpers/basic_auth/getpwnam/config.test
echo "exit 0" > /data/scratch/www/squid3/work/squid-3.5.27/helpers/basic_auth/PAM/config.test
echo "exit 0" > /data/scratch/www/squid3/work/squid-3.5.27/helpers/ntlm_auth/fake/config.test
echo "exit 0" > /data/scratch/www/squid3/work/squid-3.5.27/helpers/ntlm_auth/smb_lm/config.test
echo "exit 0" > /data/scratch/www/squid3/work/squid-3.5.27/helpers/external_acl/file_userip/config.test
echo "exit 0" > /data/scratch/www/squid3/work/squid-3.5.27/helpers/external_acl/unix_group/config.test
=> Fixing configuration files.
INFO: [subst.mk:confs] Nothing changed in ./src/cf.data.pre.
echo "exit 0" > /data/scratch/www/squid3/work/squid-3.5.27/helpers/digest_auth/file/config.test
=> 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
=> Replacing Perl interpreter in helpers/ssl/cert_valid.pl tools/helper-mux.pl.
=> Checking for portability problems in extracted files
checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... cfgaux/install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '100' is supported by ustar format... yes
checking how to create a ustar tar archive... plaintar
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64--netbsd-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 for style of include used by make... GNU
checking dependency style of clang... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking dependency style of clang++... gcc3
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
configure: CPU arch native optimization enabled: no
checking simplified host os... netbsd (version )
checking what kind of compiler we're using... clang
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking how to run the C preprocessor... clang -E
checking whether ln -s works... yes
checking for egrep... (cached) /usr/bin/egrep
checking for sh... /data/scratch/www/squid3/work/.tools/bin/sh
checking for false... (cached) false
checking for true... (cached) true
checking for mv... /bin/mv
checking for mkdir... /bin/mkdir -p
checking for ln... /bin/ln
checking for chmod... /bin/chmod
checking for tr... /usr/bin/tr
checking for rm... /bin/rm
checking for cppunit-config... false
checking for perl... /usr/pkg/bin/perl
checking for pod2man... /usr/pkg/bin/pod2man
checking for ar... /usr/bin/ar
checking for linuxdoc... false
configure: strict error checking enabled: no
checking whether to use loadable modules... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
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 the maximum length of command line arguments... 196608
checking how to convert x86_64--netbsd file names to x86_64--netbsd format... func_convert_file_noop
checking how to convert x86_64--netbsd file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64--netbsd-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for x86_64--netbsd-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64--netbsd-ar... /usr/bin/ar
checking for archiver @FILE support... @
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking for x86_64--netbsd-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 x86_64--netbsd-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
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... -fPIC -DPIC
checking if clang PIC flag -fPIC -DPIC works... no
checking if clang static flag -static works... yes
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
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... yes
checking how to run the C++ preprocessor... clang++ -E
checking for ld used by clang++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes
checking for clang++ option to produce PIC... -fPIC -DPIC
checking if clang++ PIC flag -fPIC -DPIC works... no
checking if clang++ static flag -static works... yes
checking if clang++ supports -c -o file.o... yes
checking if clang++ supports -c -o file.o... (cached) yes
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking what extension is used for runtime loadable modules... .so
checking what variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
checking for library containing dlopen... none required
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... no
checking for error_t... no
checking for argz_add... no
checking for argz_append... no
checking for argz_count... no
checking for argz_create_sep... no
checking for argz_insert... no
checking for argz_next... no
checking for argz_stringify... no
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for ltdl.h... yes
checking whether lt_dlinterface_register is declared... yes
checking for lt_dladvise_preload in -lltdl... yes
checking where to find libltdl headers... 
checking where to find libltdl library... -lltdl
checking for unistd.h... yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for library containing dlopen... (cached) none required
checking for dlerror... (cached) yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... (cached) no
checking for compiler variant... clang
configure: inlining optimizations enabled: yes
checking for GNU atomic operations support... yes
configure: cbdata debugging enabled: no
configure: xmalloc stats display: no
checking for library containing shm_open... -lrt
checking for DiskIO modules to be enabled...  AIO Blocking DiskDaemon DiskThreads IpcIo Mmapped
checking aio.h usability... yes
checking aio.h presence... yes
checking for aio.h... yes
checking for aio_read in -lrt... yes
configure: Native POSIX AIO support detected.
configure: Enabling AIO DiskIO module
configure: Enabling Blocking DiskIO module
configure: Enabling DiskDaemon DiskIO module
checking for pthread_create  in -lpthread... yes
configure: Enabling DiskThreads DiskIO module
configure: Enabling IpcIo DiskIO module
configure: Enabling Mmapped DiskIO module
configure: IO Modules built:  AIO Blocking DiskDaemon DiskThreads IpcIo Mmapped
configure: Store modules built:  ufs diskd
configure: Removal policies to build: lru heap
configure: ICMP enabled
configure: Delay pools enabled
configure: Disabling ESI processor
checking whether to support eCAP... no, explicitly
configure: Web Cache Coordination Protocol enabled: yes
configure: Web Cache Coordination V2 Protocol enabled: yes
configure: Kill parent on shutdown hack enabled: no
configure: SNMP support enabled: yes
configure: Cachemgr default hostname set to localhost
checking for windows.h... no
checking for sys/sockio.h... yes
checking for sys/param.h... yes
checking for net/if_arp.h... no
checking for net/route.h... yes
checking for net/if_dl.h... yes
checking for sys/sysctl.h... yes
configure: EUI (MAC address) controls enabled: yes
configure: HTCP support enabled: yes
checking for nettle_md5_init in -lnettle... no
configure: Using Nettle cryptographic library: no
checking for crypt in -lcrypt... yes
checking for MD5Init in -lmd5... no
checking for LIBGNUTLS... no
checking for gnutls_certificate_verify_peers3 in -lgnutls... no
checking gnutls/gnutls.h usability... no
checking gnutls/gnutls.h presence... no
checking for gnutls/gnutls.h... no
checking gnutls/x509.h usability... no
checking gnutls/x509.h presence... no
checking for gnutls/x509.h... no
configure: GnuTLS library support: no  
checking openssl/bio.h usability... yes
checking openssl/bio.h presence... yes
checking for openssl/bio.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking openssl/md5.h usability... yes
checking openssl/md5.h presence... yes
checking for openssl/md5.h... yes
checking openssl/opensslv.h usability... yes
checking openssl/opensslv.h presence... yes
checking for openssl/opensslv.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/x509v3.h usability... yes
checking openssl/x509v3.h presence... yes
checking for openssl/x509v3.h... yes
checking openssl/engine.h usability... yes
checking openssl/engine.h presence... yes
checking for openssl/engine.h... yes
checking openssl/txt_db.h usability... yes
checking openssl/txt_db.h presence... yes
checking for openssl/txt_db.h... yes
checking for LIBOPENSSL... no
checking for CRYPTO_new_ex_data in -lcrypto... yes
checking for SSL_library_init in -lssl... no
configure: error: library 'ssl' is required for OpenSSL
*** Error code 1

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

Stop.
make: stopped in /data/pkgsrc/www/squid3