ci/platforms/darwin.sh: fix genromfs installation#19414
Open
simbit18 wants to merge 1 commit into
Open
Conversation
fix
Error: Refusing to load formula px4/px4/genromfs from untrusted tap px4/px4.
Run `brew trust --formula px4/px4/genromfs` or `brew trust px4/px4` to trust it.
Error: Process completed with exit code 1.
Homebrew 6.0+ refuses to load formulae from third-party taps unless they
are explicitly trusted ("Refusing to load formula ... from untrusted tap").
Trust each tap non-interactively before installing from it. Without this,
`brew install` aborts before pouring any package (including ccache).
`brew trust` only exists on Homebrew 6.0+; guard it so older versions,
which don't gate untrusted taps, skip it silently.
https://github.com/PX4/PX4-Autopilot/blob/50161b1f09c31beade9a0bb5b4057276e9eac4ee/Tools/setup/macos.sh#L54-L64
Signed-off-by: simbit18 <simbit18@gmail.com>
xiaoxiang781216
approved these changes
Jul 12, 2026
linguini1
approved these changes
Jul 12, 2026
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
fix
https://github.com/NuttX/nuttx/actions/runs/27758491940/job/82126706912
Homebrew 6.0+ refuses to load formulae from third-party taps unless they are explicitly trusted ("Refusing to load formula ... from untrusted tap"). Trust each tap non-interactively before installing from it. Without this,
brew installaborts before pouring any package (including ccache).brew trustonly exists on Homebrew 6.0+.https://github.com/PX4/PX4-Autopilot/blob/50161b1f09c31beade9a0bb5b4057276e9eac4ee/Tools/setup/macos.sh#L54-L64
Impact
Impact on user: No changes to user-facing functionality
Impact on build: Build process remains the same
Testing
GitHub
Nuttx repository: simbit18/nuttx
Nuttx branch: simbit18-macos
Apps repository: apache/nuttx-apps
Apps branch: master
Architecture: all
Host platform: macos
https://github.com/simbit18/manual-nuttx-ci/actions/runs/29193425477/job/86652110177