=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> 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'. ===> Building for libdnsres-0.1anb13 /opt/pkg/bin/bmake all-recursive Making all in . /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/opt/pkg/include -I/opt/pkg/include -Wall -O0 -g -DRESOLVSORT -c -o res_comp.lo res_comp.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./compat -I/opt/work/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c res_comp.c -fno-common -DPIC -o .libs/res_comp.o In file included from res_comp.c:71: ./resolv.h:362:10: error: expected parameter declarator size_t strlcpy(char *dst, const char *src, size_t size); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ In file included from res_comp.c:71: ./resolv.h:362:10: error: expected ')' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ ./resolv.h:362:10: note: to match this '(' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ In file included from res_comp.c:71: ./resolv.h:362:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] size_t strlcpy(char *dst, const char *src, size_t size); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:31: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ In file included from res_comp.c:71: ./resolv.h:362:10: error: conflicting types for '__builtin___strlcpy_chk' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:3: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ ./resolv.h:362:10: note: '__builtin___strlcpy_chk' is a builtin with type 'unsigned long (char *, const char *, unsigned long, unsigned long)' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:3: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ In file included from res_comp.c:72: ./dnsres-internal.h:215:12: error: use of undeclared identifier 'MAXDNAME' char qbuf[MAXDNAME+1]; ^ res_comp.c:460:2: error: use of undeclared identifier 'INT16SZ' DNSRES_GETSHORT(u, msgp); ^ ./dnsres-internal.h:311:10: note: expanded from macro 'DNSRES_GETSHORT' (cp) += INT16SZ; \ ^ res_comp.c:470:2: error: use of undeclared identifier 'INT32SZ' DNSRES_GETLONG(u, msgp); ^ ./dnsres-internal.h:321:10: note: expanded from macro 'DNSRES_GETLONG' (cp) += INT32SZ; \ ^ res_comp.c:477:2: error: use of undeclared identifier 'INT16SZ' DNSRES_PUTSHORT(s, msgp); ^ ./dnsres-internal.h:329:10: note: expanded from macro 'DNSRES_PUTSHORT' (cp) += INT16SZ; \ ^ res_comp.c:485:2: error: use of undeclared identifier 'INT32SZ' DNSRES_PUTLONG(l, msgp); ^ ./dnsres-internal.h:339:10: note: expanded from macro 'DNSRES_PUTLONG' (cp) += INT32SZ; \ ^ 1 warning and 8 errors generated. *** Error code 1 Stop. bmake[2]: stopped in /opt/work/devel/libdnsres/work/libdnsres-0.1a *** Error code 1 Stop. bmake[1]: stopped in /opt/work/devel/libdnsres/work/libdnsres-0.1a *** Error code 1 Stop. bmake: stopped in /opt/work/devel/libdnsres/work/libdnsres-0.1a *** Error code 1 Stop. bmake[1]: stopped in /opt/pkgsrc/devel/libdnsres *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/devel/libdnsres