Closed timfjord closed 4 years ago
Does installing it manually work?
No, the same error. I think it has to do with the new limitation of Mac OS Catalina where apps cannot be installed in the root folder
Yeah, it's not an error we can fix then. You'll have to contact the developer.
Well, they offer a DMG instead of an installer:
http://download.sourcegear.com/DiffMerge/4.2.1/DiffMerge.4.2.1.1013.intel.stable.dmg
Mind updating the cask to that?
Sure, I can take a look
@reitermarkus Done - https://github.com/Homebrew/homebrew-cask/pull/70869
Unfortunately, this does not actually resolve the issue. Catalina still does not like this and presumably can only be resolved by the developer themselves.
@netniV That's strange, I tried installing/uninstalling a couple of time and it always worked. What kind of issue did you see?
Not sure if relevant: I tried DMG but then it would not symlink the executable automatically (and I did not want to do it manually) so I could not use DiffMerge with git. I ended up installing it with homebrew and everything worked.
@netniV That's strange, I tried installing/uninstalling a couple of time and it always worked. What kind of issue did you see?
It states that the developer is unidentified and refuses to run. It even verified that cask was the one to download it from sourcegear. I just tried to run it again
brew cask install diffmerge --force --verbose --debug
==> Installing artifact of class Cask::Artifact::App
Warning: It seems there is already an App at '/Applications/DiffMerge.app'; overwriting.
==> Removing App '/Applications/DiffMerge.app'.
==> Moving App 'DiffMerge.app' to '/Applications/DiffMerge.app'.
==> Installing artifact of class Cask::Artifact::Binary
==> Linking Binary 'diffmerge.sh' to '/usr/local/bin/diffmerge'.
/bin/ln -h -f -s -- /usr/local/Caskroom/diffmerge/4.2.1.1013/Extras/diffmerge.sh /usr/local/bin/diffmerge
==> Adding com.apple.metadata:kMDItemAlternateNames metadata
/usr/bin/xattr -p com.apple.metadata:kMDItemAlternateNames /usr/local/Caskroom/diffmerge/4.2.1.1013/Extras/diffmerge.sh
==> Existing metadata is: ''
/bin/chmod -- u\+rw /usr/local/Caskroom/diffmerge/4.2.1.1013/Extras/diffmerge.sh /usr/local/Caskroom/diffmerge/4.2.1.1013/Extras/diffmerge.sh
/usr/bin/xattr -w com.apple.metadata:kMDItemAlternateNames \(\"diffmerge\"\) /usr/local/Caskroom/diffmerge/4.2.1.1013/Extras/diffmerge.sh
==> Installing artifact of class Cask::Artifact::Manpage
==> Linking Manpage 'diffmerge.1' to '/usr/local/share/man/man1/diffmerge.1'.
/bin/ln -h -f -s -- /usr/local/Caskroom/diffmerge/4.2.1.1013/Extras/diffmerge.1 /usr/local/share/man/man1/diffmerge.1
🍺 diffmerge was successfully installed!
diffmerge
@netniV it is expected.
Just open Security & Privacy
page in the MacOs Settings while the popup is active and allow Diffmerge app there.
Next time you run it it won't show
Duh, I knew about that and yet I forgot about that. I think it might be useful if Cask could at least notify the user there is that extra step to remove the error so daftness doesn't kick in like it did for me ;-)
I think it might be useful if Cask could at least notify the user there is that extra step to remove the error so daftness doesn't kick in like it did for me ;-)
This is not a Homebrew Cask concern, it’s a macOS concern. We don’t know which apps will have that problem, and keeping track of those would be a colossal time sink for little gain.
Everyone facing that issue and wanting to open a bug report with us has to read the reporting bugs guide which includes the solution. We can point people to the instructions, but we can’t force them to read them.
Well I guess it's also recorded here. I didnt' create a new issue since one already existed and said it had been resolved. Anyway, it was SUS (Stupid User Syndrome) so it's all good now 👍
General troubleshooting steps
--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
DiffMerge install fails on Mac OS Catalina 10.15
Command that failed
Output of command with
--force --verbose --debug
Output of
brew cask doctor
Output of
brew tap