[package - main-armv6-default][dns/p5-DNS-Ldns] Failed for p5-DNS-ldns-1.8.3 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 28 Feb 2023 05:13:08 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     jaap@NLnetLabs.nl
Log URL:        https://pkg-status.freebsd.org/beefy8/data/main-armv6-default/pe20ee3cf0f70_s873c13f9f7/logs/p5-DNS-ldns-1.8.3.log
Build URL:      https://pkg-status.freebsd.org/beefy8/build.html?mastername=main-armv6-default&build=pe20ee3cf0f70_s873c13f9f7
Log:

=>> Building dns/p5-DNS-Ldns
build started at Tue Feb 28 05:12:17 UTC 2023
port directory: /usr/ports/dns/p5-DNS-Ldns
package name: p5-DNS-ldns-1.8.3
building for: FreeBSD main-armv6-default-job-13 14.0-CURRENT FreeBSD 14.0-CURRENT 1400081 arm
maintained by: jaap@NLnetLabs.nl
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400078
Jail OSVERSION: 1400081
Job Id: 13




!!! Jail is newer than host. (Jail: 1400081, Host: 1400078) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
UNAME_p=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1400081
UNAME_v=FreeBSD 14.0-CURRENT 1400081
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-armv6-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-armv6-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-armv6-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-armv6-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for p5-DNS-ldns-1.8.3:
     DANETAUSAGE=off: Enable ta usage, requires openssl >= 1.1.0
     GOST=off: GOST signatures enabled, requires openssl >= 1.0.0
     RRTYPEAMTRELAY=off: Enable draft RR type amtrelay.
     RRTYPEAVC=off: Enable draft RR type avc.
     RRTYPENINFO=off: Enable draft RR type ninfo.
     RRTYPERKEY=off: Enable draft RR type rkey.
     RRTYPETA=off: Enable draft RR type ta.
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
jaap@NLnetLabs.nl
--End MAINTAINER--

--CONFIGURE_ARGS--
--disable-dane-ta-usage  --with-ssl=/usr --with-p5-dns-ldns --disable-dane-ta-usage --disable-gost --disable-rrtype-amtrelay --disable-rrtype-avc --disable-rrtype-ninfo --disable-rrtype-rkey --disable-rrtype-ta --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/dns/p5-DNS-Ldns/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/dns/p5-DNS-Ldns/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/dns/p5-DNS-Ldns/work/.cache  HOME=/wrkdirs/usr/ports/dns/p5-DNS-Ldns/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/dns/p5-DNS-Ldns/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/dns/p5-DNS-Ldns/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/dns/p5-DNS-Ldns/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/dns/p5-DNS-Ldns/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/dns/p5-DNS-Ldns/work/.cache  HOME=/wrkdirs/usr/ports/dns/p5-DNS-Ldns/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/dns/p5-DNS-Ldns/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/dns/p5-DNS-Ldns/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS="  -fstack-protector-strong " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  
MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
DANETAUSAGE="@comment " NO_DANETAUSAGE="" GOST="@comment " NO_GOST="" RRTYPEAMTRELAY="@comment " NO_RRTYPEAMTRELAY="" RRTYPEAVC="@comment " NO_RRTYPEAVC="" RRTYPENINFO="@comment " NO_RRTYPENINFO="" RRTYPERKEY="@comment " NO_RRTYPERKEY="" RRTYPETA="@comment " NO_RRTYPETA="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1  PERL_VER=5.32  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.32 DOCSDIR="share/doc/ldns"  EXAMPLESDIR="share/examples/ldns"  DATADIR="share/ldns"  WWWDIR="www/ldns"  ETCDIR="etc/ldns"
--End PLIST_SUB--

