=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/flodo", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for flodo-5.0 cd /var/tmp/work/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' 154 | struct ether_header ether; | ^ flodo.c:154:10: note: forward declaration of 'struct ether_header' 154 | struct ether_header ether; | ^ flodo.c:278:26: error: invalid application of 'sizeof' to an incomplete type 'const struct ether_header' 278 | if (header->len < sizeof(*ether)) { | ^~~~~~~~ flodo.c:154:10: note: forward declaration of 'struct ether_header' 154 | struct ether_header ether; | ^ flodo.c:283:33: error: incomplete definition of type 'const struct ether_header' 283 | a.outbound = is_local_mac(ether->ether_shost); | ~~~~~^ flodo.c:154:10: note: forward declaration of 'struct ether_header' 154 | struct ether_header ether; | ^ flodo.c:291:22: error: incomplete definition of type 'const struct ether_header' 291 | switch (ntohs(ether->ether_type)) { | ~~~~~^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_endian.h:133:46: note: expanded from macro 'ntohs' 133 | #define ntohs(x) __DARWIN_OSSwapInt16(x) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:67:40: note: expanded from macro '__DARWIN_OSSwapInt16' 67 | ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x))) | ^ flodo.c:154:10: note: forward declaration of 'struct ether_header' 154 | struct ether_header ether; | ^ flodo.c:291:22: error: incomplete definition of type 'const struct ether_header' 291 | switch (ntohs(ether->ether_type)) { | ~~~~~^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_endian.h:133:46: note: expanded from macro 'ntohs' 133 | #define ntohs(x) __DARWIN_OSSwapInt16(x) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:67:71: note: expanded from macro '__DARWIN_OSSwapInt16' 67 | ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x))) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:36:34: note: expanded from macro '__DARWIN_OSSwapConstInt16' 36 | ((__uint16_t)((((__uint16_t)(x) & 0xff00U) >> 8) | \ | ^ flodo.c:154:10: note: forward declaration of 'struct ether_header' 154 | struct ether_header ether; | ^ flodo.c:291:22: error: incomplete definition of type 'const struct ether_header' 291 | switch (ntohs(ether->ether_type)) { | ~~~~~^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_endian.h:133:46: note: expanded from macro 'ntohs' 133 | #define ntohs(x) __DARWIN_OSSwapInt16(x) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:67:71: note: expanded from macro '__DARWIN_OSSwapInt16' 67 | ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x))) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:37:25: note: expanded from macro '__DARWIN_OSSwapConstInt16' 37 | (((__uint16_t)(x) & 0x00ffU) << 8))) | ^ flodo.c:154:10: note: forward declaration of 'struct ether_header' 154 | struct ether_header ether; | ^ flodo.c:291:22: error: incomplete definition of type 'const struct ether_header' 291 | switch (ntohs(ether->ether_type)) { | ~~~~~^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_endian.h:133:46: note: expanded from macro 'ntohs' 133 | #define ntohs(x) __DARWIN_OSSwapInt16(x) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:67:89: note: expanded from macro '__DARWIN_OSSwapInt16' 67 | ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x))) | ^ flodo.c:154:10: note: forward declaration of 'struct ether_header' 154 | struct ether_header ether; | ^ flodo.c:292:8: error: use of undeclared identifier 'ETHERTYPE_IP' 292 | case ETHERTYPE_IP: | ^ flodo.c:294:40: error: invalid application of 'sizeof' to an incomplete type 'const struct ether_header' 294 | (const struct ip *)(packet + sizeof(*ether)), | ^~~~~~~~ flodo.c:154:10: note: forward declaration of 'struct ether_header' 154 | struct ether_header ether; | ^ flodo.c:295:25: error: invalid application of 'sizeof' to an incomplete type 'const struct ether_header' 295 | header->len - sizeof(*ether)) == 0) | ^~~~~~~~ flodo.c:154:10: note: forward declaration of 'struct ether_header' 154 | struct ether_header ether; | ^ flodo.c:567:9: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 567 | dev = pcap_lookupdev(errbuf); | ^ /var/tmp/work/net/flodo/work/.buildlink/include/pcap/pcap.h:418:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here 418 | PCAP_DEPRECATED("use 'pcap_findalldevs' and use the first device") | ^ /var/tmp/work/net/flodo/work/.buildlink/include/pcap/funcattrs.h:359:47: note: expanded from macro 'PCAP_DEPRECATED' 359 | #define PCAP_DEPRECATED(msg) __attribute__((deprecated(msg))) | ^ 1 warning and 10 errors generated. *** Error code 1 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/flodo *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/flodo