Skip to content

Fix Homebrew tap-trust breakage in libkrun install steps#100

Merged
JAORMX merged 1 commit into
mainfrom
fix/homebrew-tap-trust
Jul 1, 2026
Merged

Fix Homebrew tap-trust breakage in libkrun install steps#100
JAORMX merged 1 commit into
mainfrom
fix/homebrew-tap-trust

Conversation

@jhrozek

@jhrozek jhrozek commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Homebrew 6.0 (released ~June 2026) made tap trust mandatory: installing a formula from a third-party tap (e.g. slp/krun) now fails with Refusing to load formula ... from untrusted tap unless the tap or formula is explicitly trusted first.
  • This broke Build (macOS CGO) in CI (macos-15 runners picked up Homebrew 6.0) and will break local dev setup on any machine with an up-to-date Homebrew.
  • Fix: install by fully-qualified formula name (slp/krun/libkrun, slp/krun/libkrunfw), which Homebrew treats as trusting only those specific items rather than the whole tap -- the CI-preferred minimal-trust pattern per Homebrew's own docs.
  • Applied to .github/workflows/ci.yaml, .github/workflows/release.yaml, and the doc references in docs/MACOS.md, README.md, CONTRIBUTING.md, and CLAUDE.md.

Why separate from PR #99

PR #99 (OCI symlink extraction fix) is currently blocked by this same CI failure on an unrelated file. Landing this fix on main first unblocks that PR without mixing an infra fix into its diff.

Test plan

🤖 Generated with Claude Code

Homebrew 6.0 requires explicit trust for third-party taps before
installing formulae from them. Trust the whole slp/krun tap rather
than qualifying only the top-level formulae, since libkrun/libkrunfw
pull in other tap formulae (e.g. virglrenderer) as dependencies that
also need trust.
@jhrozek jhrozek force-pushed the fix/homebrew-tap-trust branch from 1292b49 to ea6a7c2 Compare July 1, 2026 10:34
@JAORMX JAORMX merged commit bf029e0 into main Jul 1, 2026
7 checks passed
@JAORMX JAORMX deleted the fix/homebrew-tap-trust branch July 1, 2026 10:43
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.

2 participants