Homebrew / homebrew-cask

🍻 A CLI workflow for the administration of macOS applications distributed as binaries
https://brew.sh
BSD 2-Clause "Simplified" License
20.82k stars 10.65k forks source link

Homebrew thinks Ghidra is not exist even though it is installed #134897

Closed Helloyunho closed 1 year ago

Helloyunho commented 1 year ago

Verification

Description of issue

I was making a shell script that gets the Ghidra path from Homebrew(via brew --prefix ghidra) and runs the headless analyzer of it, but Homebrew says that the path does not exist even though it's installed and runs without problems.

I followed the path and I noticed that Homebrew was expecting it to be in /opt/homebrew/Caskroom/ghidra/10.1.5,20220726 but it's actually in /opt/homebrew/Caskroom/ghidra/10.1.5-20220726. Maybe it's just a typo.

Command that failed

brew info ghidra

Output of command with --verbose --debug

/opt/homebrew/Library/Homebrew/shims/shared/git --version
==> Printing caveats
==> ghidra: 10.1.5,20220726
https://www.ghidra-sre.org/
/opt/homebrew/Caskroom/ghidra/10.1.5,20220726 (does not exist)
From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/ghidra.rb
==> Name
Ghidra
==> Description
Software reverse engineering (SRE) suite of tools
==> Artifacts
/opt/homebrew/Caskroom/ghidra/10.1.5-20220726/ghidra_10.1.5_PUBLIC/ghidraRun (Binary)
==> Caveats
ghidra requires Java 11+. You can install the latest version with:
  brew install --cask temurin

/opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/3.6.8-10-g73d535a\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 13.0\)\ curl/7.84.0 --header Accept-Language:\ en --max-time 5 --retry 3 --fail https://formulae.brew.sh/api/cask/ghidra.json
==> Analytics
==> install (30 days)
Index | Name (with options)                                                                                                                                            | Count |  Percent
-----:|----------------------------------------------------------------------------------------------------------------------------------------------------------------|------:|--------:
1     | ghidra                                                                                                                                                         |   707 |  100.00%
==> install (90 days)
Index | Name (with options)                                                                                                                                            | Count |  Percent
-----:|----------------------------------------------------------------------------------------------------------------------------------------------------------------|------:|--------:
1     | ghidra                                                                                                                                                         | 2,017 |  100.00%
==> install (365 days)
Index | Name (with options)                                                                                                                                            | Count |  Percent
-----:|----------------------------------------------------------------------------------------------------------------------------------------------------------------|------:|--------:
1     | ghidra

Output of brew doctor --verbose

# Ignore the git-related warnings as it's just for my library.

