===> Building for dhcpcd-10.0.8 for x in src hooks; do cd $x; /opt/pkg/bin/bmake all || exit $?; cd ..; done clang -pipe -Os -std=c99 -DHAVE_CONFIG_H -DNDEBUG -DINET -DARP -DARPING -DIPV4LL -DINET6 -DDHCP6 -DAUTH -DPRIVSEP -I.. -I../src -I./crypt -c common.c -o common.o In file included from common.c:40: In file included from ../src/dhcpcd.h:37: In file included from ../config.h:22: ../compat/setproctitle.h:39:1: error: static declaration of 'getprogname' follows non-static declaration getprogname(void) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:300:3: note: previous declaration is here *getprogname(void); ^ In file included from common.c:40: In file included from ../src/dhcpcd.h:37: In file included from ../config.h:22: ../compat/setproctitle.h:44:1: error: static declaration of 'setprogname' follows non-static declaration setprogname(char *name) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:301:7: note: previous declaration is here void setprogname(const char *); ^ In file included from common.c:40: In file included from ../src/dhcpcd.h:96: In file included from ../src/privsep.h:127: In file included from ../src/arp.h:46: In file included from ../src/if.h:72: ../src/ipv4.h:76:9: warning: 'IN_ARE_ADDR_EQUAL' macro redefined [-Wmacro-redefined] #define IN_ARE_ADDR_EQUAL(a, b) ((a)->s_addr == (b)->s_addr) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/netinet/in.h:383:9: note: previous definition is here #define IN_ARE_ADDR_EQUAL(a, b) \ ^ In file included from common.c:40: In file included from ../src/dhcpcd.h:96: In file included from ../src/privsep.h:127: In file included from ../src/arp.h:46: In file included from ../src/if.h:73: ../src/ipv6.h:40:14: fatal error: 'sys/endian.h' file not found # include <sys/endian.h> ^~~~~~~~~~~~~~ 1 warning and 3 errors generated. *** [common.o] Error code 1 bmake[1]: stopped making "all" in /Users/pbulk/build/net/dhcpcd/work/dhcpcd-10.0.8/src bmake[1]: 1 error bmake[1]: stopped making "all" in /Users/pbulk/build/net/dhcpcd/work/dhcpcd-10.0.8/src *** [all] Error code 2 bmake: stopped making "all" in /Users/pbulk/build/net/dhcpcd/work/dhcpcd-10.0.8 bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/net/dhcpcd/work/dhcpcd-10.0.8 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/net/dhcpcd *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/net/dhcpcd