Closed Helloyunho closed 1 year ago
Did you try reinstalling the software?
Did you try reinstalling the software?
Yes, tried brew reinstall ghidra
and brew uninstall ghidra && brew install ghidra
.
Does the path remain the same?
Does the path remain the same?
Yes it keep reports the same path.
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.
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?
Changing the way brew handles versions because Ghindra can't deal with commas in a path is unfortunately not really a feasible solution.
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.
Verification
--force
.brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.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
Output of
brew doctor --verbose
Output of
brew tap