The GitHub Actions job "Build" on rocketmq-clients.git/fix/cpp-ci-bazel-and-coverage has failed. Run started by GitHub user lizhimins (triggered by lizhimins).
Head commit for run: 322d007e2ca13ccb1b6a0f85ef063e0ec5378700 / terrance.lzm <[email protected]> fix(cpp): fix Bazel build on macOS with Xcode 16+ Xcode 16+ predefines TARGET_OS_MAC as a built-in compiler macro, which triggers old zlib's zutil.h to redefine fdopen as NULL. This conflicts with the system _stdio.h header. Fix by pre-defining fdopen as itself via --per_file_copt for zlib sources only, so the #ifndef fdopen guard skips the dangerous redefinition. Also restore macOS to the Bazel CI matrix. Co-Authored-By: Claude Opus 4.6 <[email protected]> Report URL: https://github.com/apache/rocketmq-clients/actions/runs/27138837426 With regards, GitHub Actions via GitBox