--SUB_LIST--
DANETAUSAGE="@comment " NO_DANETAUSAGE="" GOST="@comment " NO_GOST="" RRTYPEAMTRELAY="@comment " NO_RRTYPEAMTRELAY="" RRTYPEAVC="@comment " NO_RRTYPEAVC="" RRTYPENINFO="@comment " NO_RRTYPENINFO="" RRTYPERKEY="@comment " NO_RRTYPERKEY="" RRTYPETA="@comment " NO_RRTYPETA="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/ldns DOCSDIR=/usr/local/share/doc/ldns EXAMPLESDIR=/usr/local/share/examples/ldns  WWWDIR=/usr/local/www/ldns ETCDIR=/usr/local/etc/ldns
--End SUB_LIST--

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv6
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_9d218390=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv6-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv6-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_53255a77=yes
CC_OUTPUT_9d218390_911cfe02=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
CC_OUTPUT_9d218390_af59ad06=yes
CC_OUTPUT_9d218390_a15f3fcf=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv6-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv6
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400081
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   p5-DNS-ldns-1.8.3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[main-armv6-default-job-13] Installing pkg-1.19.1_1...
<snip>
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if /nxb-bin/usr/bin/cc supports -fno-rtti -fno-exceptions... yes
checking for /nxb-bin/usr/bin/cc option to produce PIC... -fPIC -DPIC
checking if /nxb-bin/usr/bin/cc PIC flag -fPIC -DPIC works... yes
checking if /nxb-bin/usr/bin/cc static flag -static works... yes
checking if /nxb-bin/usr/bin/cc supports -c -o file.o... yes
checking if /nxb-bin/usr/bin/cc supports -c -o file.o... (cached) yes
checking whether the /nxb-bin/usr/bin/cc linker (/nxb-bin/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd14.0 ld.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 gcc... (cached) /nxb-bin/usr/bin/cc
checking whether the compiler supports GNU C... (cached) yes
checking whether /nxb-bin/usr/bin/cc accepts -g... (cached) yes
checking for /nxb-bin/usr/bin/cc option to enable C11 features... (cached) none needed
checking /nxb-bin/usr/bin/cc dependency flag... -MM
checking whether gmake sets $(MAKE)... yes
checking whether /nxb-bin/usr/bin/cc supports -std=c99... yes
checking whether /nxb-bin/usr/bin/cc supports -xc99... no
checking for an ANSI C-conforming const... yes
checking whether /nxb-bin/usr/bin/cc supports -Wall... yes
checking whether /nxb-bin/usr/bin/cc supports -W... yes
checking whether /nxb-bin/usr/bin/cc supports -Wwrite-strings... yes
checking whether /nxb-bin/usr/bin/cc supports -Wstrict-prototypes... yes
checking whether /nxb-bin/usr/bin/cc supports -Wunused-function... yes
checking whether /nxb-bin/usr/bin/cc supports -Wmissing-prototypes... no
checking whether /nxb-bin/usr/bin/cc supports -fno-strict-aliasing... yes
checking for getopt.h... (cached) yes
checking for time.h... (cached) yes
checking for winsock2.h... no
checking for ws2tcpip.h... no
checking for TargetConditionals.h... no
checking whether /nxb-bin/usr/bin/cc supports -Werror... yes
checking whether /nxb-bin/usr/bin/cc supports -Wall... (cached) yes
checking whether /nxb-bin/usr/bin/cc supports -std=c99... (cached) yes
checking whether /nxb-bin/usr/bin/cc supports -xc99... (cached) no
checking for getopt.h... (cached) yes
checking for time.h... (cached) 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 /nxb-bin/usr/bin/cc... failed
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 /nxb-bin/usr/bin/cc... failed
checking whether we need -std=c99 as a flag for /nxb-bin/usr/bin/cc... failed
checking whether we need -D_BSD_SOURCE -D_DEFAULT_SOURCE as a flag for /nxb-bin/usr/bin/cc... failed
checking whether we need -D_GNU_SOURCE as a flag for /nxb-bin/usr/bin/cc... failed
checking whether we need -D_GNU_SOURCE -D_FRSRESGID as a flag for /nxb-bin/usr/bin/cc... failed
checking whether we need -D_POSIX_C_SOURCE=200112 as a flag for /nxb-bin/usr/bin/cc... failed
checking whether we need -D__EXTENSIONS__ as a flag for /nxb-bin/usr/bin/cc... failed
checking for inline... inline
checking for int8_t... yes
checking for int16_t... (cached) yes
checking for int32_t... (cached) 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 doxygen... no
checking for socket... yes
checking for inet_ntop... (cached) yes
checking for inet_pton... yes
checking for poll(2)... yes
checking for perl... (cached) /usr/local/bin/perl
checking for ar... /usr/bin/ar
checking for SSL... found in /usr
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 for LibreSSL... no
checking for openssl/ssl.h... (cached) yes
checking for openssl/evp.h... yes
checking for openssl/engine.h... yes
checking for openssl/conf.h... yes
checking for EVP_sha256... yes
checking for EVP_sha384... yes
checking for EVP_sha512... yes
checking for EVP_PKEY_keygen... yes
checking for ECDSA_SIG_get0... yes
checking for EVP_MD_CTX_new... yes
checking for DSA_SIG_set0... yes
checking for DSA_SIG_get0... yes
checking for EVP_dss1... no
checking for DSA_get0_pqg... yes
checking for DSA_get0_key... yes
checking for EVP_cleanup... no
checking for ENGINE_cleanup... no
checking for ENGINE_free... yes
checking for CRYPTO_cleanup_all_ex_data... no
checking for ERR_free_strings... no
checking for CONF_modules_unload... yes
checking for OPENSSL_init_ssl... no
checking for OPENSSL_init_crypto... yes
checking for ERR_load_crypto_strings... no
checking for CRYPTO_memcmp... yes
checking for EVP_PKEY_get_base_id... no
checking for /nxb-bin/usr/bin/cc options needed to detect all undeclared functions... -fno-builtin
checking whether EVP_PKEY_base_id is declared... yes
checking Checking for OpenSSL >= 3.0.0... no
checking for SHA256 and SHA512... checking for SHA256_Init... yes
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 for DSA_SIG_new... yes
checking whether NID_ED25519 is declared... yes
checking whether NID_ED448 is declared... yes
checking for X509_check_ca... yes
checking whether byte ordering is bigendian... no
checking for egrep... (cached) /usr/bin/egrep
checking for _Bool... (cached) yes
checking for stdbool.h that conforms to C99... (cached) yes
checking for getopt.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for openssl/ssl.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for time.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for netdb.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/mount.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking size of time_t... 8
checking for socklen_t... (cached) yes
checking for size_t... (cached) yes
checking for ssize_t... (cached) yes
checking for intptr_t... yes
checking for in_addr_t... (cached) yes
checking for in_port_t... (cached) yes
checking for struct sockaddr_storage.ss_family... yes
checking for b64_pton... no
checking for b64_ntop... no
checking for calloc... (cached) yes
checking for timegm... yes
checking for gmtime_r... yes
checking for ctime_r... yes
checking for localtime_r... yes
checking for isblank... (cached) yes
checking for isascii... (cached) yes
checking for inet_aton... (cached) yes
checking for inet_pton... (cached) yes
checking for inet_ntop... (cached) yes
checking for snprintf... (cached) yes
checking for strlcpy... (cached) yes
checking for memmove... (cached) yes
checking for pid_t... (cached) yes
checking for fork... (cached) yes
checking for vfork... (cached) yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking compile of fork... yes
checking for endprotoent... yes
checking for endservent... yes
checking for sleep... (cached) yes
checking for random... (cached) yes
checking for fcntl... (cached) yes
checking for strtoul... (cached) yes
checking for bzero... (cached) yes
checking for memset... (cached) yes
checking for b32_ntop... no
checking for b32_pton... no
checking for getaddrinfo... yes
checking for ioctlsocket... no
checking whether the C compiler (/nxb-bin/usr/bin/cc) accepts the "format" attribute... yes
checking whether the C compiler (/nxb-bin/usr/bin/cc) accepts the "unused" attribute... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libdns.doxygen
config.status: creating ldns/common.h
config.status: creating ldns/net.h
config.status: creating ldns/util.h
config.status: creating packaging/libldns.pc
config.status: creating packaging/ldns-config
config.status: creating ldns/config.h
config.status: executing libtool commands
copying header files
===========================================================================
=======================<phase: build          >============================
===>  Building for p5-DNS-ldns-1.8.3
gmake[1]: Entering directory '/wrkdirs/usr/ports/dns/p5-DNS-Ldns/work/ldns-1.8.3'
BUILDDIR=`pwd`; cd ./contrib/DNS-LDNS; LD_LIBRARY_PATH="$BUILDDIR/.libs:$LD_LIBRARY_PATH" DYLD_LIBRARY_PATH="$BUILDDIR/.libs:$DYLD_LIBRARY_PATH" /usr/local/bin/perl Makefile.PL LIBS="-L$BUILDDIR/.libs -lldns" INC="-I$BUILDDIR"
Can't link/include C library 'ldns/ldns.h', 'ldns', 'ldns', aborting.
cd ./contrib/DNS-LDNS; gmake
gmake[2]: Entering directory '/wrkdirs/usr/ports/dns/p5-DNS-Ldns/work/ldns-1.8.3/contrib/DNS-LDNS'
gmake[2]: *** No targets specified and no makefile found.  Stop.
gmake[2]: Leaving directory '/wrkdirs/usr/ports/dns/p5-DNS-Ldns/work/ldns-1.8.3/contrib/DNS-LDNS'
gmake[1]: *** [Makefile:333: contrib/DNS-LDNS/blib/arch/auto/DNS/LDNS/LDNS.so] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/dns/p5-DNS-Ldns/work/ldns-1.8.3'
*** Error code 1

Stop.
make: stopped in /usr/ports/dns/p5-DNS-Ldns