Repository navigation
fix: repair Antfly v0.2.1 macOS packaging with revision 1 - #4
Merged
Merged
Conversation
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.
Apple Silicon installations of Antfly v0.2.1 fail when Homebrew expands the dylib's install name. Publish a Homebrew packaging revision,
0.2.1_1, using a separately checksummed archive whose only changed member islib/libantfly.dylib.The library is rebuilt from exact v0.2.1 runtime source with only
headerpad_max_install_namesenabled. Keep the original CLI and all other archive members unchanged, retainversion_scheme 1for recovery from the mistaken version 64, and addrevision 1so existing 0.2.1 installations receive the repair. Linux continues using the original archives.Add a C embedding test to the formula, plus the source patch and rebuild instructions. The official Antfly v0.2.1 tag and assets are preserved; no Antfly v0.2.2 tag is created.
Validated on Apple Silicon: clean install; reproduced both original install failures, then successfully upgraded
64 -> 0.2.1_1and0.2.1 -> 0.2.1_1;brew testwith a compiled C consumer; strict code-signature verification; and the full existing Antfly C smoke test. Comparing all 26 archive members confirms that only the dylib changed, and each installed CLI matches the original v0.2.1 binary byte-for-byte.