==> Cask Environment Variables:
BUNDLE_PATH
CHRUBY_VERSION
GEM_HOME
GEM_PATH
HOMEBREW_CASK_OPTS
LC_ALL
PATH
RBENV_VERSION
RUBYLIB
RUBYOPT
RUBYPATH
SHELL
==> $LOAD_PATHS
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/warning-1.3.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tapioca-0.7.3/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/yard-sorbet-0.6.1/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/yard-0.9.28/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/spoom-1.1.11/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/thor-1.2.1/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-static-and-runtime-0.5.10461/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-0.5.10461/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-static-0.5.10461-universal-darwin-22/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov-cobertura-2.1.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov-0.21.2/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.4/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov-html-0.12.3/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-macho-3.0.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rubocop-sorbet-0.6.11/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rubocop-rspec-2.13.2/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rubocop-rails-2.16.1/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rubocop-performance-1.15.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rubocop-1.35.1/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-2.3.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.21.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rspec_junit_formatter-0.6.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rspec-wait-0.0.9/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rspec-sorbet-1.9.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rspec-retry-0.6.2/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rspec-its-1.3.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rspec-github-2.3.1/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rspec-3.11.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.1/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.1/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ronn-0.7.3/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.5/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rdiscount-2.2.0.2/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-22/2.6.0/rdiscount-2.2.0.2
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rbi-0.0.14/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/unparser-0.6.4/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/pry-0.14.1/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/plist-3.6.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/patchelf-1.3.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/parlour-8.0.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rainbow-3.1.1/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/parser-3.1.2.1/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/parallel_tests-3.13.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/parallel-1.22.1/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/mustache-1.1.1/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/method_source-1.0.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/mechanize-2.8.5/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/webrobots-0.1.2/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/webrick-1.7.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rubyntlm-0.6.3/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.13.9-arm64-darwin/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/racc-1.6.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-22/2.6.0/racc-1.6.0
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/net-http-persistent-4.0.1/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/net-http-digest_auth-1.4.1/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/mime-types-3.4.1/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/mime-types-data-3.2022.0105/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/json_schemer-0.2.21/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/uri_template-0.7.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-22/2.6.0/json-2.6.2
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/http-cookie-1.0.5/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/hpricot-0.8.6/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-22/2.6.0/hpricot-0.8.6
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/hana-1.3.7/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.2.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ecma-re-validator-0.4.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/regexp_parser-2.6.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/domain_name-0.5.20190701/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/unf-0.1.4/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/unf_ext-0.0.8.2/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-22/2.6.0/unf_ext-0.0.8.2
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/docile-1.4.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/did_you_mean-1.6.1/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/connection_pool-2.3.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/commander-4.6.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/highline-2.0.3/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-22/2.6.0/byebug-11.1.3
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.13.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-22/2.6.0/bootsnap-1.13.0
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/msgpack-1.6.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-22/2.6.0/msgpack-1.6.0
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/bindata-2.4.12/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ast-2.4.2/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.1/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.0.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-6.1.7/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.6.1/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/tzinfo-2.0.5/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/minitest-5.16.3/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.12.0/lib
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.10/lib/concurrent-ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0/arm64e-darwin22
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0/universal-darwin22
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/arm64e-darwin22
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin22
/opt/homebrew/Library/Homebrew
==> Homebrew Version
3.6.8-10-g73d535a
==> macOS
13.0
==> SIP
Enabled
==> Homebrew Cask Staging Location
/opt/homebrew/Caskroom
==> Homebrew Cask Taps:
/opt/homebrew/Library/Taps/homebrew/homebrew-cask (4112 casks)
/opt/homebrew/Library/Taps/majd/homebrew-repo (1 cask)
/opt/homebrew/Library/Taps/homebrew/homebrew-cask-versions (228 casks)
/opt/homebrew/Library/Taps/gcenx/homebrew-wine (4 casks)
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 formulae are deprecated or disabled.
You should find replacements for the following formulae:
  natalie

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and which additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew-provided
script of the same name. We found the following "config" scripts:
  /Users/helloyunho/miniforge3/envs/REDACTED/bin/python3.10-config
  /Users/helloyunho/miniforge3/envs/REDACTED/bin/python3-config
  /Users/helloyunho/miniforge3/envs/REDACTED/bin/ncursesw6-config
  /Users/helloyunho/miniforge3/envs/REDACTED/bin/ncurses6-config

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

