The Agent2 build process seems to be broken on macOS now:
Undefined symbols for architecture arm64:
"_CONFIG_TCP_MAX_BACKLOG_SIZE", referenced from:
_zbx_tcp_listen in libzbxcomms.a(comms.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Presumable, the problem was introduced by ZBX-7933.