=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for flodo-5.0
cd /Users/pbulk/build/net/flodo/work/flodo-v5 && clang  -pipe -Os -I/opt/pkg/include  -I/opt/pkg/include    -L/opt/pkg/lib   -o flodo flodo.c hash.c local_mac.c -lpcap
flodo.c:154:23: error: field has incomplete type 'struct ether_header'
                struct ether_header ether;
                                    ^
flodo.c:154:10: note: forward declaration of 'struct ether_header'
                struct ether_header ether;
                       ^
flodo.c:278:26: error: invalid application of 'sizeof' to an incomplete type 'const struct ether_header'
        if (header->len < sizeof(*ether)) {
                                ^~~~~~~~
flodo.c:154:10: note: forward declaration of 'struct ether_header'
                struct ether_header ether;
                       ^
flodo.c:283:33: error: incomplete definition of type 'struct ether_header'
        a.outbound = is_local_mac(ether->ether_shost);
                                  ~~~~~^
flodo.c:154:10: note: forward declaration of 'struct ether_header'
                struct ether_header ether;
                       ^
flodo.c:291:22: error: incomplete definition of type 'struct ether_header'
                switch (ntohs(ether->ether_type)) {
                              ~~~~~^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:132:46: note: expanded from macro 'ntohs'
#define ntohs(x)        __DARWIN_OSSwapInt16(x)
                                             ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:85:40: note: expanded from macro '__DARWIN_OSSwapInt16'
    ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x)))
                                       ^
flodo.c:154:10: note: forward declaration of 'struct ether_header'
                struct ether_header ether;
                       ^
flodo.c:291:22: error: incomplete definition of type 'struct ether_header'
                switch (ntohs(ether->ether_type)) {
                              ~~~~~^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:132:46: note: expanded from macro 'ntohs'
#define ntohs(x)        __DARWIN_OSSwapInt16(x)
                                             ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:85:71: note: expanded from macro '__DARWIN_OSSwapInt16'
    ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x)))
                                                                      ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:44:34: note: expanded from macro '__DARWIN_OSSwapConstInt16'
    ((__uint16_t)((((__uint16_t)(x) & 0xff00U) >> 8) | \
                                 ^
flodo.c:154:10: note: forward declaration of 'struct ether_header'
                struct ether_header ether;
                       ^
flodo.c:291:22: error: incomplete definition of type 'struct ether_header'
                switch (ntohs(ether->ether_type)) {
                              ~~~~~^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:132:46: note: expanded from macro 'ntohs'
#define ntohs(x)        __DARWIN_OSSwapInt16(x)
                                             ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:85:71: note: expanded from macro '__DARWIN_OSSwapInt16'
    ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x)))
                                                                      ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:45:25: note: expanded from macro '__DARWIN_OSSwapConstInt16'
                (((__uint16_t)(x) & 0x00ffU) << 8)))
                               ^
flodo.c:154:10: note: forward declaration of 'struct ether_header'
                struct ether_header ether;
                       ^
flodo.c:291:22: error: incomplete definition of type 'struct ether_header'
                switch (ntohs(ether->ether_type)) {
                              ~~~~~^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:132:46: note: expanded from macro 'ntohs'
#define ntohs(x)        __DARWIN_OSSwapInt16(x)
                                             ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:85:89: note: expanded from macro '__DARWIN_OSSwapInt16'
    ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x)))
                                                                                        ^
flodo.c:154:10: note: forward declaration of 'struct ether_header'
                struct ether_header ether;
                       ^
flodo.c:292:8: error: use of undeclared identifier 'ETHERTYPE_IP'
                case ETHERTYPE_IP:
                     ^
flodo.c:294:40: error: invalid application of 'sizeof' to an incomplete type 'const struct ether_header'
                                (const struct ip *)(packet + sizeof(*ether)),
                                                                   ^~~~~~~~
flodo.c:154:10: note: forward declaration of 'struct ether_header'
                struct ether_header ether;
                       ^
flodo.c:295:25: error: invalid application of 'sizeof' to an incomplete type 'const struct ether_header'
                                header->len - sizeof(*ether)) == 0)
                                                    ^~~~~~~~
flodo.c:154:10: note: forward declaration of 'struct ether_header'
                struct ether_header ether;
                       ^
flodo.c:567:9: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
                dev = pcap_lookupdev(errbuf);
                      ^
/Users/pbulk/build/net/flodo/work/.buildlink/include/pcap/pcap.h:394:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here
PCAP_DEPRECATED("use 'pcap_findalldevs' and use the first device")
^
/Users/pbulk/build/net/flodo/work/.buildlink/include/pcap/funcattrs.h:307:47: note: expanded from macro 'PCAP_DEPRECATED'
  #define PCAP_DEPRECATED(msg)  __attribute__((deprecated(msg)))
                                               ^
1 warning and 10 errors generated.
*** Error code 1

Stop.
bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/net/flodo
*** Error code 1

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/net/flodo