Skip to content

Fix macOS Pipeline - #234

Merged
5cript merged 3 commits into
mainfrom
fix/macos-ci-boost-zlib
Oct 15, 2026
Merged

5cript merged 3 commits into
mainfrom
fix/macos-ci-boost-zlib

Conversation

@5cript

@5cript 5cript commented Oct 15, 2026 •

Copy link
Copy Markdown
Owner

Make macOS run through again.

The runner image of 2026-10-12 made b2's zlib probe fail, so boost
iostreams was built without zlib and Nui's bin2hpp failed to link.
b2 now gets ZLIB_INCLUDE, ZLIB_LIBRARY_PATH and ZLIB_NAME from the SDK,
and the dependency build stops with b2's configuration log when
iostreams still lacks zlib, before anything is cached.
The runner image of 2026-10-12 ships Command Line Tools with the macOS
27.0 SDK. Links that name no SDK picked it, and the linker cannot read
its .tbd files (unknown architecture arm64e.x1), so every b2
configuration check that links failed: boost iostreams came out
without zlib and Nui's bin2hpp failed to link. Boost and Crypto++ get
-isysroot through SYSROOT_FLAGS now, which replaces the explicit zlib
paths of the previous commit; the zlib check after the boost build
stays.
grep -q stopped reading at the first match, nm died of SIGPIPE and
pipefail counted that as a failure, so the check rejected a library that
has zlib. The symbols are captured first and read with the llvm-nm of
the toolchain that built them.
@5cript 5cript changed the title macOS CI names the SDK's zlib for boost iostreams explicitly Fix macOS Pipeline Oct 15, 2026
@5cript
5cript merged commit 8de5e5e into main Oct 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant