Skip to content

fix: repair Antfly v0.2.1 macOS packaging with revision 1 - #4

Merged
ajroetker merged 1 commit into
mainfrom
fix/antfly-0.2.1-packaging-revision
Sep 9, 2026
Merged

ajroetker merged 1 commit into
mainfrom
fix/antfly-0.2.1-packaging-revision

Conversation

@ajroetker

Copy link
Copy Markdown
Contributor

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 is lib/libantfly.dylib.

The library is rebuilt from exact v0.2.1 runtime source with only headerpad_max_install_names enabled. Keep the original CLI and all other archive members unchanged, retain version_scheme 1 for recovery from the mistaken version 64, and add revision 1 so 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_1 and 0.2.1 -> 0.2.1_1; brew test with 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.

@ajroetker
ajroetker merged commit 45bbcf6 into main Sep 9, 2026
1 check passed
@ajroetker
ajroetker deleted the fix/antfly-0.2.1-packaging-revision branch September 9, 2026 16:09
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