=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for djbdnscurve6-43
cd /tmp/pkgbuild/net/djbdnscurve6/work.alpha/net/djbdnscurve6/djbdnscurve6-43 && /usr/bin/env USETOOLS=no CC=gcc CFLAGS=-O2\ -mieee\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include/qlibs\ -I/usr/pkg/include\ -I/usr/pkg/include/sodium CPPFLAGS=-I/usr/pkg/include/qlibs\ -I/usr/pkg/include\ -I/usr/pkg/include/sodium CXX=c++ CXXFLAGS=-O2\ -mieee\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include/qlibs\ -I/usr/pkg/include\ -I/usr/pkg/include/sodium COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O\ -mieee LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/lib/qlibs\ -Wl,-R/usr/pkg/lib/qlibs\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.cwrapper/bin:/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/bin:/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.gcc/bin:/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.home CWRAPPERS_CONFIG_DIR=/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.tools/bin/itstool GDBUS_CODEGEN=/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.tools/bin/gdbus-codegen PKG_CONFIG=/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/lib/pkgconfig:/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.cwrapper/config package/compile 
( cat warn-auto.sh;  echo CC=\'`head -1 ../conf-cc`\';  echo LD=\'`head -1 ../conf-ld`\';  cat find-systype.sh;  ) | sh > systype
( cat warn-auto.sh;  echo 'main="$1"; shift';  echo 'rm -f "$main"';  echo 'ar cr "$main" ${1+"$@"}';  case "`cat systype`" in  sunos-5.*) ;;  unix_sv*) ;;  irix64-*) ;;  irix-*) ;;  dgux-*) ;;  hp-ux-*) ;;  sco*) ;;  *) echo 'ranlib "$main"' ;;  esac  ) > makelib
chmod 755 makelib
( cat warn-auto.sh;  echo 'main="$1"; shift';  echo exec "`head -1 ../conf-ld`"  '-o "$main" "$main".o ${1+"$@"} -lqlibs -lsodium'  ) > load
chmod 755 load
( cat warn-auto.sh;  echo exec "`head -1 ../conf-cc`" '-c ${1+"$@"}'  ) > compile
chmod 755 compile
./compile axfrdns.c
In file included from axfrdns.c:8:0:
/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/include/qlibs/buffer.h:13:61: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
 #define BUFFER_INIT(op,fd,buf,len) { (buf), 0, (len), (fd), (op) }
                                                             ^
axfrdns.c:67:19: note: in expansion of macro 'BUFFER_INIT'
 buffer netwrite = BUFFER_INIT(safewrite,1,netwritespace,sizeof(netwritespace));
                   ^~~~~~~~~~~
/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/include/qlibs/buffer.h:13:61: note: (near initialization for 'netwrite.op')
 #define BUFFER_INIT(op,fd,buf,len) { (buf), 0, (len), (fd), (op) }
                                                             ^
axfrdns.c:67:19: note: in expansion of macro 'BUFFER_INIT'
 buffer netwrite = BUFFER_INIT(safewrite,1,netwritespace,sizeof(netwritespace));
                   ^~~~~~~~~~~
./compile droproot.c
./compile tdlookup.c
./compile response.c
./compile qlog.c
qlog.c:11:13: warning: conflicting types for built-in function 'puts' [-Wbuiltin-declaration-mismatch]
 static void puts(const char *s)
             ^~~~
./compile edns0.c
./compile clientloc.c
clientloc.c: In function 'find_client_loc':
clientloc.c:35:26: warning: passing argument 2 of 'ip6_fmt_flat' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     ip6_fmt_flat(key + 3,ip);
                          ^~
In file included from clientloc.c:6:0:
/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/include/qlibs/ip.h:88:14: note: expected 'char *' but argument is of type 'const char *'
 unsigned int ip6_fmt_flat(char *,char [16]);
              ^~~~~~~~~~~~
./compile dns_domain.c dns_dfd.c dns_dtda.c dns_ip.c dns_ipq.c  dns_mx.c dns_name.c dns_nd.c dns_packet.c dns_random.c dns_rcip.c  dns_rcrw.c dns_resolve.c dns_transmit.c dns_txt.c dns_sortip.c curvedns.c  base32.c hex.c dns.h curvedns.h serverok.c serverok.h
curvedns.c: In function 'cns_pubkey':
curvedns.c:184:23: warning: passing argument 1 of 'case_diffb' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
       if (!case_diffb(dn,3,"uz5"))
                       ^~
In file included from curvedns.c:7:0:
/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/include/qlibs/case.h:10:12: note: expected 'char *' but argument is of type 'const char *'
 extern int case_diffb(char *,unsigned int,char *);
            ^~~~~~~~~~
curvedns.c: In function 'cns_addns':
curvedns.c:218:23: warning: passing argument 1 of 'serverok' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     flagns = serverok(addr);
                       ^~~~
In file included from curvedns.c:15:0:
serverok.h:4:12: note: expected 'char *' but argument is of type 'const char *'
 extern int serverok(char [16]);
            ^~~~~~~~
