Homebrew / homebrew-cask

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

DiffMerge install fails on Mac OS Catalina 10.15 #70792

Closed timfjord closed 4 years ago

timfjord commented 4 years ago

General troubleshooting steps

Description of issue

DiffMerge install fails on Mac OS Catalina 10.15

Command that failed

brew cask install diffmerge

Output of command with --force --verbose --debug

==> Cask::Installer#install
==> Printing caveats
==> Cask::Installer#fetch
==> Satisfying dependencies
==> Downloading
==> Downloading http://download.sourcegear.com/DiffMerge/4.2.1/DiffMerge.4.2.1.1013.intel.stable.pkg
/usr/bin/curl -q --globoff --show-error --user-agent Homebrew/2.1.14-21-g455bb3e\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15\)\ curl/7.64.1 --location --silent --head --request GET http://download.sourcegear.com/DiffMerge/4.2.1/DiffMerge.4.2.1.1013.intel.stable.pkg
Already downloaded: /Users/timsly/Library/Caches/Homebrew/downloads/e9bcad770bfb00cf1c3267c8226bf698f0c968e071a05c48ed3bcbd9a179eb3f--DiffMerge.4.2.1.1013.intel.stable.pkg
==> Checking quarantine support
/usr/bin/xattr
/usr/bin/swift /usr/local/Homebrew/Library/Homebrew/cask/utils/quarantine.swift
==> Quarantine is available.
==> Verifying Gatekeeper status of /Users/timsly/Library/Caches/Homebrew/downloads/e9bcad770bfb00cf1c3267c8226bf698f0c968e071a05c48ed3bcbd9a179eb3f--DiffMerge.4.2.1.1013.intel.stable.pkg
/usr/bin/xattr -p com.apple.quarantine /Users/timsly/Library/Caches/Homebrew/downloads/e9bcad770bfb00cf1c3267c8226bf698f0c968e071a05c48ed3bcbd9a179eb3f--DiffMerge.4.2.1.1013.intel.stable.pkg
==> /Users/timsly/Library/Caches/Homebrew/downloads/e9bcad770bfb00cf1c3267c8226bf698f0c968e071a05c48ed3bcbd9a179eb3f--DiffMerge.4.2.1.1013.intel.stable.pkg is quarantined
==> Downloaded to -> /Users/timsly/Library/Caches/Homebrew/downloads/e9bcad770bfb00cf1c3267c8226bf698f0c968e071a05c48ed3bcbd9a179eb3f--DiffMerge.4.2.1.1013.intel.stable.pkg
==> Verifying SHA-256 checksum for Cask 'diffmerge'.
==> Installing Cask diffmerge
==> Cask::Installer#stage
==> Extracting primary container
==> Using container class UnpackStrategy::Pkg for /Users/timsly/Library/Caches/Homebrew/downloads/e9bcad770bfb00cf1c3267c8226bf698f0c968e071a05c48ed3bcbd9a179eb3f--DiffMerge.4.2.1.1013.intel.stable.pkg
cp -p /Users/timsly/Library/Caches/Homebrew/downloads/e9bcad770bfb00cf1c3267c8226bf698f0c968e071a05c48ed3bcbd9a179eb3f--DiffMerge.4.2.1.1013.intel.stable.pkg /usr/local/Caskroom/diffmerge/4.2.1.1013/DiffMerge.4.2.1.1013.intel.stable.pkg
==> Verifying Gatekeeper status of /Users/timsly/Library/Caches/Homebrew/downloads/e9bcad770bfb00cf1c3267c8226bf698f0c968e071a05c48ed3bcbd9a179eb3f--DiffMerge.4.2.1.1013.intel.stable.pkg
/usr/bin/xattr -p com.apple.quarantine /Users/timsly/Library/Caches/Homebrew/downloads/e9bcad770bfb00cf1c3267c8226bf698f0c968e071a05c48ed3bcbd9a179eb3f--DiffMerge.4.2.1.1013.intel.stable.pkg
==> /Users/timsly/Library/Caches/Homebrew/downloads/e9bcad770bfb00cf1c3267c8226bf698f0c968e071a05c48ed3bcbd9a179eb3f--DiffMerge.4.2.1.1013.intel.stable.pkg is quarantined
==> Propagating quarantine from /Users/timsly/Library/Caches/Homebrew/downloads/e9bcad770bfb00cf1c3267c8226bf698f0c968e071a05c48ed3bcbd9a179eb3f--DiffMerge.4.2.1.1013.intel.stable.pkg to /usr/local/Caskroom/diffmerge/4.2.1.1013
/usr/bin/xattr -p com.apple.quarantine /Users/timsly/Library/Caches/Homebrew/downloads/e9bcad770bfb00cf1c3267c8226bf698f0c968e071a05c48ed3bcbd9a179eb3f--DiffMerge.4.2.1.1013.intel.stable.pkg
/usr/bin/xargs -0 -- /bin/chmod -h u\+w
/usr/bin/xargs -0 -- /usr/bin/xattr -w com.apple.quarantine 0181\;5da1a87b\;Homebrew\\x20Cask\;824BF952-89AA-4E18-800F-0441CBA4A216
==> Creating metadata directory /usr/local/Caskroom/diffmerge/.metadata/4.2.1.1013/20191014141646.263.
==> Creating metadata subdirectory /usr/local/Caskroom/diffmerge/.metadata/4.2.1.1013/20191014141646.263/Casks.
==> Installing artifacts
==> 3 artifact/s defined
#<SortedSet: {#<Cask::Artifact::Uninstall:0x00007f9dc610ae08 @cask=#<Cask::Cask:0x00007f9dc814edb8 @token="diffmerge", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/diffmerge.rb>, @tap=#<Tap:0x00007f9dc8135750 @user="Homebrew", @repo="cask", @name="homebrew/cask", @full_name="Homebrew/homebrew-cask", @path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask>, @alias_table=nil, @alias_reverse_table=nil, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @block=#<Proc:0x00007f9dc814ecc8@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/diffmerge.rb:1>, @caskroom_path=#<Pathname:/usr/local/Caskroom/diffmerge>, @metadata_master_container_path=#<Pathname:/usr/local/Caskroom/diffmerge/.metadata>, @config=#<Cask::Config:0x00007f9dc6063608 @explicit={}>, @dsl=#<Cask::DSL:0x00007f9dc6061178 @cask=#<Cask::Cask:0x00007f9dc814edb8 ...>, @token="diffmerge", @version="4.2.1.1013", @sha256="1f19897513fb7af8fc7d3b40643bd6dee80e401c7245a0ed774e8211fd48e388", @url=#<URL:0x00007f9dc60fbdb8 @uri=#<URI::HTTP http://download.sourcegear.com/DiffMerge/4.2.1/DiffMerge.4.2.1.1013.intel.stable.pkg>, @user_agent=:default, @specs={}>, @name=["DiffMerge"], @homepage="https://www.sourcegear.com/diffmerge/", @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/diffmerge/4.2.1.1013>, @language=nil>>, @directives={:pkgutil=>"com.sourcegear.DiffMerge", :signal=>[]}>, #<Cask::Artifact::Pkg:0x00007f9dc60fa238 @cask=#<Cask::Cask:0x00007f9dc814edb8 @token="diffmerge", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/diffmerge.rb>, @tap=#<Tap:0x00007f9dc8135750 @user="Homebrew", @repo="cask", @name="homebrew/cask", @full_name="Homebrew/homebrew-cask", @path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask>, @alias_table=nil, @alias_reverse_table=nil, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @block=#<Proc:0x00007f9dc814ecc8@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/diffmerge.rb:1>, @caskroom_path=#<Pathname:/usr/local/Caskroom/diffmerge>, @metadata_master_container_path=#<Pathname:/usr/local/Caskroom/diffmerge/.metadata>, @config=#<Cask::Config:0x00007f9dc6063608 @explicit={}>, @dsl=#<Cask::DSL:0x00007f9dc6061178 @cask=#<Cask::Cask:0x00007f9dc814edb8 ...>, @token="diffmerge", @version="4.2.1.1013", @sha256="1f19897513fb7af8fc7d3b40643bd6dee80e401c7245a0ed774e8211fd48e388", @url=#<URL:0x00007f9dc60fbdb8 @uri=#<URI::HTTP http://download.sourcegear.com/DiffMerge/4.2.1/DiffMerge.4.2.1.1013.intel.stable.pkg>, @user_agent=:default, @specs={}>, @name=["DiffMerge"], @homepage="https://www.sourcegear.com/diffmerge/", @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/diffmerge/4.2.1.1013>, @language=nil>>, @path=#<Pathname:/usr/local/Caskroom/diffmerge/4.2.1.1013/DiffMerge.4.2.1.1013.intel.stable.pkg>, @stanza_options={}>, #<Cask::Artifact::Zap:0x00007f9dc6109530 @cask=#<Cask::Cask:0x00007f9dc814edb8 @token="diffmerge", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/diffmerge.rb>, @tap=#<Tap:0x00007f9dc8135750 @user="Homebrew", @repo="cask", @name="homebrew/cask", @full_name="Homebrew/homebrew-cask", @path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask>, @alias_table=nil, @alias_reverse_table=nil, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @block=#<Proc:0x00007f9dc814ecc8@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/diffmerge.rb:1>, @caskroom_path=#<Pathname:/usr/local/Caskroom/diffmerge>, @metadata_master_container_path=#<Pathname:/usr/local/Caskroom/diffmerge/.metadata>, @config=#<Cask::Config:0x00007f9dc6063608 @explicit={}>, @dsl=#<Cask::DSL:0x00007f9dc6061178 @cask=#<Cask::Cask:0x00007f9dc814edb8 ...>, @token="diffmerge", @version="4.2.1.1013", @sha256="1f19897513fb7af8fc7d3b40643bd6dee80e401c7245a0ed774e8211fd48e388", @url=#<URL:0x00007f9dc60fbdb8 @uri=#<URI::HTTP http://download.sourcegear.com/DiffMerge/4.2.1/DiffMerge.4.2.1.1013.intel.stable.pkg>, @user_agent=:default, @specs={}>, @name=["DiffMerge"], @homepage="https://www.sourcegear.com/diffmerge/", @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/diffmerge/4.2.1.1013>, @language=nil>>, @directives={:trash=>["~/Library/Preferences/com.sourcegear.DiffMerge.plist", "~/Library/Preferences/SourceGear DiffMerge Preferences", "~/Library/Saved Application State/com.sourcegear.DiffMerge.savedState"], :signal=>[]}>}>
==> Installing artifact of class Cask::Artifact::Pkg
==> Running installer for diffmerge; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
/usr/bin/sudo -E -- /usr/bin/env LOGNAME=timsly USER=timsly USERNAME=timsly /usr/sbin/installer -pkg /usr/local/Caskroom/diffmerge/4.2.1.1013/DiffMerge.4.2.1.1013.intel.stable.pkg -target / -verboseR
installer: Package name is DiffMerge
installer: Installing at base path /
installer:PHASE:Готуюся до інсталювання…
installer:PHASE:Готую диск…
installer:PHASE:Готую пакет DiffMerge…
installer:PHASE:Чекаю на завершення інсталювання інших пакетів…
installer:PHASE:Конфігурую інсталяцію…
installer:STATUS:
installer:%97.750000
installer: The install failed. (Інсталятор виявив невідому помилку, яка спричинила збій інсталювання. Зверніться до виробника програми по допомогу. Пакет намагається інсталювати вміст на системний том.)
==> Purging files for version 4.2.1.1013 of Cask diffmerge
Error: Failure while executing; `/usr/bin/sudo -E -- /usr/bin/env LOGNAME=timsly USER=timsly USERNAME=timsly /usr/sbin/installer -pkg /usr/local/Caskroom/diffmerge/4.2.1.1013/DiffMerge.4.2.1.1013.intel.stable.pkg -target / -verboseR` exited with 1. Here's the output:
installer: Package name is DiffMerge
installer: Installing at base path /
installer:PHASE:Готуюся до інсталювання…
installer:PHASE:Готую диск…
installer:PHASE:Готую пакет DiffMerge…
installer:PHASE:Чекаю на завершення інсталювання інших пакетів…
installer:PHASE:Конфігурую інсталяцію…
installer:STATUS:
installer:%97.750000
installer: The install failed. (Інсталятор виявив невідому помилку, яка спричинила збій інсталювання. Зверніться до виробника програми по допомогу. Пакет намагається інсталювати вміст на системний том.)
Follow the instructions here:
  https://github.com/Homebrew/homebrew-cask#reporting-bugs
