=> Bootstrap dependency digest>=20010302: found digest-20190127 => Checksum SHA1 OK for unbound-1.13.0.tar.gz => Checksum RMD160 OK for unbound-1.13.0.tar.gz => Checksum SHA512 OK for unbound-1.13.0.tar.gz ===> Installing dependencies for unbound-1.13.0 ========================================================================== The supported build options for unbound are: dnstap doh The currently selected options are: doh 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.13.0. Their current value is shown below: * SSLBASE (defined) * SSLCERTS = /opt/pkg/etc/openssl/certs * SSLDIR = /opt/pkg/etc/openssl * SSLKEYS = /opt/pkg/etc/openssl/private * UNBOUND_GROUP = unbound * UNBOUND_USER = unbound * VARBASE = /opt/pkg/var You may want to abort the process now with CTRL-C and change their value 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.6nb2 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency flex>=2.6.4: found flex-2.6.4 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency user-darwin>=20130712: found user-darwin-20170116 => Full dependency nghttp2>=1.40.0nb4: found nghttp2-1.42.0nb1 => Full dependency openssl>=1.1.1dnb2: found openssl-1.1.1i => Full dependency libevent>=2.1.11nb1: found libevent-2.1.12 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for unbound-1.13.0 ===> Extracting for unbound-1.13.0 ===> Patching for unbound-1.13.0 => Applying pkgsrc patches for unbound-1.13.0 => Verifying /opt/pkgsrc/net/unbound/patches/patch-configure => Applying pkgsrc patch /opt/pkgsrc/net/unbound/patches/patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure,v 1.4 2020/02/20 20:39:07 he Exp $ | |Pretend expat.h is found: it is guaranteed by PkgSrc, but on Darwin it might |be buried inside an SDK; we don't want the SDK path being exposed in CFLAGS. | |--- configure.orig 2017-07-09 07:41:42.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 19592 (offset 103 lines). done => Verifying /opt/pkgsrc/net/unbound/patches/patch-services_listen__dnsport.c => Applying pkgsrc patch /opt/pkgsrc/net/unbound/patches/patch-services_listen__dnsport.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-services_listen__dnsport.c,v 1.1 2020/11/13 17:05:40 jperkin Exp $ | |Include limits.h for SSIZE_MAX. | |--- services/listen_dnsport.c.orig 2020-10-08 06:24:21.000000000 +0000 |+++ services/listen_dnsport.c -------------------------- Patching file services/listen_dnsport.c using Plan A... Hunk #1 succeeded at 63 (offset 1 line). done ===> Creating toolchain wrappers for unbound-1.13.0 ===> Configuring for unbound-1.13.0 => 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 for aarch64-apple-darwin20-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 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 an ANSI C-conforming const... yes checking for aarch64-apple-darwin20-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 clang dependency flag... -MM checking whether clang supports -Werror... yes checking whether clang supports -Wall... yes checking whether clang supports -std=c99... yes checking whether clang 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_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE as a flag for clang... no checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE as a flag for clang... no checking whether we need -std=c99 as a flag for clang... no checking whether we need -D_BSD_SOURCE -D_DEFAULT_SOURCE as a flag for clang... no checking whether we need -D_GNU_SOURCE as a flag for clang... no checking whether we need -D_GNU_SOURCE -D_FRSRESGID as a flag for clang... failed checking whether we need -D_POSIX_C_SOURCE=200112 as a flag for clang... no checking whether we need -D__EXTENSIONS__ as a flag for clang... no checking for inline... inline checking whether the C compiler (clang) accepts the "format" attribute... yes checking whether the C compiler (clang) accepts the "unused" attribute... yes checking whether the C compiler (clang) accepts the "weak" attribute... yes checking whether the C compiler (clang) accepts the "noreturn" 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... yes checking for lex %option... yes checking for bison... bison -y checking for doxygen... no checking for aarch64-apple-darwin20-strip... no checking for strip... strip checking build system type... aarch64-apple-darwin20 checking host system type... aarch64-apple-darwin20 checking for aarch64-apple-darwin20-ar... no checking for ar... /usr/bin/ar 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.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.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-darwin20 file names to aarch64-apple-darwin20 format... func_convert_file_noop checking how to convert aarch64-apple-darwin20 file names to toolchain format... func_convert_file_noop checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r checking for aarch64-apple-darwin20-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-apple-darwin20-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... print -r -- checking for aarch64-apple-darwin20-ar... /usr/bin/ar checking for archiver @FILE support... no checking for aarch64-apple-darwin20-strip... strip checking for aarch64-apple-darwin20-ranlib... no checking for ranlib... ranlib checking for gawk... /opt/pkg/bin/nawk 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-darwin20-mt... no checking for mt... no checking if : is a manifest tool... no checking for aarch64-apple-darwin20-dsymutil... no checking for dsymutil... dsymutil checking for aarch64-apple-darwin20-nmedit... no checking for nmedit... nmedit checking for aarch64-apple-darwin20-lipo... no checking for lipo... lipo checking for aarch64-apple-darwin20-otool... no checking for otool... otool checking for aarch64-apple-darwin20-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.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin20 dyld 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 netinet/tcp.h... yes checking for sys/param.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/un.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... no checking for winsock2.h... no checking for ws2tcpip.h... no checking for endian.h... no checking for sys/endian.h... no checking for libkern/OSByteOrder.h... yes checking for sys/ipc.h... yes checking for sys/shm.h... yes checking for ifaddrs.h... yes checking for net/if.h... yes checking TargetConditionals.h usability... yes checking TargetConditionals.h presence... yes checking for TargetConditionals.h... yes 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 size of time_t... 8 checking size of size_t... 8 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 clang... no checking if nonblocking sockets work... yes checking whether mkdir has one arg... no checking for strptime... yes checking whether strptime works... no checking for GNU libc compatible malloc... yes checking if compiler needs -Werror to reject unknown flags... yes checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... -D_THREAD_SAFE checking for PTHREAD_PRIO_INHERIT... yes checking for pthread_spinlock_t... no checking for pthread_rwlock_t... yes checking if -pthread unused during linking... no checking for SSL... found in /opt/pkg checking for EVP_sha256 in -lcrypto... yes 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 if libssl needs -lcrypt32... no checking for LibreSSL... no checking for openssl/conf.h... yes checking for openssl/engine.h... yes checking for openssl/bn.h... yes checking for openssl/dh.h... yes checking for openssl/dsa.h... yes checking for openssl/rsa.h... yes checking for openssl/core_names.h... no checking for OPENSSL_config... yes checking for EVP_sha1... yes checking for EVP_sha256... yes checking for EVP_sha512... yes checking for FIPS_mode... yes checking for EVP_MD_CTX_new... yes checking for OpenSSL_add_all_digests... no checking for OPENSSL_init_crypto... yes checking for EVP_cleanup... no checking for ENGINE_cleanup... no checking for ERR_load_crypto_strings... no checking for CRYPTO_cleanup_all_ex_data... no checking for ERR_free_strings... no checking for RAND_cleanup... no checking for DSA_SIG_set0... yes checking for EVP_dss1... no checking for EVP_DigestVerify... yes checking for EVP_aes_256_cbc... yes checking for EVP_EncryptInit_ex... yes checking for HMAC_Init_ex... yes checking for CRYPTO_THREADID_set_callback... no checking for EVP_MAC_CTX_set_params... no checking for OPENSSL_init_ssl... yes checking for SSL_CTX_set_security_level... yes checking for SSL_set1_host... yes checking for SSL_get0_peername... yes checking for X509_VERIFY_PARAM_set1_host... yes checking for SSL_CTX_set_ciphersuites... yes checking for SSL_CTX_set_tlsext_ticket_key_evp_cb... no checking for SSL_CTX_set_alpn_select_cb... yes checking whether SSL_COMP_get_compression_methods is declared... yes checking whether sk_SSL_COMP_pop_free is declared... yes checking whether SSL_CTX_set_ecdh_auto is declared... yes checking the return type of HMAC_Init_ex... int checking for EVP_PKEY_set_type_str... yes checking for EC_KEY_new... yes checking if GOST works... no checking for ECDSA_sign... yes checking for SHA384_Init... yes checking whether NID_X9_62_prime256v1 is declared... yes checking whether NID_secp384r1 is declared... yes checking if openssl supports SHA2 and ECDSA with EVP... yes checking whether NID_ED25519 is declared... yes checking whether NID_ED448 is declared... yes checking for libevent... found in /opt/pkg 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 event_assign... yes checking whether evsignal_assign is declared... yes checking for libexpat... checking for expat.h... yes checking whether XML_StopParser is declared... yes checking for libnghttp2... configure: error: Could not find libnghttp2, nghttp2.h *** Error code 1 Stop. bmake[1]: stopped in /opt/pkgsrc/net/unbound *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/net/unbound