Repository navigation
macOS: require openssl@4, name missing Homebrew dylibs in install.sh - #616
Merged
Merged
Conversation
… update the Homebrew tap on release Published macOS builds link Homebrew's openssl@4 (what pkg-config resolves on the runner), while docs, doctor and install.sh told users to install openssl@3: on a host with only @3 the compiler dies in dyld before main and install.sh reports a bare smoke-test failure. Install and recommend openssl@4 everywhere, keep @3 as the link-flag fallback, have install.sh name the missing brew formulae from otool -L, and add a tag-only release step that points manticorephp/homebrew-tap at the new build.
… no cross-repo secret
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Published macOS builds link Homebrew's
openssl@4(/opt/homebrew/opt/openssl@4/lib/libssl.4.dylib):pkg-configon the runner resolves @4, although the workflow installs @3. README,docs/install.md,install.shhints andmanticore doctorall saidbrew install openssl@3. A user with only @3 gets a compiler that dyld kills beforemain, andinstall.shreports only "failed its smoke test". Reported by a user.Changes
install.sh,doctor:openssl@3→openssl@4.openssl_link_flags()andtools/link_stubs.sh: the no-pkg-config fallback triesopenssl@4, thenopenssl@3.install.sh: before the smoke test on macOS, readsotool -Lof the downloaded compiler and names every missing Homebrew dylib's formula (brew install openssl@4).manticorephp/homebrew-tap, which bumps itself on a schedule with its own token — no secret here), coexistence withinstall.sh.Verification
install.shmissing-dylib detection exercised against a non-existent formula path.src/change is a two-line fallback loop; needs the normal CI build.