/usr/local/Homebrew/Library/Homebrew/system_command.rb:176:in `assert_success!'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:53:in `run!'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:29:in `run'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:33:in `run!'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/pkg.rb:59:in `block in run_installer'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/pkg.rb:65:in `with_choices_file'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/pkg.rb:52:in `run_installer'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/pkg.rb:34:in `install_phase'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:212:in `block in install_artifacts'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:777:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:777:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:203:in `install_artifacts'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:103:in `install'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:22:in `block in run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:16:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:16:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/abstract_command.rb:36:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:92:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:158:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:123:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:9:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:102:in `<main>'
Error: Kernel.exit
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:167:in `exit'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:167:in `rescue in run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:146:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:123:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:9:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:102:in `<main>'

Output of brew cask doctor

==> Homebrew Version
2.1.14-21-g455bb3e
==> macOS
10.15
==> SIP
Enabled
==> Java
N/A
==> xattr issues
<NONE>
==> Gatekeeper support
Enabled
==> Homebrew Cask Install Location
<NONE>
==> Homebrew Cask Staging Location
/usr/local/Caskroom
==> Homebrew Cask Taps:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask (3471 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-macho-2.2.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-rspec-1.36.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-performance-1.5.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-0.75.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unicode-display_width-1.6.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-wait-0.0.9/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-retry-0.6.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-its-1.3.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-3.9.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-mocks-3.9.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-expectations-3.9.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-core-3.9.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-support-3.9.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ronn-0.7.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rdiscount-2.2.0.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/x86_64-darwin-13/2.6.0-static/rdiscount-2.2.0.1
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rainbow-3.0.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/plist-3.5.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parser-2.6.5.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parallel_tests-2.29.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parallel-1.18.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mustache-1.1.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mechanize-2.7.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/webrobots-0.1.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ntlm-http-0.1.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/nokogiri-1.10.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/x86_64-darwin-13/2.6.0-static/nokogiri-1.10.4
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mini_portile2-2.4.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/net-http-persistent-3.1.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/net-http-digest_auth-1.4.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mime-types-3.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mime-types-data-3.2019.1009/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/jaro_winkler-1.5.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/x86_64-darwin-13/2.6.0-static/jaro_winkler-1.5.3
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/http-cookie-1.0.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/hpricot-0.8.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/x86_64-darwin-13/2.6.0-static/hpricot-0.8.6
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/domain_name-0.5.20190701/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unf-0.1.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unf_ext-0.0.7.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/x86_64-darwin-13/2.6.0-static/unf_ext-0.0.7.6
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/diff-lcs-1.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/coveralls-0.8.23/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/thor-0.20.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/term-ansicolor-1.7.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/tins-1.21.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/simplecov-0.16.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/simplecov-html-0.10.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/docile-1.3.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/json-2.2.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/x86_64-darwin-13/2.6.0-static/json-2.2.0
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/connection_pool-2.2.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ast-2.4.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/activesupport-5.2.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/tzinfo-1.2.5/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/thread_safe-0.3.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/minitest-5.12.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/i18n-1.7.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib
/Library/Ruby/Site/2.6.0
/Library/Ruby/Site/2.6.0/x86_64-darwin19
/Library/Ruby/Site/2.6.0/universal-darwin19
/Library/Ruby/Site
/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/x86_64-darwin19
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0/universal-darwin19
/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/x86_64-darwin19
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19
/usr/local/Homebrew/Library/Homebrew
==> Environment Variables
LC_ALL="en_US.UTF-8"
PATH="/usr/local/Homebrew/Library/Homebrew/shims/scm:/usr/bin:/bin:/usr/sbin:/sbin"
SHELL="/bin/zsh"

Output of brew tap

heroku/brew
homebrew/cask
homebrew/core
homebrew/services
reitermarkus commented 4 years ago

Does installing it manually work?

timfjord commented 4 years ago

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

reitermarkus commented 4 years ago

Yeah, it's not an error we can fix then. You'll have to contact the developer.

reitermarkus commented 4 years ago

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?

timfjord commented 4 years ago

Sure, I can take a look

timfjord commented 4 years ago

@reitermarkus Done - https://github.com/Homebrew/homebrew-cask/pull/70869

netniV commented 4 years ago

Unfortunately, this does not actually resolve the issue. Catalina still does not like this and presumably can only be resolved by the developer themselves.

timfjord commented 4 years ago

@netniV That's strange, I tried installing/uninstalling a couple of time and it always worked. What kind of issue did you see?

lorenzwalthert commented 4 years ago

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 commented 4 years ago

@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

image

timfjord commented 4 years ago

@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

netniV commented 4 years ago

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 ;-)

vitorgalvao commented 4 years ago

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.

netniV commented 4 years ago

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 👍