Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

brew --repo homebrew/core prints /opt/homebrew not /opt/homebrew/Library/Taps/homebrew/homebrew-core #17191

Closed
3 tasks done
gibfahn opened this issue Apr 30, 2024 · 1 comment · Fixed by #17192
Closed
3 tasks done
Assignees
Labels
bug Reproducible Homebrew/brew bug outdated PR was locked due to age

Comments

@gibfahn
Copy link
Contributor

gibfahn commented Apr 30, 2024

brew doctor output

❯ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed kegs have no formulae!
This means they were either deleted or installed manually.
You should find replacements for the following formulae:
  rmtrash

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  openssl@1.1

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
  /usr/local/include/python3.7m/greenlet/greenlet.h

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.2.20-38-gfe4392d
ORIGIN: https://github.com/Homebrew/brew
HEAD: fe4392dad5b7507f4999328012c087c5cdd3124c
Last commit: 37 minutes ago
Core tap HEAD: 823dd3d3681cc47cea86b0b416cd3e8fcccec1fe
Core tap last commit: 4 minutes ago
Core tap JSON: 30 Apr 15:49 UTC
Core cask tap HEAD: a7d8ce071c35f2c1acc8d234cee44a8430734066
Core cask tap last commit: 58 minutes ago
Core cask tap JSON: 30 Apr 15:49 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_BAT_THEME: TwoDark
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: nvim
HOMEBREW_MAKE_JOBS: 16
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.1.4 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: 16-core 64-bit kabylake
Clang: 15.0.0 build 1500
Git: 2.41.0 => /usr/local/bin/git
Curl: 8.4.0 => /usr/bin/curl
macOS: 14.4.1-x86_64
CLT: 15.3.0.0.1.1708646388
Xcode: N/A

What were you trying to do (and why)?

Get the path to an installed tap programmatically (run in automation).

What happened (include all command output)?

brew --repo apple/bottler-jenkins
/opt/homebrew

What did you expect to happen?

brew --repo homebrew/core
/opt/homebrew/Library/Taps/homebrew/homebrew-core

Looks like this regressed in #17188

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

brew developer on
brew update
brew --repo homebrew/core # or any other tap
@gibfahn gibfahn added the bug Reproducible Homebrew/brew bug label Apr 30, 2024
@gibfahn
Copy link
Contributor Author

gibfahn commented Apr 30, 2024

If I check out the commit before #17188 then this works.

cc/ @MikeMcQuaid

@MikeMcQuaid MikeMcQuaid self-assigned this Apr 30, 2024
@github-actions github-actions bot added the outdated PR was locked due to age label May 31, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 31, 2024
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
bug Reproducible Homebrew/brew bug outdated PR was locked due to age
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants