=> Bootstrap dependency digest>=20010302: found digest-20080510
===> 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 unbound-1.4.10.tar.gz
=> Checksum RMD160 OK for unbound-1.4.10.tar.gz
===> Installing dependencies for unbound-1.4.10
==========================================================================
The supported build options for unbound are:

	libevent

The currently selected options are:

	libevent

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

	PKG_OPTIONS.unbound (not defined)

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

        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private
        * VARBASE = /var

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.
==========================================================================
=> Build dependency libtool-base>=2.2.6bnb3: found libtool-base-2.2.6bnb5
=> Build dependency gmake>=3.81: found gmake-3.82nb2
=> Build dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency expat>=2.0.0nb1: found expat-2.0.1nb2
=> Full dependency ldns>=1.4: found ldns-1.6.9
===> Overriding tools for unbound-1.4.10
===> Extracting for unbound-1.4.10
===> Patching for unbound-1.4.10
=> Applying pkgsrc patches for unbound-1.4.10
===> Creating toolchain wrappers for unbound-1.4.10
===> Configuring for unbound-1.4.10
=> 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 for portability problems in extracted files
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking target system type... x86_64--netbsd
checking for x86_64--netbsd-gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -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 an ANSI C-conforming const... yes
checking whether gcc supports -g... yes
checking whether gcc supports -O2... yes
checking for x86_64--netbsd-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking gcc dependency flag... -MM
checking whether gcc supports -Werror... yes
checking whether gcc supports -Wall... yes
checking whether gcc supports -std=c99... yes
checking whether gcc supports -xc99... no
checking for getopt.h... yes
checking for time.h... yes
checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE as a flag for gcc... failed
checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE as a flag for gcc... failed
checking whether we need -std=c99 as a flag for gcc... no
checking whether we need -D_BSD_SOURCE as a flag for gcc... no
checking whether we need -D_GNU_SOURCE as a flag for gcc... no
checking whether we need -D_GNU_SOURCE -D_FRSRESGID as a flag for gcc... failed
checking whether we need -D_POSIX_C_SOURCE=200112 as a flag for gcc... no
checking whether we need -D__EXTENSIONS__ as a flag for gcc... no
checking for inline... inline
checking whether the C compiler (gcc) accepts the "format" attribute... yes
checking whether the C compiler (gcc) accepts the "unused" attribute... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for yylex_destroy... no
checking for bison... no
checking for byacc... no
checking for doxygen... no
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking for x86_64--netbsd-ar... no
checking for ar... /usr/bin/ar
checking how to print strings... print: not found
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 gcc... /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 whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
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-ar... /usr/bin/ar
checking for x86_64--netbsd-strip... strip
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking for gawk... /usr/bin/awk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc 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 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 for stdarg.h... yes
checking for stdbool.h... yes
checking for netinet/in.h... yes
checking for sys/param.h... yes
checking for sys/socket.h... yes
checking for sys/uio.h... yes
checking for sys/resource.h... yes
checking for arpa/inet.h... yes
checking for syslog.h... yes
checking for netdb.h... yes
checking for sys/wait.h... yes
checking for pwd.h... yes
checking for glob.h... yes
checking for grp.h... yes
checking for login_cap.h... yes
checking for winsock2.h... no
checking for ws2tcpip.h... no
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for off_t... yes
checking for u_char... yes
checking for rlim_t... yes
checking for socklen_t... yes
checking for in_addr_t... yes
checking for in_port_t... yes
checking if memcmp compares unsigned... yes
checking for library containing inet_pton... none required
checking for library containing socket... none required
checking for unistd.h... (cached) yes
checking for working chown... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking return type of signal handlers... void
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether we need -D_LARGEFILE_SOURCE=1 as a flag for gcc... no
checking if nonblocking sockets work... yes
checking whether mkdir has one arg... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for pthread_spinlock_t... yes
checking for pthread_rwlock_t... yes
checking for SSL... found in /usr
checking for HMAC_CTX_init in -lcrypto... yes
checking for library containing dlopen... none required
checking for openssl/ssl.h... yes
checking for openssl/err.h... yes
checking for openssl/rand.h... yes
checking if libssl needs libdl... no
checking for openssl/conf.h... yes
checking for openssl/engine.h... yes
checking for OPENSSL_config... yes
checking for EVP_sha1... yes
checking for EVP_sha256... yes
checking for EVP_sha512... yes
checking whether SSL_COMP_get_compression_methods is declared... yes
checking whether sk_SSL_COMP_pop_free is declared... yes
checking for EVP_PKEY_set_type_str... yes
checking for EC_KEY_new... yes
checking for libevent... found in /usr
checking for library containing clock_gettime... none required
checking for event.h... yes
checking whether EV_VERSION_MAJOR is declared... no
checking for library containing event_set... -levent
checking for event_base_free... yes
checking for event_base_once... yes
checking for event_base_new... yes
checking for event_base_get_method... yes
checking for ev_loop... no
checking for ev_default_loop... no
checking for libexpat... found in /usr/pkg
checking for expat.h... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for getaddrinfo... yes
checking for ioctlsocket... no
checking for daemon... yes
checking if daemon is deprecated... no
checking for strptime... yes
checking whether strptime works... yes
checking for library containing setusercontext... -lutil
checking for tzset... yes
checking for sigprocmask... yes
checking for fcntl... yes
checking for getpwnam... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for setsid... yes
checking for sbrk... yes
checking for chroot... yes
checking for kill... yes
checking for sleep... yes
checking for usleep... yes
checking for random... yes
checking for srandom... yes
checking for recvmsg... yes
checking for sendmsg... yes
checking for writev... yes
checking for socketpair... yes
checking for glob... yes
checking for initgroups... yes
checking for strftime... yes
checking for localtime_r... yes
checking for setusercontext... yes
checking for _beginthreadex... no
checking for setresuid... no
checking for setreuid... yes
checking for setresgid... no
checking for setregid... yes
checking for inet_aton... yes
checking for inet_pton... yes
checking for inet_ntop... yes
checking for snprintf... yes
checking for strlcpy... yes
checking for memmove... yes
checking for gmtime_r... yes
checking for ctime_r... yes
checking for ldns_buffer_copy in -lldns... yes
checking for ldns_key_buf2rsa_raw... yes
checking for ldns_b32_ntop_extended_hex... yes
checking for ldns_key_EVP_load_gost_id... no
checking for ldns_key_EVP_unload_gost... no
checking for ldns/ldns.h... yes
configure: error: No ldns library found (or not recent); install or update ldns library, use --with-ldns=path or --with-ldns-builtin
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/net/unbound
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/net/unbound