./makelib dnscresolv.a dns_domain.o dns_dfd.o dns_dtda.o dns_ip.o dns_ipq.o  dns_mx.o dns_name.o dns_nd.o dns_packet.o dns_random.o dns_rcip.o dns_sortip.o  dns_rcrw.o dns_resolve.o dns_transmit.o dns_txt.o curvedns.o base32.o hex.o  serverok.o
./load axfrdns droproot.o tdlookup.o response.o edns0.o  qlog.o clientloc.o dnscresolv.a
./compile axfr-get.c
In file included from /tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/include/qlibs/getln.h:4:0,
                 from axfr-get.c:5:
/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/include/qlibs/buffer.h:13:61: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
 #define BUFFER_INIT(op,fd,buf,len) { (buf), 0, (len), (fd), (op) }
                                                             ^
axfr-get.c:89:18: note: in expansion of macro 'BUFFER_INIT'
 buffer netread = BUFFER_INIT(saferead,6,netreadspace,sizeof(netreadspace));
                  ^~~~~~~~~~~
/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/include/qlibs/buffer.h:13:61: note: (near initialization for 'netread.op')
 #define BUFFER_INIT(op,fd,buf,len) { (buf), 0, (len), (fd), (op) }
                                                             ^
axfr-get.c:89:18: note: in expansion of macro 'BUFFER_INIT'
 buffer netread = BUFFER_INIT(saferead,6,netreadspace,sizeof(netreadspace));
                  ^~~~~~~~~~~
/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/include/qlibs/buffer.h:13:61: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
 #define BUFFER_INIT(op,fd,buf,len) { (buf), 0, (len), (fd), (op) }
                                                             ^
axfr-get.c:91:19: note: in expansion of macro 'BUFFER_INIT'
 buffer netwrite = BUFFER_INIT(safewrite,7,netwritespace,sizeof(netwritespace));
                   ^~~~~~~~~~~
/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/include/qlibs/buffer.h:13:61: note: (near initialization for 'netwrite.op')
 #define BUFFER_INIT(op,fd,buf,len) { (buf), 0, (len), (fd), (op) }
                                                             ^
axfr-get.c:91:19: note: in expansion of macro 'BUFFER_INIT'
 buffer netwrite = BUFFER_INIT(safewrite,7,netwritespace,sizeof(netwritespace));
                   ^~~~~~~~~~~
./load axfr-get dnscresolv.a
./compile dnscache.c
dnscache.c: In function 'u_new':
dnscache.c:151:54: warning: passing argument 6 of 'query_start' makes integer from pointer without a cast [-Wint-conversion]
   switch (query_start(&x->q,q,qtype,qclass,ipsending,&x->scope_id)) {
                                                      ^
In file included from dnscache.c:17:0:
query.h:76:12: note: expected 'uint32 {aka unsigned int}' but argument is of type 'uint32 * {aka unsigned int *}'
 extern int query_start(struct query *,char *,char *,char *,char *,uint32);
            ^~~~~~~~~~~
./compile query.c query.h roots.h log.h sipcache.h dns.h dd.h response.h  curvedns.h base32.h serverok.h
In file included from query.c:14:0:
query.c: In function 'doit':
curvedns.h:21:29: warning: ignoring return value of 'crypto_box_curve25519xsalsa20poly1305_beforenm', declared with attribute warn_unused_result [-Wunused-result]
 #define crypto_box_beforenm crypto_box_curve25519xsalsa20poly1305_beforenm
curvedns.h:21:29: note: in definition of macro 'crypto_box_beforenm'
 #define crypto_box_beforenm crypto_box_curve25519xsalsa20poly1305_beforenm
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./compile clientok.c
./compile log.c
log.c: In function 'logtype':
log.c:70:21: warning: passing argument 1 of 'uint16_unpack_big' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   uint16_unpack_big(type,&u);
                     ^~~~
In file included from log.c:2:0:
/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/include/qlibs/uint_t.h:30:13: note: expected 'char *' but argument is of type 'const char *'
 extern void uint16_unpack_big(char *,uint16 *);
             ^~~~~~~~~~~~~~~~~
log.c: In function 'log_rrmx':
log.c:292:21: warning: passing argument 1 of 'uint16_unpack_big' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   uint16_unpack_big(pref,&u);
                     ^~~~
In file included from log.c:2:0:
/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/include/qlibs/uint_t.h:30:13: note: expected 'char *' but argument is of type 'const char *'
 extern void uint16_unpack_big(char *,uint16 *);
             ^~~~~~~~~~~~~~~~~
log.c: In function 'log_rrsoa':
log.c:306:23: warning: passing argument 1 of 'uint32_unpack_big' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     uint32_unpack_big(misc + i,&u);
                       ^~~~
In file included from log.c:2:0:
/tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/include/qlibs/uint_t.h:41:13: note: expected 'char *' but argument is of type 'const char *'
 extern void uint32_unpack_big(char *,uint32 *);
             ^~~~~~~~~~~~~~~~~
./compile sipcache.c
./compile dd.c
dd.c:1:0: fatal error: had to relocate PCH
 #include "dns.h"
 
compilation terminated.
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/net/djbdnscurve6/work.alpha/net/djbdnscurve6/djbdnscurve6-43/compile
package/compile: fatal: cannot make it-server it-clients it-conf it-misc it-setup
*** Error code 111

Stop.
make[1]: stopped in /usr/pkgsrc/net/djbdnscurve6
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/djbdnscurve6