brew: Formula test failing because build dependency cannot be found
Last week I was having issue where the brew audit step would fail when using core dependencies, with messages like: Error: No available formula with the name "openjdk".
This issue seems to be resolved (I think it was Homebrew/actions#333), and the general test workflow seems to again work on my tap. However, I just tried upgrading one of my formulae, and I’m running into an issue where after the building and installation the brew test step failed because with the message Error: No available formula with the name "cmake"..
I assume that this is still because it parses the formula and does not know about this dependency, since in the test step CMake is not used.
A full build log with the debug enabled can be found here: https://github.com/Dekker1/homebrew-minizinc/actions/runs/4277368900/jobs/7446201245
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 2
- Comments: 16 (12 by maintainers)
Commits related to this issue
- ci: add workaround for Homebrew/brew/issues/15049 — committed to b4nst/homebrew-tap by b4nst a year ago
- chore: add workaround for Homebrew/brew/issues/15049 — committed to Eyevinn/homebrew-tools by birme a year ago
- chore: add workaround for Homebrew/brew/issues/15049 — committed to Eyevinn/homebrew-tools by birme a year ago
- chore: add workaround for Homebrew/brew/issues/15049 — committed to Eyevinn/homebrew-tools by birme a year ago
- chore: add workaround for Homebrew/brew/issues/15049 — committed to Dekker1/homebrew-minizinc by Dekker1 a year ago
- chore: add workaround for Homebrew/brew/issues/15049 — committed to Dekker1/homebrew-minizinc by Dekker1 a year ago
- CI: Enforce Homebrew core tap Workaround to fix https://github.com/Homebrew/brew/issues/15049 — committed to obsproject/homebrew-tools by PatTheMav a year ago
- added workaround for homebrew workflow bug Failure is due to bug in Homebrew: https://github.com/Homebrew/brew/issues/15049 — committed to Macaulay2/homebrew-tap by mahrud a year ago
- added workaround for homebrew workflow bug Failure is due to bug in Homebrew: https://github.com/Homebrew/brew/issues/15049 — committed to Macaulay2/homebrew-tap by mahrud a year ago
- added workaround for homebrew workflow bug Failure is due to bug in Homebrew: https://github.com/Homebrew/brew/issues/15049 — committed to Macaulay2/homebrew-tap by mahrud a year ago
- added workaround for homebrew workflow bug Failure is due to bug in Homebrew: https://github.com/Homebrew/brew/issues/15049 — committed to Macaulay2/homebrew-tap by mahrud a year ago
- added workaround for homebrew workflow bug Failure is due to bug in Homebrew: https://github.com/Homebrew/brew/issues/15049 — committed to Macaulay2/homebrew-tap by mahrud a year ago
- added workaround for homebrew workflow bug Failure is due to bug in Homebrew: https://github.com/Homebrew/brew/issues/15049 — committed to Macaulay2/homebrew-tap by mahrud a year ago
- Workaround for https://github.com/Homebrew/brew/issues/15049 Signed-off-by: Finn Hermansson <finn.hermansson@svt.se> — committed to svt/homebrew-avtools by fhermansson a year ago
- -> https://github.com/Homebrew/brew/issues/15049 — committed to simonhammes/homebrew-test-tap-new by simonhammes a year ago
- Apply pr-pull workaround Switch back to the faster ubuntu runners and apply a workaround from https://github.com/Homebrew/brew/issues/15049 also spotted in multiple other repos like https://github.co... — committed to actonlang/homebrew-acton by plajjan a year ago
- -> https://github.com/Homebrew/brew/issues/15049 — committed to simonhammes/homebrew-test-tap-new by simonhammes a year ago
- -> https://github.com/Homebrew/brew/issues/15049 — committed to simonhammes/homebrew-test-tap-new by simonhammes a year ago
- -> https://github.com/Homebrew/brew/issues/15049 Closes #1. Signed-off-by: Simon <10352679+simonhammes@users.noreply.github.com> — committed to simonhammes/homebrew-test-tap-new by simonhammes a year ago
- Revert "chore: add workaround for Homebrew/brew/issues/15049" This reverts commit 6fd52ea6cdbab3fae7408e52726a03cd5e39d4eb. — committed to Dekker1/homebrew-minizinc by Dekker1 a year ago
Fixed by https://github.com/Homebrew/brew/pull/15564
@kke, you need to publish your
.github/workflows/publish.ymlchanges to themainbranch (i.e. commit directly or via another PR) before adding thepr-pulltag.The reason behind this: the workflow is triggered by the
pull_request_targetevent. It runs in the context of the PR target branch (mainin your case). See GitHub Docs for more information.If you still have issues, please use the discussion forum.
@kke, your problem looks like Homebrew/discussions#4546. But it’s hard to say without any debugging information. However, if it is, then you should be fixed by #15500. In any case, your problem is unlikely to be related to this issue (#15049).
As a workaround you can add something like
to your workflow.
This should be fixed so that it works without this, though.
CC @Bo98 who mentioned something like this.