-
-
Notifications
You must be signed in to change notification settings - Fork 12.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
babel 7.14.8 #81582
babel 7.14.8 #81582
Conversation
Looks like the same failure as in #81556. Could be fixed in Homebrew/brew#11750 see; |
I think |
@carlocab I'm new to the world of homebrew-core, is that something we do manually, or is there an automatic way to resolve resource blocks? |
They're mostly done automatically for resources from PyPI, but everything else needs to be done manually, sadly. |
The LLVM formulae build universal binaries for compiler-rt. This is why these formulae use `ENV.permit_arch_flags`. Infer vendors its own clang, and so also has its own compiler-rt. `babel` and `contentful-cli` both install the npm package `fsevents`, which installs a universal native module `fsevents.node`. I suggest adding them to the allowlist for now so we have a list that keeps track of them. (It would be nice if JSON files allowed comments though.) I have changes in mind for `brew` that will allow us to easily extract the native slices from these binaries, but I'd like to see it needed by more formulae before we add it to `brew`. This list should help us keep track of the number of formulae that would need this. This commit unblocks Homebrew#81556 and Homebrew#81582. See Homebrew/brew#11737 for context.
If #81591 is merged as-is you can rebase this to fix the audit error. |
`FormulaInstaller` calls `audit_installed` at install time, which invokes methods in `FormulaCellarChecks`. One of these methods makes a call to `tap_audit_exception` (cf. Homebrew#11750), but this method isn't visible in `FormulaInstaller`. Instead of trying to replicate the logic of `tap_audit_exception` in `FormulaAuditor` (or trying to initialise an instance of one to make the call to `FormulaAuditor`'s implementation of it), let's just implement a stub that assumes an exception always exists. I'll need to think a bit about whether this is the right fix for this, but currently the missing method error is blocking PRs in Homebrew/core, so let's go with this for now. [1] [1] e.g. Homebrew/homebrew-core#81388, Homebrew/homebrew-core#81582
Oops. That new CI error is my fault. Fixed in Homebrew/brew#11755. |
Different kind of failure though -- #81591 removes an audit failure that we could choose to ignore. Homebrew/brew#11755 fixes an install failure that we can't ignore. |
The LLVM formulae build universal binaries for compiler-rt. This is why these formulae use `ENV.permit_arch_flags`. Infer vendors its own clang, and so also has its own compiler-rt. `babel` and `contentful-cli` both install the npm package `fsevents`, which installs a universal native module `fsevents.node`. I suggest adding them to the allowlist for now so we have a list that keeps track of them. (It would be nice if JSON files allowed comments though.) I have changes in mind for `brew` that will allow us to easily extract the native slices from these binaries, but I'd like to see it needed by more formulae before we add it to `brew`. This list should help us keep track of the number of formulae that would need this. This commit unblocks #81556 and #81582. See Homebrew/brew#11737 for context.
ef81d25
to
62db996
Compare
Thanks @carlocab 🥳 |
🤖 A scheduled task has triggered a merge. |
Huh, bottles are all the same. Looks like this installs macOS native modules on Linux too. |
Created with
brew bump-formula-pr
.resource
blocks may require updates.