Fix binary build failures: darwin-x64 runner retired, darwin-arm64 API rate limit, Windows missing libs#145
Merged
jasdeepkhalsa merged 2 commits intomasterfrom Mar 7, 2026
Merged
Conversation
…Windows libs to download darwin-x64: macos-13 runner has been retired by GitHub — switch to macos-15-intel (the current supported Intel macOS runner label). darwin-arm64: spc doctor --auto-fix exhausts the anonymous GitHub API rate limit (403) by the time spc download tries to resolve openssl. Pass GITHUB_TOKEN as an env var on the Unix build step so SPC uses authenticated API calls throughout. win32-x64 / win32-arm64: the previous source/ pre-create fix got past the php-src extraction failure but spc build then immediately failed with "Source [postgresql-win] not downloaded". The Windows download command was missing library sources. Add SPC_WINDOWS_LIBS env constant (libiconv,libxml2,postgresql,sqlite — omitting ncurses/libedit which are Unix-only) and pass it into the Windows spc download invocation.
rhysd/actionlint only publishes full semver tags (v1.x.y); there is no floating v1 alias. Replace the action reference with the official bash download script which always installs the latest release.
|
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.



Fix binary build failures: darwin-x64 runner retired, darwin-arm64 API rate limit, Windows missing libs
Three separate root causes, all diagnosed from the GHA run logs.
darwin-x64 —
macos-13runner retiredGitHub no longer provides
macos-13. The job was failing immediately with"The configuration 'macos-13-us-default' is not supported".
Fix: Switch to
macos-15-intel, the current supported Intel (x64) macOS runner label.darwin-arm64 — GitHub API 403 rate limit during
spc downloaddoctor --auto-fixon macOS installsre2c,autoconf,automake,libtool, andbisonvia Homebrew, each of which makes unauthenticatedapi.github.comcalls.By the time
spc downloadtries to resolve the OpenSSL release, the anonymous ratelimit is exhausted and GitHub returns 403, aborting the build.
Fix: Add
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}as an env var on the Unixbuild step. SPC honours this token for all API calls, including those made by
doctor --auto-fix.win32-x64 / win32-arm64 — libraries never downloaded
The previous
New-Item -Path sourcefix resolved thephp-srcextraction crash,but
spc buildthen immediately failed:The Unix
spc downloadcommand passes$SPC_LIBS(
libiconv,libxml2,ncurses,libedit,postgresql,sqlite) but the Windows commandonly listed extensions — library sources were never fetched.
Fix: Add a
SPC_WINDOWS_LIBSenv constant (libiconv,libxml2,postgresql,sqlite,omitting
ncurses/libeditwhich are Unix-only) and pass it into the Windowsspc downloadinvocation. SPC automatically resolvespostgresql→postgresql-winandlibiconv→libiconv-winon Windows.