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

brew deps --graph missing cask name #13009

Closed
2 tasks done
tianyizheng02 opened this issue Mar 19, 2022 · 0 comments · Fixed by #13010
Closed
2 tasks done

brew deps --graph missing cask name #13009

tianyizheng02 opened this issue Mar 19, 2022 · 0 comments · Fixed by #13010
Labels
bug Reproducible Homebrew/brew bug outdated PR was locked due to age

Comments

@tianyizheng02
Copy link

brew config output

HOMEBREW_VERSION: 3.4.2-14-g6420c8f
ORIGIN: https://github.com/Homebrew/brew
HEAD: 6420c8f363851588fe686317cc48eda7e1cd9c6b
Last commit: 2 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 22b6f6fcb1c825ad213ef4cea6f80bcc584102ea
Core tap last commit: 2 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_CORE_GIT_REMOTE: https://github.com/Homebrew/homebrew-core
HOMEBREW_MAKE_JOBS: 4
Homebrew Ruby: 2.6.8 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: quad-core 64-bit kabylake
Clang: 13.1.6 build 1316
Git: 2.35.1 => /usr/local/bin/git
Curl: 7.77.0 => /usr/bin/curl
macOS: 12.2.1-x86_64
CLT: 13.3.0.0.1.1645755326
Xcode: N/A

brew doctor output

Your system is ready to brew.

Verification

  • I ran brew update and am still able to reproduce my issue.
  • I have resolved all warnings from brew doctor and that did not fix my problem.

What were you trying to do (and why)?

I ran brew deps --installed --graph to visualize the dependencies between my installed formulae and casks.

What happened (include all command output)?

As expected, Homebrew opened a browser tab with the dependency graph visualized with Graphviz. However, the node for the cask mactex-no-gui was called #<CaskDependent:0x00007fd8bd2ea7a0> instead of its actual name.

What did you expect to happen?

I expected the node in the dependency graph to be called mactex-no-gui since that's what the cask is called. This issue doesn't occur for brew deps --tree but does occur for brew deps --graph regardless of whether the cask is installed. The issue also occurs for the cask mactex.

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

The issue exists for both `mactex` and `mactex-no-gui`:
`brew deps --graph mactex` or `brew deps --graph mactex-no-gui`

If `mactex` or `mactex-no-gui` is already installed, then `brew deps --graph --installed` will also reproduce the issue.
@tianyizheng02 tianyizheng02 added the bug Reproducible Homebrew/brew bug label Mar 19, 2022
@github-actions github-actions bot added the outdated PR was locked due to age label Apr 20, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.

1 participant