WARNING: [license.mk] Every package should define a LICENSE. ===> Building for libdnsres-0.1anb16 /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 -fPIC -pipe -Os -I/opt/pkg/include -Wall -DRESOLVSORT -c -o res_comp.lo res_comp.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./compat -I/Users/pbulk/build/devel/libdnsres/work/.buildlink/include -fPIC -pipe -Os -Wall -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); ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.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) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.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 ')' /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.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) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.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 '(' /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.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); ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.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' /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.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)' /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.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 making "all-am" in /Users/pbulk/build/devel/libdnsres/work/libdnsres-0.1a *** Error code 1 Stop. bmake[1]: stopped making "all-recursive" in /Users/pbulk/build/devel/libdnsres/work/libdnsres-0.1a *** Error code 1 Stop. bmake: stopped making "all" in /Users/pbulk/build/devel/libdnsres/work/libdnsres-0.1a *** Error code 1 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/devel/libdnsres *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/devel/libdnsres