Repository navigation
ci: parse runner output before comparing so hosted runners install deps - #2
Draft
fablab503-collab wants to merge 2 commits into
Draft
fablab503-collab wants to merge 2 commits into
fablab503-collab wants to merge 2 commits into
Conversation
The configuration job emits the runner as a quoted JSON string
('macos-26') for fromJSON() in runs-on, but Install Requirements
compared that raw string to env.RUNNER_IMAGE (macos-26). They never
matched, so on GitHub-hosted runners the step was always skipped and
build_dependencies.sh failed with "'six' not found". Self-hosted
runners still parse to an array and keep skipping the step.
Assisted-by: Claude:claude-opus-5-5
With Install Requirements now running on hosted runners, the sysroot build gets to Mesa's host build, which fails at meson.build:2092 with 'Dependency "SPIRV-Tools" not found'. llvmspirvlib is already found via Homebrew's pkg-config, so add the matching spirv-tools formula. Assisted-by: Claude:claude-opus-5-5
Owner
Author
|
The sysroot fix works. Every Next blocker, not fixable from this PR:
The source uses iOS 27 SDK APIs, inside Options:
Re-running won't help, because this is the same compiler every time. This PR still fixes a real bug: the sysroot builds used to fail in about 10 seconds and now succeed. Generated by Claude Code |
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.
Summary
Build Sysrootfails on GitHub-hosted runners with'six' not found in your Python 3 installation.This happens onmainand on #1.Root cause: The
configurationjob writes the runner as a quoted JSON string,runners='macos-26', so thatruns-on: ${{ fromJSON(...) }}can parse it. The Install Requirements step compares that raw string toenv.RUNNER_IMAGE(macos-26).'macos-26' != macos-26, so the step is always skipped and none of the brew/pip dependencies get installed. The job log confirms it: there's no Install Requirements output, then thecheck_envfailure.Fix: Compare
fromJSON(needs.configuration.outputs.runner)instead. That's the same parseruns-onalready does successfully. Self-hosted runners still parse to an array, so they keep skipping the step as intended.My earlier guess on #1 (a pip3 vs python3 mismatch) was wrong. The install step never ran.
Testing
YAML parses. Real verification is this PR's own CI run. Building the full sysroot from scratch on a hosted runner may take a long time.
Generated by Claude Code