brew test-bot fails 3rd-party formulae with requires on GitHub runners
#6753
-
|
All my macOS FUSE repo builds now fail on GitHub runners with errors like: All the FUSE formulae I assume that this new restriction is meant to ensure that bottled formulae are logically complete, and while I can get behind the intent, the current implementation results in a painful third-party experience and loss of DRY with increased scope for hard-to-track bugs, when identical code chunks in different formulae start drifting apart from each other over time due to simple human error. I think this can be resolved in one of the following ways:-
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
You seem to be conflating a few different problems into one which is making this difficult to follow, perhaps from frustration here. As far as I can gather, the issue of The formula file in the bottle has always been used when installing directly from a bottle tarball. What has changed is which path the formula file it is pretending to be. Previously it pretended to be in the tap directory but now it more accurately is where it is actually installed to:
However, there is an element of backwards compatibility that was retained here. In the event the bottle file fails, it will fall back to use the tap file. So CI isn't failing with that message - it is simply just warning. However something in that process seems to be triggering a download and thus leading to the Separately, there is an interesting point on whether we want to handle shared code better. We have a similar setup in our portable-ruby formula, though that's not a "real" formula so doesn't hit the same issues. The point being though that the general structure of using |
Beta Was this translation helpful? Give feedback.
Homebrew/brew#21743 contains a fix for this issue.