=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for djbdnscurve6-35nb3 cd /tmp/pkgbuild/net/djbdnscurve6/work.alpha/net/djbdnscurve6/djbdnscurve6-35 && /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=g77 FC=g77 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= 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:68: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:68:19: note: in expansion of macro 'BUFFER_INIT' buffer netwrite = BUFFER_INIT(safewrite,1,netwritespace,sizeof(netwritespace)); ^ axfrdns.c: In function 'main': axfrdns.c:330:14: warning: passing argument 1 of 'scan_ulong' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] scan_ulong(x,&port); ^ In file included from axfrdns.c:19:0: /tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/include/qlibs/scan.h:8:21: note: expected 'char *' but argument is of type 'const char *' extern unsigned int scan_ulong(char *,unsigned long *); ^ ./compile droproot.c droproot.c: In function 'droproot': droproot.c:15:12: warning: passing argument 1 of 'logmsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] logmsg(fatal,111,ERROR,"$ROOT not set"); ^ In file included from droproot.c:5:0: /tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/include/qlibs/logmsg.h:8:13: note: expected 'char *' but argument is of type 'const char *' extern void logmsg(char *who, int ecode, unsigned int class, char *msg); ^ droproot.c:17:12: warning: passing argument 1 of 'logmsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] logmsg(fatal,111,FATAL,B("unable to chdir to: ",x)); ^ In file included from droproot.c:5:0: /tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/include/qlibs/logmsg.h:8:13: note: expected 'char *' but argument is of type 'const char *' extern void logmsg(char *who, int ecode, unsigned int class, char *msg); ^ droproot.c:19:12: warning: passing argument 1 of 'logmsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] logmsg(fatal,111,FATAL,B("unable to chroot to: ",x)); ^ In file included from droproot.c:5:0: /tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/include/qlibs/logmsg.h:8:13: note: expected 'char *' but argument is of type 'const char *' extern void logmsg(char *who, int ecode, unsigned int class, char *msg); ^ droproot.c:23:12: warning: passing argument 1 of 'logmsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] logmsg(fatal,111,FATAL,"$GID not set"); ^ In file included from droproot.c:5:0: /tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/include/qlibs/logmsg.h:8:13: note: expected 'char *' but argument is of type 'const char *' extern void logmsg(char *who, int ecode, unsigned int class, char *msg); ^ droproot.c:26:12: warning: passing argument 1 of 'logmsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] logmsg(fatal,111,FATAL,"unable to setgid"); ^ In file included from droproot.c:5:0: /tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/include/qlibs/logmsg.h:8:13: note: expected 'char *' but argument is of type 'const char *' extern void logmsg(char *who, int ecode, unsigned int class, char *msg); ^ droproot.c:30:12: warning: passing argument 1 of 'logmsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] logmsg(fatal,111,FATAL,"$UID not set"); ^ In file included from droproot.c:5:0: /tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/include/qlibs/logmsg.h:8:13: note: expected 'char *' but argument is of type 'const char *' extern void logmsg(char *who, int ecode, unsigned int class, char *msg); ^ droproot.c:33:12: warning: passing argument 1 of 'logmsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] logmsg(fatal,111,FATAL,"unable to setuid"); ^ In file included from droproot.c:5:0: /tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/include/qlibs/logmsg.h:8:13: note: expected 'char *' but argument is of type 'const char *' extern void logmsg(char *who, int ecode, unsigned int class, char *msg); ^ ./compile tdlookup.c ./compile response.c ./compile qlog.c qlog.c:11:13: warning: conflicting types for built-in function 'puts' static void puts(const char *s) ^ ./compile edns0.c ./compile clientloc.c clientloc.c: In function 'find_client_loc': clientloc.c:35:24: 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:85: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 dns.h curvedns.h serverok.c serverok.h curvedns.c: In function 'cns_pubkey': curvedns.c:192: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:4:0: /tmp/pkgbuild/net/djbdnscurve6/work.alpha/.buildlink/include/qlibs/case.h:8: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:226:22: warning: passing argument 1 of 'serverok' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] flagns = serverok(addr); ^ In file included from curvedns.c:12: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 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:87: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:87: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:89: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:89:19: note: in expansion of macro 'BUFFER_INIT' buffer netwrite = BUFFER_INIT(safewrite,7,netwritespace,sizeof(netwritespace)); ^ axfr-get.c: In function 'main': axfr-get.c:374:7: warning: implicit declaration of function 'rename' [-Wimplicit-function-declaration] if (rename(fntmp,fn) == -1) ^ ./load axfr-get dnscresolv.a ./compile dnscache.c ./compile query.c query.h roots.h log.h cache.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 ^ query.c:728:9: note: in expansion of macro 'crypto_box_beforenm' crypto_box_beforenm((unsigned char *) whichkey,(const unsigned char *) whichkey,(const unsigned char *) secretkey); ^ ./compile clientok.c ./compile log.c log.c: In function 'logtype': log.c:69: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:19: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:290: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:19: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:304: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:30:13: note: expected 'char *' but argument is of type 'const char *' extern void uint32_unpack_big(char *,uint32 *); ^ ./compile cache.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-35/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