===> Building for wide-dhcpv6-20080615nb1 clang -pipe -Os -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DINET6=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETIFADDRS=1 -DHAVE_IF_NAMETOINDEX=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DHAVE_DAEMON=1 -DHAVE_WARNX=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_IFADDRS_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_SIG_ATOMIC_T=1 -DGETPGRP_VOID=1 -DSETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_MKTIME=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_ARC4RANDOM=1 -DHAVE_TAILQ_FOREACH_REVERSE_OLD=1 -DHAVE_SA_LEN=1 -DHAVE_STDARG_H=1 -DSYSCONFDIR=\"/opt/pkg/etc\" -DLOCALDBDIR=\"/var/db\" -c dhcp6c.c dhcp6c.c:229:7: warning: 'daemon' is deprecated: first deprecated in macOS 10.5 - Use posix_spawn APIs instead. [-Wdeprecated-declarations] if (daemon(0, 0) < 0) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdlib.h:299:6: note: 'daemon' has been explicitly marked deprecated here int daemon(int, int) __DARWIN_1050(daemon) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_5, __IPHONE_2_0, __IPHONE_2_0, "Use posix_spawn APIs instead.") __WATCHOS_PROHIBITED __TVOS_PROHIBITED; ^ dhcp6c.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ dhcp6c.c:305:37: error: use of undeclared identifier 'IPV6_PKTINFO' if (setsockopt(sock, IPPROTO_IPV6, IPV6_PKTINFO, &on, ^ dhcp6c.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] client6_start(ifp) ^ dhcp6c.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] client6_startall(isrestart) ^ dhcp6c.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_resources(freeifp) ^ dhcp6c.c:560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_val32(bpp, lenp, valp) ^ dhcp6c.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_ifname(bpp, lenp, ifbuf, ifbuflen) ^ dhcp6c.c:599:26: warning: 'memset' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess] memset(ifbuf, 0, sizeof(ifbuf)); ~~~~~ ^~~~~ dhcp6c.c:599:26: note: did you mean to provide an explicit length? memset(ifbuf, 0, sizeof(ifbuf)); ^~~~~ dhcp6c.c:611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] client6_do_ctlcommand(buf, len) ^ dhcp6c.c:748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] client6_ifctl(ifname, command) ^ dhcp6c.c:750:12: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_int16_t' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] u_int16_t command; ^ dhcp6c.c:121:54: note: previous declaration is here static int client6_ifctl __P((char *ifname, u_int16_t)); ^ dhcp6c.c:790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] client6_expire_refreshtime(arg) ^ dhcp6c.c:805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] client6_timo(arg) ^ dhcp6c.c:909:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] construct_confdata(ifp, ev) ^ dhcp6c.c:932:25: warning: 'memset' call operates on objects of type 'struct dhcp6_eventdata' while the size is based on a different type 'struct dhcp6_eventdata *' [-Wsizeof-pointer-memaccess] memset(evd, 0, sizeof(evd)); ~~~ ^~~ dhcp6c.c:932:25: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memset(evd, 0, sizeof(evd)); ^~~ dhcp6c.c:998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] construct_reqdata(ifp, optinfo, ev) ^ dhcp6c.c:1094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destruct_iadata(evd) ^ dhcp6c.c:1110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] select_server(ev) ^ dhcp6c.c:1132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] client6_signal(sig) ^ dhcp6c.c:1147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] client6_send(ev) ^ dhcp6c.c:1367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tv_sub(a, b, result) ^ dhcp6c.c:1423:24: error: use of undeclared identifier 'IPV6_PKTINFO' cm->cmsg_type == IPV6_PKTINFO && ^ dhcp6c.c:1478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] client6_recvadvert(ifp, dh6, len, optinfo) ^ dhcp6c.c:1681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_server(ev, duid) ^ dhcp6c.c:1696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] client6_recvreply(ifp, dh6, len, optinfo) ^ dhcp6c.c:1916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_event_withid(ifp, xid) ^ dhcp6c.c:1932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] process_auth(authparam, dh6, len, optinfo) ^ dhcp6c.c:2058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_auth(ev, optinfo) ^ 27 warnings and 2 errors generated. *** [dhcp6c.o] Error code 1 bmake: stopped making "all" in /Users/pbulk/build/net/wide-dhcpv6/work/wide-dhcpv6-20080615 bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/net/wide-dhcpv6/work/wide-dhcpv6-20080615 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/wide-dhcpv6 *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/wide-dhcpv6