===> 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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:294: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:305:37: error: use of undeclared identifier 'IPV6_PKTINFO'
        if (setsockopt(sock, IPPROTO_IPV6, IPV6_PKTINFO, &on,
                                           ^
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: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: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:1423:24: error: use of undeclared identifier 'IPV6_PKTINFO'
                    cm->cmsg_type == IPV6_PKTINFO &&
                                     ^
4 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-x86_64/net/wide-dhcpv6
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/net/wide-dhcpv6