Unexpected dylibs:
  /usr/local/lib/libgit2.0.28.4.dylib
  /usr/local/lib/ss_conn_lib2.dylib

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/git2.h
  /usr/local/include/git2/annotated_commit.h
  /usr/local/include/git2/apply.h
  /usr/local/include/git2/attr.h
  /usr/local/include/git2/blame.h
  /usr/local/include/git2/blob.h
  /usr/local/include/git2/branch.h
  /usr/local/include/git2/buffer.h
  /usr/local/include/git2/checkout.h
  /usr/local/include/git2/cherrypick.h
  /usr/local/include/git2/clone.h
  /usr/local/include/git2/commit.h
  /usr/local/include/git2/common.h
  /usr/local/include/git2/config.h
  /usr/local/include/git2/cred_helpers.h
  /usr/local/include/git2/deprecated.h
  /usr/local/include/git2/describe.h
  /usr/local/include/git2/diff.h
  /usr/local/include/git2/errors.h
  /usr/local/include/git2/filter.h
  /usr/local/include/git2/global.h
  /usr/local/include/git2/graph.h
  /usr/local/include/git2/ignore.h
  /usr/local/include/git2/index.h
  /usr/local/include/git2/indexer.h
  /usr/local/include/git2/inttypes.h
  /usr/local/include/git2/mailmap.h
  /usr/local/include/git2/merge.h
  /usr/local/include/git2/message.h
  /usr/local/include/git2/net.h
  /usr/local/include/git2/notes.h
  /usr/local/include/git2/object.h
  /usr/local/include/git2/odb.h
  /usr/local/include/git2/odb_backend.h
  /usr/local/include/git2/oid.h
  /usr/local/include/git2/oidarray.h
  /usr/local/include/git2/pack.h
  /usr/local/include/git2/patch.h
  /usr/local/include/git2/pathspec.h
  /usr/local/include/git2/proxy.h
  /usr/local/include/git2/rebase.h
  /usr/local/include/git2/refdb.h
  /usr/local/include/git2/reflog.h
  /usr/local/include/git2/refs.h
  /usr/local/include/git2/refspec.h
  /usr/local/include/git2/remote.h
  /usr/local/include/git2/repository.h
  /usr/local/include/git2/reset.h
  /usr/local/include/git2/revert.h
  /usr/local/include/git2/revparse.h
  /usr/local/include/git2/revwalk.h
  /usr/local/include/git2/signature.h
  /usr/local/include/git2/stash.h
  /usr/local/include/git2/status.h
  /usr/local/include/git2/stdint.h
  /usr/local/include/git2/strarray.h
  /usr/local/include/git2/submodule.h
  /usr/local/include/git2/sys/alloc.h
  /usr/local/include/git2/sys/commit.h
  /usr/local/include/git2/sys/config.h
  /usr/local/include/git2/sys/diff.h
  /usr/local/include/git2/sys/filter.h
  /usr/local/include/git2/sys/hashsig.h
  /usr/local/include/git2/sys/index.h
  /usr/local/include/git2/sys/mempack.h
  /usr/local/include/git2/sys/merge.h
  /usr/local/include/git2/sys/odb_backend.h
  /usr/local/include/git2/sys/openssl.h
  /usr/local/include/git2/sys/path.h
  /usr/local/include/git2/sys/refdb_backend.h
  /usr/local/include/git2/sys/reflog.h
  /usr/local/include/git2/sys/refs.h
  /usr/local/include/git2/sys/repository.h
  /usr/local/include/git2/sys/stream.h
  /usr/local/include/git2/sys/time.h
  /usr/local/include/git2/sys/transport.h
  /usr/local/include/git2/tag.h
  /usr/local/include/git2/trace.h
  /usr/local/include/git2/transaction.h
  /usr/local/include/git2/transport.h
  /usr/local/include/git2/tree.h
  /usr/local/include/git2/types.h
  /usr/local/include/git2/version.h
  /usr/local/include/git2/worktree.h

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

Unexpected '.pc' files:
  /usr/local/lib/pkgconfig/libgit2.pc

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

Unexpected static libraries:
  /usr/local/lib/libgit2.a

Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause formulae that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  numpy
  pillow
  six
  wireshark

Output of brew tap

armmbed/formulae
clintmod/formulas
gcenx/wine
homebrew/cask
homebrew/cask-versions
homebrew/core
homebrew/services
koekeishiya/formulae
majd/repo
willdoescode/natls
SMillerDev commented 1 year ago

Did you try reinstalling the software?

Helloyunho commented 1 year ago

Did you try reinstalling the software?

Yes, tried brew reinstall ghidra and brew uninstall ghidra && brew install ghidra.

SMillerDev commented 1 year ago

Does the path remain the same?

Helloyunho commented 1 year ago

Does the path remain the same?

Yes it keep reports the same path.

SMillerDev commented 1 year ago

https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/ghidra.rb the cask itself moves from the location brew installs it in because the Log4J version it uses internally does not clean up paths properly and starts logging to components of the file path. Nothing we can do here unless upstream fixes that issue.

Helloyunho commented 1 year ago

https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/ghidra.rb the cask itself moves from the location brew installs it in because the Log4J version it uses internally does not clean up paths properly and starts logging to components of the file path. Nothing we can do here unless upstream fixes that issue.

Oh, can't we just change the version in the brew metadata?

SMillerDev commented 1 year ago

Changing the way brew handles versions because Ghindra can't deal with commas in a path is unfortunately not really a feasible solution.

Helloyunho commented 1 year ago

Changing the way brew handles versions because Ghindra can't deal with commas in a path is unfortunately not really a feasible solution.

Kinda expected it but still thanks, I think I should make an issue on Ghidra then.