=> 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 syslog-ng-3.16.1.tar.gz
=> Checksum RMD160 OK for syslog-ng-3.16.1.tar.gz
=> Checksum SHA512 OK for syslog-ng-3.16.1.tar.gz
===> Installing dependencies for syslog-ng-3.16.1
==========================================================================
The supported build options for syslog-ng are:

	inet6 syslogng-spoof

The currently selected options are:

	inet6

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

	PKG_OPTIONS.syslog-ng (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
syslog-ng-3.16.1.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 27
        * 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:

        * PYPACKAGE = python27

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 glib2-tools-[0-9]*: found glib2-tools-2.56.1
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb1
=> Tool dependency gmake>=3.81: found gmake-4.2.1nb1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.4.1nb1
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency glib2>=2.34.0: found glib2-2.56.1nb1
=> Full dependency pcre>=8.30nb1: found pcre-8.42
=> Full dependency ivykis>=0.39: found ivykis-0.42.3
=> Full dependency python27>=2.7.1nb2: found python27-2.7.15nb1
=> Full dependency json-c>=0.12: found json-c-0.12.1
===> Overriding tools for syslog-ng-3.16.1
===> Extracting for syslog-ng-3.16.1
/bin/rm -rf /data/scratch/sysutils/syslog-ng/work/syslog-ng-3.16.1/lib/ivykis
/bin/rm -rf /data/scratch/sysutils/syslog-ng/work/syslog-ng-3.16.1/modules/afamqp/rabbitmq-c
/bin/rm -rf /data/scratch/sysutils/syslog-ng/work/syslog-ng-3.16.1/modules/afmongodb/mongo-c-driver
===> Patching for syslog-ng-3.16.1
=> Applying pkgsrc patches for syslog-ng-3.16.1
=> Verifying /data/pkgsrc/sysutils/syslog-ng/../../sysutils/syslog-ng/patches/patch-ac
=> Applying pkgsrc patch /data/pkgsrc/sysutils/syslog-ng/../../sysutils/syslog-ng/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.3 2015/10/29 16:34:13 fhajny Exp $
|
|# add NetBSD support and fix some paths
|
|--- contrib/syslog2ng.orig	2014-12-15 14:48:45.000000000 +0000
|+++ contrib/syslog2ng
--------------------------
Patching file contrib/syslog2ng using Plan A...
Hunk #1 succeeded at 5.
Hunk #2 succeeded at 35.
done
=> Verifying /data/pkgsrc/sysutils/syslog-ng/../../sysutils/syslog-ng/patches/patch-configure
=> Applying pkgsrc patch /data/pkgsrc/sysutils/syslog-ng/../../sysutils/syslog-ng/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.3 2017/01/10 18:54:15 fhajny Exp $
|
|Portability.
|
|--- configure.orig	2016-12-21 15:00:32.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 18741 (offset 2278 lines).
Hunk #2 succeeded at 18848 (offset 2278 lines).
done
=> Verifying /data/pkgsrc/sysutils/syslog-ng/../../sysutils/syslog-ng/patches/patch-modules_system-source_system-source.c
=> Applying pkgsrc patch /data/pkgsrc/sysutils/syslog-ng/../../sysutils/syslog-ng/patches/patch-modules_system-source_system-source.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-modules_system-source_system-source.c,v 1.1 2015/10/29 16:34:13 fhajny Exp $
|
|Add basic NetBSD system() definition.
|
|--- modules/system-source/system-source.c.orig	2015-10-27 08:08:53.000000000 +0000
|+++ modules/system-source/system-source.c
--------------------------
Patching file modules/system-source/system-source.c using Plan A...
Hunk #1 succeeded at 294.
done
===> Creating toolchain wrappers for syslog-ng-3.16.1
===> Configuring for syslog-ng-3.16.1
=> 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 python interpreter in lib/merge-grammar.py.
=> Replacing AWK interpreter in contrib/syslog2ng.
INFO: [replace-interpreter] Nothing changed in contrib/syslog2ng.
=> Adding run-time search paths to pkg-config files.
WARNING: [subst.mk:_pkgconfig] Ignoring non-existent file "./syslog-ng-add-contextual-data.pc.in".
=> Checking for portability problems in extracted files
checking whether make supports nested variables... yes
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... ./install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... 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 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 for clang option to accept ISO C99... none needed
checking for bison... no
checking for byacc... no
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking whether make sets $(MAKE)... (cached) yes
checking pkg-config is at least version 0.9.0... yes
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
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 whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
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... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking for x86_64--netbsd-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 x86_64--netbsd-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... clang -E
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 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... yes
checking if clang static flag -static works... yes
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 (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
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... no
checking for python... /usr/pkg/bin/python2.7
configure: WARNING: No proper bison found, you'll not be able to change lib/cfg-grammar.y
checking for C compiler vendor... clang
checking for C compiler version... 5.0.5
checking CFLAGS_INITIALIZER_OVERRIDES for gcc -Winitializer-overrides... -Winitializer-overrides
checking CFLAGS_NOWARN_POINTER_SIGN for gcc -Wno-pointer-sign... -Wno-pointer-sign
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to enable static linking for certain libraries... GNU or Solaris
checking for ANSI C header files... (cached) yes
checking dmalloc.h usability... no
checking dmalloc.h presence... no
checking for dmalloc.h... no
checking for strings.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking sys/strlog.h usability... no
checking sys/strlog.h presence... no
checking for sys/strlog.h... no
checking door.h usability... no
checking door.h presence... no
checking for door.h... no
checking sys/capability.h usability... no
checking sys/capability.h presence... no
checking for sys/capability.h... no
checking sys/prctl.h usability... no
checking sys/prctl.h presence... no
checking for sys/prctl.h... no
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking tcpd.h usability... yes
checking tcpd.h presence... yes
checking for tcpd.h... yes
checking for struct ucred... no
checking for struct cmsgcred... no
checking whether struct tm is in sys/time.h or time.h... time.h
checking for SO_ACCEPTCONN... no
checking for struct tm.tm_gmtoff... yes
checking for struct msghdr.msg_control... yes
checking for I_CONSLOG... no
checking for O_LARGEFILE... no
checking for struct sockaddr_storage... yes
checking for struct sockaddr_in6... yes
checking for PR_SET_KEEPCAPS... no
checking for modern utmp... yes
checking for door_create in -ldoor... no
checking for socket in -lsocket... no
checking for nanosleep in -lrt... yes
checking for gethostbyname in -lnsl... no
checking for regexec in -lregex... no
checking for res_init in -lresolv... yes
checking for strdup... yes
checking for strtol... yes
checking for strtoll... yes
checking for strtoimax... yes
checking for inet_aton... yes
checking for inet_ntoa... yes
checking for getopt_long... yes
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for getutent... yes
checking for getutxent... yes
checking for pread... yes
checking for pwrite... yes
checking for strcasestr... yes
checking for memrchr... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for strnlen... yes
checking for strtok_r... yes
checking for clock_gettime... yes
checking for inotify_init... no
checking for TCP wrapper library... -lwrap
checking for dlsym in -ldl... no
checking for GLIB... yes
checking for g_mapped_file_unref... yes
checking for g_list_copy_deep... yes
checking for g_queue_free_full... yes
checking for g_list_free_full... yes
checking sanity checking Glib headers... yes
checking for MAXMINDDB... checking for MMDB_open in -lmaxminddb... no
checking for PCRE... yes
checking for OPENSSL... yes
checking whether SSL_CTX_get0_param is declared... yes
checking whether X509_STORE_CTX_get0_cert is declared... yes
checking whether X509_get_extension_flags is declared... yes
checking whether EVP_MD_CTX_reset is declared... yes
checking whether ASN1_STRING_get0_data is declared... yes
checking whether DH_set0_pqg is declared... yes
checking whether BN_get_rfc3526_prime_2048 is declared... yes
checking for LIBNET... no
checking for CRITERION... no
configure: WARNING: pkg-config was not able to find Criterion >= 2.2.1
checking for IVYKIS... yes
checking for IVYKIS_VERSION_CHECK... yes
checking for JSON... yes
checking for LIBRABBITMQ... no
checking for RIEMANN_CLIENT... no
configure: WARNING: Could not build Java modules without Java
checking whether to enable Sun STREAMS support... no
checking whether to enable OpenBSD system source support... no
checking whether to enable Linux capability support... no
checking for UUID... no
checking for struct tm.tm_zone... yes
checking for `timezone' variable in time.h... yes
checking for `altzone' variable in time.h... no
checking for `daylight' variable in time.h... yes
checking for fmemopen... yes
checking whether to enable Valgrind on the unit tests... checking for valgrind... no
yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating syslog-ng-native-connector.pc
config.status: creating dist.conf
config.status: creating Makefile
config.status: creating syslog-ng.spec
config.status: creating syslog-ng.pc
config.status: creating libtest/syslog-ng-test.pc
config.status: creating scripts/update-patterndb
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
config.status: executing syslog-ng-config.h commands
config.status: creating syslog-ng-config.h - prefix SYSLOG_NG for config.h defines

syslog-ng Open Source Edition 3.16.1 configured
 Edition settings:
  Release type                : stable
  Pretty version              : 3
  Combined vers.              : 3 (3.16.1)
  Package name                : syslog-ng
 Compiler options:
  compiler                    : clang
  compiler options            :  -O2 -g -pthread -Wno-initializer-overrides -O2 -I/usr/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread  -I$(top_srcdir)/lib/eventlog/src -I$(top_builddir)/lib/eventlog/src -I/usr/pkg/include     -I/usr/pkg/include  -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
  linker flags                : -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib 
  prefix                      : /usr/pkg
  linking mode                : dynamic
  embedded crypto             : no
  __thread keyword            : yes
 Test dependencies:
  Criterion                   : no
  Unit tests                  : no
 Submodules:
  ivykis                      : system
  mongoc                      : no
  jsonc                       : system
 Features:
  Forced server mode          : yes
  Debug symbols               : no
  GCC profiling               : no
  Memtrace                    : no
  IPV6 support                : yes
  spoof-source support        : no
  tcp-wrapper support         : yes
  Linux capability support    : no
  Env wrapper support         : no
  systemd support             : no (unit dir: none)
  systemd-journal support     : no
  libmongo-client options     : yes
 Modules:
  Module search path          : ${exec_prefix}/lib/syslog-ng
  Sun STREAMS support (module): no
  OpenBSD syslog (module)     : no
  SQL support (module)        : no
  PACCT module (EXPERIMENTAL) : no
  MongoDB destination (module): no
  JSON support (module)       : yes
  SMTP support (module)       : no
  HTTP support (module)       : no
  AMQP destination (module)   : no
  STOMP destination (module)  : yes
  GEOIP support (module)      : no
  GEOIP2 support (module)     : no
  Redis support (module)      : no
  Riemann destination (module): no, microseconds: no
  python                      : no (pkg-config package: none)
  java                        : no
  java modules                : no
  native bindings             : auto
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
=> Substituting "unamepath" in contrib/syslog2ng