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-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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'; ISO C99 and later do not support implicit int [-Wimplicit-int] size_t strlcpy(char *dst, const char *src, size_t size); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dn_expand(msg, eomorig, comp_dn, exp_dn, length) ^ ./resolv.h:264:19: note: expanded from macro 'dn_expand' #define dn_expand __dnsres_dn_expand ^ res_comp.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dn_comp(exp_dn, comp_dn, length, dnptrs, lastdnptr) ^ ./resolv.h:255:18: note: expanded from macro 'dn_comp' #define dn_comp __dnsres_dn_comp ^ res_comp.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dnsres_dn_skipname(comp_dn, eom) ^ res_comp.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mklower(ch) ^ res_comp.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dn_find(exp_dn, msg, dnptrs, lastdnptr) ^ res_comp.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] res_hnok(dn) ^ ./resolv.h:225:18: note: expanded from macro 'res_hnok' #define res_hnok __dnsres_res_hnok ^ res_comp.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] res_ownok(dn) ^ ./resolv.h:226:19: note: expanded from macro 'res_ownok' #define res_ownok __dnsres_res_ownok ^ res_comp.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] res_mailok(dn) ^ ./resolv.h:227:20: note: expanded from macro 'res_mailok' #define res_mailok __dnsres_res_mailok ^ res_comp.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] res_dnok(dn) ^ ./resolv.h:228:18: note: expanded from macro 'res_dnok' #define res_dnok __dnsres_res_dnok ^ res_comp.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dnsres_getshort(msgp) ^ 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:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dnsres_getlong(msgp) ^ 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:481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dnsres_putlong(l, msgp) ^ 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; \ ^ 13 warnings 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-trunk-arm64/devel/libdnsres *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/libdnsres