Skip to content
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

Improve brew doctor quarantine "unknown reason" message #18540

Open
3 tasks done
wonbyte opened this issue Oct 9, 2024 · 4 comments
Open
3 tasks done

Improve brew doctor quarantine "unknown reason" message #18540

wonbyte opened this issue Oct 9, 2024 · 4 comments
Labels
bug Reproducible Homebrew/brew bug help wanted We want help addressing this

Comments

@wonbyte
Copy link

wonbyte commented Oct 9, 2024

brew doctor output

Warning: No Cask quarantine support available: unknown reason.

Verification

  • My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
  • I ran brew update twice and am still able to reproduce my issue.
  • This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output

brew config
HOMEBREW_VERSION: 4.4.0
ORIGIN: https://github.com/Homebrew/brew
HEAD: 84c31175f11860129a9aaed40a13c549625e2db1
Last commit: 8 days ago
Core tap JSON: 09 Oct 15:00 UTC
Core cask tap JSON: 09 Oct 15:00 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 16
Homebrew Ruby: 3.3.5 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/bin/ruby
CPU: 16-core 64-bit arm_palma
Clang: 15.0.0 build 1500
Git: 2.47.0 => /opt/homebrew/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 14.7-arm64
CLT: 15.3.0.0.1.1708646388
Xcode: N/A
Rosetta 2: false

What were you trying to do (and why)?

  1. run brew doctor

What happened (include all command output)?

The command brew doctor says:

Warning: No Cask quarantine support available: unknown reason.

What did you expect to happen?

Not to receive a warning.

Step-by-step reproduction instructions (by running brew commands)

1. run `brew doctor`
2. Expect: Warning: No Cask quarantine support available: unknown reason.
@wonbyte wonbyte added the bug Reproducible Homebrew/brew bug label Oct 9, 2024
@wonbyte
Copy link
Author

wonbyte commented Oct 9, 2024

See discussion for the issue here: https://github.com/orgs/Homebrew/discussions/5482

@wonbyte wonbyte closed this as completed Oct 10, 2024
@MikeMcQuaid MikeMcQuaid reopened this Oct 13, 2024
@MikeMcQuaid MikeMcQuaid changed the title Doctor: "Warning: No Cask quarantine support available: unknown reason" Improve brew doctor quarantine "unknown reason" message Oct 13, 2024
@MikeMcQuaid MikeMcQuaid added the help wanted We want help addressing this label Oct 13, 2024
@MikeMcQuaid
Copy link
Member

Reopening as we should try to improve the messaging here to be better based on https://github.com/orgs/Homebrew/discussions/5482

@Bo98
Copy link
Member

Bo98 commented Oct 13, 2024

The uptick in reports appears to be an uptick of bad CLT installs ("15.3" installs that have a partially-installed 16.0). May need to report it to Apple if it's reproducible.

Clean install from developer.apple.com is a workaround for now. Maybe we can have a workaround from our side too to force an older SDK in this scenario.

@wonbyte
Copy link
Author

wonbyte commented Oct 13, 2024

Definitely think it's due to the "bad CLT installs". I had reinstalled macOS 14.7 and then installed CLT (Xcode-select --install). I just go an update for CLT (version 16) and after completing the upgrade I now see:

$ brew doctor

Your system is ready to brew.

So it appears after doing the initial CLT install, It was causing the warning. The upgrade to 16 resolved it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Reproducible Homebrew/brew bug help wanted We want help addressing this
Projects
None yet
Development

No branches or pull requests

3 participants