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.7k forks source link

blender wont start #113649

Closed vonProteus closed 2 years ago

vonProteus commented 2 years ago

Description of issue

when i run brew install --cask blender i get

==> Downloading https://download.blender.org/release/Blender2.93/blender-2.93.5-macos-x64.dmg
Already downloaded: /Users/vonProteus/Library/Caches/Homebrew/downloads/8dcb321f09f75f0b87277ea8df359461e89e8c19d14ba06cdf6e288fc7ca8f44--blender-2.93.5-macos-x64.dmg
==> Installing Cask blender
==> Moving App 'Blender.app' to '/Applications/Blender.app'
==> Linking Binary 'blender.wrapper.sh' to '/usr/local/bin/blender'
🍺  blender was successfully installed!

and blender is installed but when i try to start it its crashes i think it is connected to the fact that in finder in application blender size is 298.2mb and on disk image /Users/vonProteus/Library/Caches/Homebrew/downloads/8dcb321f09f75f0b87277ea8df359461e89e8c19d14ba06cdf6e288fc7ca8f44--blender-2.93.5-macos-x64.dmg it is 533mb it starts just fine from disk image

Command that failed

blender

Output of command with --verbose --debug

Click to expand


$blende
dyld[57132]: Library not loaded: @executable_path/../Resources/lib/libomp.dylib
  Referenced from: /Applications/Blender.app/Contents/MacOS/Blender
  Reason: tried: '/Applications/Blender.app/Contents/MacOS/../Resources/lib/libomp.dylib' (no such file), '/usr/lib/libomp.dylib' (no such file)
/usr/local/bin/blender: line 2: 57132 Abort trap: 6           '/Applications/Blender.app/Contents/MacOS/Blender' "$@"

Output of brew doctor --verbose

Click to expand


==> 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
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/warning-1.2.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/tapioca-0.5.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/yard-sorbet-0.6.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/yard-0.9.26/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/spoom-1.1.5/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/thor-1.1.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/sorbet-runtime-stub-0.2.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/simplecov-cobertura-1.4.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/simplecov-0.21.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/simplecov_json_formatter-0.1.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/simplecov-html-0.12.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-macho-2.5.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-sorbet-0.6.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-rspec-2.5.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-rails-2.12.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-performance-1.12.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-1.22.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unicode-display_width-2.1.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-ast-1.12.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec_junit_formatter-0.4.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-sorbet-1.8.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/sorbet-0.5.9293/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/sorbet-static-0.5.9293-universal-darwin-14/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-retry-0.6.2/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-github-2.3.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-3.10.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-mocks-3.10.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-expectations-3.10.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-core-3.10.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-support-3.10.2/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/rexml-3.2.5/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rdiscount-2.2.0.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/x86_64-darwin-14/2.6.0-static/rdiscount-2.2.0.2
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rbi-0.0.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unparser-0.6.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rack-2.2.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/pry-0.14.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/plist-3.6.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/patchelf-1.3.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parlour-6.0.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/sorbet-runtime-0.5.9293/lib
/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/parser-3.0.2.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parallel_tests-3.7.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parallel-1.21.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mustache-1.1.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/method_source-1.0.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mechanize-2.8.1/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/webrick-1.7.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubyntlm-0.6.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/nokogiri-1.12.5-x86_64-darwin/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/racc-1.6.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/x86_64-darwin-14/2.6.0-static/racc-1.6.0
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mini_portile2-2.6.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/net-http-persistent-4.0.1/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.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mime-types-data-3.2021.0901/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/json_schemer-0.2.18/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/uri_template-0.7.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/http-cookie-1.0.4/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-14/2.6.0-static/hpricot-0.8.6
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/hana-1.3.7/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/elftools-1.1.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ecma-re-validator-0.3.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/regexp_parser-2.1.1/lib
/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.8/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/x86_64-darwin-14/2.6.0-static/unf_ext-0.0.8
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/docile-1.4.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/diff-lcs-1.4.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/did_you_mean-1.5.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/connection_pool-2.2.5/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/commander-4.6.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/highline-2.0.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/coderay-1.1.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/byebug-11.1.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/x86_64-darwin-14/2.6.0-static/byebug-11.1.3
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/bootsnap-1.9.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/x86_64-darwin-14/2.6.0-static/bootsnap-1.9.1
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/msgpack-1.4.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/x86_64-darwin-14/2.6.0-static/msgpack-1.4.2
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/bindata-2.4.10/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ast-2.4.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/addressable-2.8.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/public_suffix-4.0.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/activesupport-6.1.4.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/zeitwerk-2.5.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/tzinfo-2.0.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/minitest-5.14.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/i18n-1.8.10/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby
/Library/Ruby/Gems/2.6.0/gems/did_you_mean-1.3.0/lib
/Library/Ruby/Site/2.6.0
/Library/Ruby/Site/2.6.0/x86_64-darwin21
/Library/Ruby/Site/2.6.0/universal-darwin21
/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-darwin21
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0/universal-darwin21
/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-darwin21
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin21
/usr/local/Homebrew/Library/Homebrew
==> Homebrew Version
3.3.2-27-gffd3077
==> macOS
12.0.1
==> SIP
Enabled
==> Homebrew Cask Staging Location
/usr/local/Caskroom
==> Homebrew Cask Taps:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask (3936 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-versions (199 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: Your Command Line Tools are too outdated.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 13.1.

Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 13.1.

Warning: Some installed kegs have no formulae!
This means they were either deleted or installed with `brew diy`.
You should find replacements for the following formulae:
  geeknote
  python@2
  dirmngr
  gpg-agent
  phantomjs
Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the azure/functions tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/azure/homebrew-functions/Formula/azure-functions-core-tools.rb:10

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  boost-python
  ext2fuse
  ext4fuse
  hardlink-osx
  ilmbase
  libelf
  libu2f-host
  lua@5.1
  py2cairo
  rtv

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:
  /usr/local/CrossPack-AVR/bin/libusb-config

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:
  docker
  python@2
  imath
  lua@5.1
  mpv
  six
  gnupg
  wireshark

Warning: Some installed formulae are not readable:
  geeknote: Unsupported special dependency :python

  phantomjs: uninitialized constant #::MinimumMacOSRequirement

Warning: Broken symlinks were found. Remove them with `brew cleanup`:
  /usr/local/lib/vapoursynth/libeedi3.dylib
  /usr/local/lib/vapoursynth/libmiscfilters.dylib
  /usr/local/lib/vapoursynth/libmorpho.dylib
  /usr/local/lib/vapoursynth/libremovegrain.dylib
  /usr/local/lib/vapoursynth/libvinverse.dylib
  /usr/local/lib/vapoursynth/libvivtc.dylib

Warning: Some installed formulae are missing dependencies.
You should `brew install` the missing dependencies:
  brew install openssl@3

Run `brew missing` for more details.

Output of brew tap

Click to expand

azure/functions
homebrew/cask
homebrew/cask-versions
homebrew/core
homebrew/services
pebble/pebble-sdk
n-thumann commented 2 years ago

I was unable to reproduce this on my machine. Blender works fine for me. 🤔 Have you tired remove Blender completely, so brew uninstall --zap blender? Make sure to save your ~/Library/Application Support/Blender before, if necessary.

vonProteus commented 2 years ago

i tried your suggestion (zap) and now blender.app in applications has 734 kb and wont start as previous it still works when i run from dmg

bevanjkay commented 2 years ago

@vonProteus Does it work if you drag the app from the .dmg to the Applications folder?

vonProteus commented 2 years ago

when i zap then drag app from dmg to Applications folder it works blender size in application folder now is 533mb

miccal commented 2 years ago

Please run

brew uninstall --force blender

then

rm -r "$(brew --prefix)/Caskroom/blender"

then

brew install blender

and let us know if this fixes your issue.

vonProteus commented 2 years ago

crash

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace DYLD, Code 1 Library missing
Library not loaded: @executable_path/../Resources/lib/libomp.dylib
Referenced from: /Applications/Blender.app/Contents/MacOS/Blender
Reason: tried: '/Applications/Blender.app/Contents/MacOS/../Resources/lib/libomp.dylib' (no such file), '/usr/lib/libomp.dylib' (no such file)
(terminated at launch; ignore backtrace)

Application Specific Information:
Library not loaded: @executable_path/../Resources/lib/libomp.dylib
Referenced from: /Applications/Blender.app/Contents/MacOS/Blender
Reason: tried: '/Applications/Blender.app/Contents/MacOS/../Resources/lib/libomp.dylib' (no such file), '/usr/lib/libomp.dylib' (no such file)

same as before

and size of blender in application folder according to finder is 733 843 bytes (791 KB on disk)

miccal commented 2 years ago

I do not know what else to suggest -- it is working for me locally, and it is a very popular Cask:

==> Analytics
install: 1,081 (30 days), 2,827 (90 days), 10,784 (365 days)

and we have not had anyone else recently report this issue -- the only other issue that I could find was https://github.com/Homebrew/homebrew-cask/issues/77813

vonProteus commented 2 years ago

can i install in some verbose/debug mode to identificate problem why it is not completely copied? the weirdest thing is that apple app signature verification pass

miccal commented 2 years ago

Let's try one more time -- please run

brew uninstall --force blender

then

rm -r "$(brew --prefix)/Caskroom/blender"

then

rm -rf "$(brew --cache)"

then post the output of

brew install blender --no-quarantine --verbose --debug
vonProteus commented 2 years ago
vonProteus@Sarah ~ % brew install blender --no-quarantine --verbose --debug
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> Updated Formulae
Updated 2 formulae.
==> Updated Casks
Updated 1 cask.
Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the azure/functions tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/azure/homebrew-functions/Formula/azure-functions-core-tools.rb:10

Error: Failed to import: /usr/local/Homebrew/Library/Taps/pebble/homebrew-pebble-sdk/pebble-qemu.rb
pebble-qemu: undefined method `cellar' for #<BottleSpecification:0x00007fc4d7aaaf98>
Error: Failed to import: /usr/local/Homebrew/Library/Taps/pebble/homebrew-pebble-sdk/pebble-sdk.rb
pebble-sdk: undefined method `cellar' for #<BottleSpecification:0x00007fc4d34dbe90>
Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the azure/functions tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/azure/homebrew-functions/Formula/azure-functions-core-tools@4.rb:10

Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the azure/functions tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/azure/homebrew-functions/Formula/azure-functions-core-tools-v3-preview.rb:10

Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the azure/functions tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/azure/homebrew-functions/Formula/azure-functions-core-tools@3.rb:10

Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the azure/functions tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/azure/homebrew-functions/Formula/azure-functions-core-tools@2.rb:10

==> Cask::Installer#install
==> Printing caveats
==> Cask::Installer#fetch
/usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/3.3.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 12.0.1\)\ curl/7.77.0 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://download.blender.org/release/Blender2.93/blender-2.93.5-macos-x64.dmg
==> Downloading https://download.blender.org/release/Blender2.93/blender-2.93.5-macos-x64.dmg
/usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/3.3.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 12.0.1\)\ curl/7.77.0 --header Accept-Language:\ en --retry 3 --location --head https://download.blender.org/release/Blender2.93/blender-2.93.5-macos-x64.dmg
/usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/3.3.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 12.0.1\)\ curl/7.77.0 --header Accept-Language:\ en --fail --retry 3 --location --remote-time --output /Users/vonProteus/Library/Caches/Homebrew/downloads/8dcb321f09f75f0b87277ea8df359461e89e8c19d14ba06cdf6e288fc7ca8f44--blender-2.93.5-macos-x64.dmg.incomplete https://download.blender.org/release/Blender2.93/blender-2.93.5-macos-x64.dmg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  192M  100  192M    0     0  2327k      0  0:01:24  0:01:24 --:--:-- 2818k
==> Checking quarantine support
/usr/bin/xattr -h
/usr/bin/swift /usr/local/Homebrew/Library/Homebrew/cask/utils/quarantine.swift
==> Quarantine is available.
==> Verifying Gatekeeper status of /Users/vonProteus/Library/Caches/Homebrew/downloads/8dcb321f09f75f0b87277ea8df359461e89e8c19d14ba06cdf6e288fc7ca8f44--blender-2.93.5-macos-x64.dmg
/usr/bin/xattr -p com.apple.quarantine /Users/vonProteus/Library/Caches/Homebrew/downloads/8dcb321f09f75f0b87277ea8df359461e89e8c19d14ba06cdf6e288fc7ca8f44--blender-2.93.5-macos-x64.dmg
==> /Users/vonProteus/Library/Caches/Homebrew/downloads/8dcb321f09f75f0b87277ea8df359461e89e8c19d14ba06cdf6e288fc7ca8f44--blender-2.93.5-macos-x64.dmg is not quarantined
==> Verifying checksum for cask 'blender'
hdiutil imageinfo -format /Users/vonProteus/Library/Caches/Homebrew/downloads/8dcb321f09f75f0b87277ea8df359461e89e8c19d14ba06cdf6e288fc7ca8f44--blender-2.93.5-macos-x64.dmg
==> Installing Cask blender
Warning: macOS's Gatekeeper has been disabled for this Cask
==> Cask::Installer#stage
==> Extracting primary container
==> Using container class UnpackStrategy::Dmg for /Users/vonProteus/Library/Caches/Homebrew/downloads/8dcb321f09f75f0b87277ea8df359461e89e8c19d14ba06cdf6e288fc7ca8f44--blender-2.93.5-macos-x64.dmg
hdiutil attach -plist -nobrowse -readonly -mountrandom /private/tmp/d20211103-90024-1t2jbyi /Users/vonProteus/Library/Caches/Homebrew/downloads/8dcb321f09f75f0b87277ea8df359461e89e8c19d14ba06cdf6e288fc7ca8f44--blender-2.93.5-macos-x64.dmg
find . -print0
mkbom -s -i /private/tmp/20211103-90024-hwe25v.list -- /private/tmp/20211103-90024-ojjvfb.bom
ditto --bom /private/tmp/20211103-90024-ojjvfb.bom -- /private/tmp/d20211103-90024-1t2jbyi/dmg.dSyEW4 /private/tmp/d20211103-90024-1hgiqe1
diskutil info -plist /private/tmp/d20211103-90024-1t2jbyi/dmg.dSyEW4
diskutil eject /private/tmp/d20211103-90024-1t2jbyi/dmg.dSyEW4
cp -pR /private/tmp/d20211103-90024-1hgiqe1/Blender.app/. /usr/local/Caskroom/blender/2.93.5/Blender.app
chmod -Rf +w /private/tmp/d20211103-90024-1hgiqe1
==> Creating metadata directory: /usr/local/Caskroom/blender/.metadata/2.93.5/20211103125821.214
==> Creating metadata subdirectory: /usr/local/Caskroom/blender/.metadata/2.93.5/20211103125821.214/Casks
==> Installing artifacts
==> 4 artifacts defined
#<SortedSet: {#<Cask::Artifact::PreflightBlock:0x00007fbb01a22330 @cask=#<Cask::Cask:0x00007fbafe15b5b0 @token="blender", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/blender.rb>, @source="cask \"blender\" do\n  arch = Hardware::CPU.intel? ? \"x64\" : \"arm64\"\n\n  version \"2.93.5\"\n\n  url \"https://download.blender.org/release/Blender\#{version.major_minor}/blender-\#{version}-macos-\#{arch}.dmg\"\n  if Hardware::CPU.intel?\n    sha256 \"08c929f2fcbde0233947b183e8cf53e5595b8f9eedcac749b2828a713ceb9ce0\"\n  else\n    sha256 \"4435bf05591ebeb3dcb5f9071e3fc5d10417fc04c1901e4d2073994f2cd37b06\"\n  end\n\n  name \"Blender\"\n  desc \"3D creation suite\"\n  homepage \"https://www.blender.org/\"\n\n  livecheck do\n    url \"https://www.blender.org/download/\"\n    regex(%r{href=.*?/blender[._-]v?(\\d+(?:\\.\\d+)+)[._-]macos[._-]\#{arch}\\.dmg}i)\n  end\n\n  conflicts_with cask: \"homebrew/cask-versions/blender-lts\"\n\n  app \"Blender.app\"\n  # shim script (https://github.com/Homebrew/homebrew-cask/issues/18809)\n  shimscript = \"\#{staged_path}/blender.wrapper.sh\"\n  binary shimscript, target: \"blender\"\n\n  preflight do\n    # make __pycache__ directories writable, otherwise uninstall fails\n    FileUtils.chmod \"u+w\", Dir.glob(\"\#{staged_path}/*.app/**/__pycache__\")\n\n    File.write shimscript, <<~EOS\n      #!/bin/bash\n      '\#{appdir}/Blender.app/Contents/MacOS/Blender' \"$@\"\n    EOS\n  end\n\n  zap trash: [\n    \"~/Library/Application Support/Blender\",\n    \"~/Library/Saved Application State/org.blenderfoundation.blender.savedState\",\n  ]\nend\n", @tap=#<Tap:0x00007fbafe10c578 @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, @formula_renames={}, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @block=#<Proc:0x00007fbafe15b4e8@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/blender.rb:1>, @default_config=#<Cask::Config:0x00007fbafe148780 @explicit={}, @env={}, @default={:languages=>["en-PL", "pl-PL"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/vonProteus/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/vonProteus/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/vonProteus/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/vonProteus/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/vonProteus/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/vonProteus/Library/Fonts>, :servicedir=>#<Pathname:/Users/vonProteus/Library/Services>, :input_methoddir=>#<Pathname:/Users/vonProteus/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/vonProteus/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/vonProteus/Library/Screen Savers>}, @binarydir=#<Pathname:/usr/local/bin>>, @caskroom_path=#<Pathname:/usr/local/Caskroom/blender>, @metadata_main_container_path=#<Pathname:/usr/local/Caskroom/blender/.metadata>, @config=#<Cask::Config:0x00007fbb01a09010 @explicit={}, @env={}, @default={:languages=>["en-PL", "pl-PL"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/vonProteus/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/vonProteus/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/vonProteus/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/vonProteus/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/vonProteus/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/vonProteus/Library/Fonts>, :servicedir=>#<Pathname:/Users/vonProteus/Library/Services>, :input_methoddir=>#<Pathname:/Users/vonProteus/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/vonProteus/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/vonProteus/Library/Screen Savers>}, @binarydir=#<Pathname:/usr/local/bin>>, @dsl=#<Cask::DSL:0x00007fbb01a08d18 @cask=#<Cask::Cask:0x00007fbafe15b5b0 ...>, @token="blender", @version="2.93.5", @url=#<URL::DSL:0x00007fbb01a13cb8 @uri=#<URI::HTTPS https://download.blender.org/release/Blender2.93/blender-2.93.5-macos-x64.dmg>, @verified=nil, @using=nil, @tag=nil, @branch=nil, @revisions=nil, @revision=nil, @trust_cert=nil, @cookies=nil, @referer=nil, @header=nil, @user_agent=:default, @data=nil, @specs={:user_agent=>:default}>, @sha256=#<Checksum:0x00007fbb01a13718 @hexdigest="08c929f2fcbde0233947b183e8cf53e5595b8f9eedcac749b2828a713ceb9ce0">, @name=["Blender"], @desc="3D creation suite", @homepage="https://www.blender.org/", @livecheck=#<Livecheck:0x00007fbb01a133a8 @formula_or_cask=#<Cask::DSL:0x00007fbb01a08d18 ...>, @referenced_cask_name=nil, @referenced_formula_name=nil, @regex=/href=.*?\/blender[._-]v?(\d+(?:\.\d+)+)[._-]macos[._-]x64\.dmg/i, @skip=false, @skip_msg=nil, @strategy=nil, @url="https://www.blender.org/download/">, @livecheckable=true, @conflicts_with={:cask=>#<Set: {"homebrew/cask-versions/blender-lts"}>}, @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/blender/2.93.5>, @language_eval=nil>>, @directives={:preflight=>#<Proc:0x00007fbb01a22380@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/blender.rb:29>}>, #<Cask::Artifact::App:0x00007fbb01a124f8 @cask=#<Cask::Cask:0x00007fbafe15b5b0 @token="blender", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/blender.rb>, @source="cask \"blender\" do\n  arch = Hardware::CPU.intel? ? \"x64\" : \"arm64\"\n\n  version \"2.93.5\"\n\n  url \"https://download.blender.org/release/Blender\#{version.major_minor}/blender-\#{version}-macos-\#{arch}.dmg\"\n  if Hardware::CPU.intel?\n    sha256 \"08c929f2fcbde0233947b183e8cf53e5595b8f9eedcac749b2828a713ceb9ce0\"\n  else\n    sha256 \"4435bf05591ebeb3dcb5f9071e3fc5d10417fc04c1901e4d2073994f2cd37b06\"\n  end\n\n  name \"Blender\"\n  desc \"3D creation suite\"\n  homepage \"https://www.blender.org/\"\n\n  livecheck do\n    url \"https://www.blender.org/download/\"\n    regex(%r{href=.*?/blender[._-]v?(\\d+(?:\\.\\d+)+)[._-]macos[._-]\#{arch}\\.dmg}i)\n  end\n\n  conflicts_with cask: \"homebrew/cask-versions/blender-lts\"\n\n  app \"Blender.app\"\n  # shim script (https://github.com/Homebrew/homebrew-cask/issues/18809)\n  shimscript = \"\#{staged_path}/blender.wrapper.sh\"\n  binary shimscript, target: \"blender\"\n\n  preflight do\n    # make __pycache__ directories writable, otherwise uninstall fails\n    FileUtils.chmod \"u+w\", Dir.glob(\"\#{staged_path}/*.app/**/__pycache__\")\n\n    File.write shimscript, <<~EOS\n      #!/bin/bash\n      '\#{appdir}/Blender.app/Contents/MacOS/Blender' \"$@\"\n    EOS\n  end\n\n  zap trash: [\n    \"~/Library/Application Support/Blender\",\n    \"~/Library/Saved Application State/org.blenderfoundation.blender.savedState\",\n  ]\nend\n", @tap=#<Tap:0x00007fbafe10c578 @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, @formula_renames={}, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @block=#<Proc:0x00007fbafe15b4e8@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/blender.rb:1>, @default_config=#<Cask::Config:0x00007fbafe148780 @explicit={}, @env={}, @default={:languages=>["en-PL", "pl-PL"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/vonProteus/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/vonProteus/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/vonProteus/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/vonProteus/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/vonProteus/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/vonProteus/Library/Fonts>, :servicedir=>#<Pathname:/Users/vonProteus/Library/Services>, :input_methoddir=>#<Pathname:/Users/vonProteus/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/vonProteus/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/vonProteus/Library/Screen Savers>}, @binarydir=#<Pathname:/usr/local/bin>>, @caskroom_path=#<Pathname:/usr/local/Caskroom/blender>, @metadata_main_container_path=#<Pathname:/usr/local/Caskroom/blender/.metadata>, @config=#<Cask::Config:0x00007fbb01a09010 @explicit={}, @env={}, @default={:languages=>["en-PL", "pl-PL"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/vonProteus/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/vonProteus/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/vonProteus/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/vonProteus/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/vonProteus/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/vonProteus/Library/Fonts>, :servicedir=>#<Pathname:/Users/vonProteus/Library/Services>, :input_methoddir=>#<Pathname:/Users/vonProteus/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/vonProteus/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/vonProteus/Library/Screen Savers>}, @binarydir=#<Pathname:/usr/local/bin>>, @dsl=#<Cask::DSL:0x00007fbb01a08d18 @cask=#<Cask::Cask:0x00007fbafe15b5b0 ...>, @token="blender", @version="2.93.5", @url=#<URL::DSL:0x00007fbb01a13cb8 @uri=#<URI::HTTPS https://download.blender.org/release/Blender2.93/blender-2.93.5-macos-x64.dmg>, @verified=nil, @using=nil, @tag=nil, @branch=nil, @revisions=nil, @revision=nil, @trust_cert=nil, @cookies=nil, @referer=nil, @header=nil, @user_agent=:default, @data=nil, @specs={:user_agent=>:default}>, @sha256=#<Checksum:0x00007fbb01a13718 @hexdigest="08c929f2fcbde0233947b183e8cf53e5595b8f9eedcac749b2828a713ceb9ce0">, @name=["Blender"], @desc="3D creation suite", @homepage="https://www.blender.org/", @livecheck=#<Livecheck:0x00007fbb01a133a8 @formula_or_cask=#<Cask::DSL:0x00007fbb01a08d18 ...>, @referenced_cask_name=nil, @referenced_formula_name=nil, @regex=/href=.*?\/blender[._-]v?(\d+(?:\.\d+)+)[._-]macos[._-]x64\.dmg/i, @skip=false, @skip_msg=nil, @strategy=nil, @url="https://www.blender.org/download/">, @livecheckable=true, @conflicts_with={:cask=>#<Set: {"homebrew/cask-versions/blender-lts"}>}, @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/blender/2.93.5>, @language_eval=nil>>, @source_string="Blender.app", @target_string="", @source=#<Pathname:/usr/local/Caskroom/blender/2.93.5/Blender.app>, @target=#<Pathname:/Applications/Blender.app>>, #<Cask::Artifact::Binary:0x00007fbb01a1a1a8 @cask=#<Cask::Cask:0x00007fbafe15b5b0 @token="blender", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/blender.rb>, @source="cask \"blender\" do\n  arch = Hardware::CPU.intel? ? \"x64\" : \"arm64\"\n\n  version \"2.93.5\"\n\n  url \"https://download.blender.org/release/Blender\#{version.major_minor}/blender-\#{version}-macos-\#{arch}.dmg\"\n  if Hardware::CPU.intel?\n    sha256 \"08c929f2fcbde0233947b183e8cf53e5595b8f9eedcac749b2828a713ceb9ce0\"\n  else\n    sha256 \"4435bf05591ebeb3dcb5f9071e3fc5d10417fc04c1901e4d2073994f2cd37b06\"\n  end\n\n  name \"Blender\"\n  desc \"3D creation suite\"\n  homepage \"https://www.blender.org/\"\n\n  livecheck do\n    url \"https://www.blender.org/download/\"\n    regex(%r{href=.*?/blender[._-]v?(\\d+(?:\\.\\d+)+)[._-]macos[._-]\#{arch}\\.dmg}i)\n  end\n\n  conflicts_with cask: \"homebrew/cask-versions/blender-lts\"\n\n  app \"Blender.app\"\n  # shim script (https://github.com/Homebrew/homebrew-cask/issues/18809)\n  shimscript = \"\#{staged_path}/blender.wrapper.sh\"\n  binary shimscript, target: \"blender\"\n\n  preflight do\n    # make __pycache__ directories writable, otherwise uninstall fails\n    FileUtils.chmod \"u+w\", Dir.glob(\"\#{staged_path}/*.app/**/__pycache__\")\n\n    File.write shimscript, <<~EOS\n      #!/bin/bash\n      '\#{appdir}/Blender.app/Contents/MacOS/Blender' \"$@\"\n    EOS\n  end\n\n  zap trash: [\n    \"~/Library/Application Support/Blender\",\n    \"~/Library/Saved Application State/org.blenderfoundation.blender.savedState\",\n  ]\nend\n", @tap=#<Tap:0x00007fbafe10c578 @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, @formula_renames={}, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @block=#<Proc:0x00007fbafe15b4e8@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/blender.rb:1>, @default_config=#<Cask::Config:0x00007fbafe148780 @explicit={}, @env={}, @default={:languages=>["en-PL", "pl-PL"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/vonProteus/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/vonProteus/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/vonProteus/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/vonProteus/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/vonProteus/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/vonProteus/Library/Fonts>, :servicedir=>#<Pathname:/Users/vonProteus/Library/Services>, :input_methoddir=>#<Pathname:/Users/vonProteus/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/vonProteus/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/vonProteus/Library/Screen Savers>}, @binarydir=#<Pathname:/usr/local/bin>>, @caskroom_path=#<Pathname:/usr/local/Caskroom/blender>, @metadata_main_container_path=#<Pathname:/usr/local/Caskroom/blender/.metadata>, @config=#<Cask::Config:0x00007fbb01a09010 @explicit={}, @env={}, @default={:languages=>["en-PL", "pl-PL"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/vonProteus/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/vonProteus/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/vonProteus/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/vonProteus/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/vonProteus/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/vonProteus/Library/Fonts>, :servicedir=>#<Pathname:/Users/vonProteus/Library/Services>, :input_methoddir=>#<Pathname:/Users/vonProteus/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/vonProteus/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/vonProteus/Library/Screen Savers>}, @binarydir=#<Pathname:/usr/local/bin>>, @dsl=#<Cask::DSL:0x00007fbb01a08d18 @cask=#<Cask::Cask:0x00007fbafe15b5b0 ...>, @token="blender", @version="2.93.5", @url=#<URL::DSL:0x00007fbb01a13cb8 @uri=#<URI::HTTPS https://download.blender.org/release/Blender2.93/blender-2.93.5-macos-x64.dmg>, @verified=nil, @using=nil, @tag=nil, @branch=nil, @revisions=nil, @revision=nil, @trust_cert=nil, @cookies=nil, @referer=nil, @header=nil, @user_agent=:default, @data=nil, @specs={:user_agent=>:default}>, @sha256=#<Checksum:0x00007fbb01a13718 @hexdigest="08c929f2fcbde0233947b183e8cf53e5595b8f9eedcac749b2828a713ceb9ce0">, @name=["Blender"], @desc="3D creation suite", @homepage="https://www.blender.org/", @livecheck=#<Livecheck:0x00007fbb01a133a8 @formula_or_cask=#<Cask::DSL:0x00007fbb01a08d18 ...>, @referenced_cask_name=nil, @referenced_formula_name=nil, @regex=/href=.*?\/blender[._-]v?(\d+(?:\.\d+)+)[._-]macos[._-]x64\.dmg/i, @skip=false, @skip_msg=nil, @strategy=nil, @url="https://www.blender.org/download/">, @livecheckable=true, @conflicts_with={:cask=>#<Set: {"homebrew/cask-versions/blender-lts"}>}, @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/blender/2.93.5>, @language_eval=nil>>, @source_string="/usr/local/Caskroom/blender/2.93.5/blender.wrapper.sh", @target_string="blender", @source=#<Pathname:/usr/local/Caskroom/blender/2.93.5/blender.wrapper.sh>, @target=#<Pathname:/usr/local/bin/blender>>, #<Cask::Artifact::Zap:0x00007fbb01a21bb0 @cask=#<Cask::Cask:0x00007fbafe15b5b0 @token="blender", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/blender.rb>, @source="cask \"blender\" do\n  arch = Hardware::CPU.intel? ? \"x64\" : \"arm64\"\n\n  version \"2.93.5\"\n\n  url \"https://download.blender.org/release/Blender\#{version.major_minor}/blender-\#{version}-macos-\#{arch}.dmg\"\n  if Hardware::CPU.intel?\n    sha256 \"08c929f2fcbde0233947b183e8cf53e5595b8f9eedcac749b2828a713ceb9ce0\"\n  else\n    sha256 \"4435bf05591ebeb3dcb5f9071e3fc5d10417fc04c1901e4d2073994f2cd37b06\"\n  end\n\n  name \"Blender\"\n  desc \"3D creation suite\"\n  homepage \"https://www.blender.org/\"\n\n  livecheck do\n    url \"https://www.blender.org/download/\"\n    regex(%r{href=.*?/blender[._-]v?(\\d+(?:\\.\\d+)+)[._-]macos[._-]\#{arch}\\.dmg}i)\n  end\n\n  conflicts_with cask: \"homebrew/cask-versions/blender-lts\"\n\n  app \"Blender.app\"\n  # shim script (https://github.com/Homebrew/homebrew-cask/issues/18809)\n  shimscript = \"\#{staged_path}/blender.wrapper.sh\"\n  binary shimscript, target: \"blender\"\n\n  preflight do\n    # make __pycache__ directories writable, otherwise uninstall fails\n    FileUtils.chmod \"u+w\", Dir.glob(\"\#{staged_path}/*.app/**/__pycache__\")\n\n    File.write shimscript, <<~EOS\n      #!/bin/bash\n      '\#{appdir}/Blender.app/Contents/MacOS/Blender' \"$@\"\n    EOS\n  end\n\n  zap trash: [\n    \"~/Library/Application Support/Blender\",\n    \"~/Library/Saved Application State/org.blenderfoundation.blender.savedState\",\n  ]\nend\n", @tap=#<Tap:0x00007fbafe10c578 @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, @formula_renames={}, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @block=#<Proc:0x00007fbafe15b4e8@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/blender.rb:1>, @default_config=#<Cask::Config:0x00007fbafe148780 @explicit={}, @env={}, @default={:languages=>["en-PL", "pl-PL"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/vonProteus/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/vonProteus/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/vonProteus/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/vonProteus/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/vonProteus/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/vonProteus/Library/Fonts>, :servicedir=>#<Pathname:/Users/vonProteus/Library/Services>, :input_methoddir=>#<Pathname:/Users/vonProteus/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/vonProteus/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/vonProteus/Library/Screen Savers>}, @binarydir=#<Pathname:/usr/local/bin>>, @caskroom_path=#<Pathname:/usr/local/Caskroom/blender>, @metadata_main_container_path=#<Pathname:/usr/local/Caskroom/blender/.metadata>, @config=#<Cask::Config:0x00007fbb01a09010 @explicit={}, @env={}, @default={:languages=>["en-PL", "pl-PL"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/vonProteus/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/vonProteus/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/vonProteus/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/vonProteus/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/vonProteus/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/vonProteus/Library/Fonts>, :servicedir=>#<Pathname:/Users/vonProteus/Library/Services>, :input_methoddir=>#<Pathname:/Users/vonProteus/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/vonProteus/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/vonProteus/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/vonProteus/Library/Screen Savers>}, @binarydir=#<Pathname:/usr/local/bin>>, @dsl=#<Cask::DSL:0x00007fbb01a08d18 @cask=#<Cask::Cask:0x00007fbafe15b5b0 ...>, @token="blender", @version="2.93.5", @url=#<URL::DSL:0x00007fbb01a13cb8 @uri=#<URI::HTTPS https://download.blender.org/release/Blender2.93/blender-2.93.5-macos-x64.dmg>, @verified=nil, @using=nil, @tag=nil, @branch=nil, @revisions=nil, @revision=nil, @trust_cert=nil, @cookies=nil, @referer=nil, @header=nil, @user_agent=:default, @data=nil, @specs={:user_agent=>:default}>, @sha256=#<Checksum:0x00007fbb01a13718 @hexdigest="08c929f2fcbde0233947b183e8cf53e5595b8f9eedcac749b2828a713ceb9ce0">, @name=["Blender"], @desc="3D creation suite", @homepage="https://www.blender.org/", @livecheck=#<Livecheck:0x00007fbb01a133a8 @formula_or_cask=#<Cask::DSL:0x00007fbb01a08d18 ...>, @referenced_cask_name=nil, @referenced_formula_name=nil, @regex=/href=.*?\/blender[._-]v?(\d+(?:\.\d+)+)[._-]macos[._-]x64\.dmg/i, @skip=false, @skip_msg=nil, @strategy=nil, @url="https://www.blender.org/download/">, @livecheckable=true, @conflicts_with={:cask=>#<Set: {"homebrew/cask-versions/blender-lts"}>}, @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/blender/2.93.5>, @language_eval=nil>>, @directives={:trash=>["~/Library/Application Support/Blender", "~/Library/Saved Application State/org.blenderfoundation.blender.savedState"], :signal=>[]}>}>
==> Installing artifact of class Cask::Artifact::PreflightBlock
==> Installing artifact of class Cask::Artifact::App
==> Moving App 'Blender.app' to '/Applications/Blender.app'
==> Installing artifact of class Cask::Artifact::Binary
==> Linking Binary 'blender.wrapper.sh' to '/usr/local/bin/blender'
/bin/ln -h -f -s -- /usr/local/Caskroom/blender/2.93.5/blender.wrapper.sh /usr/local/bin/blender
==> Adding com.apple.metadata:kMDItemAlternateNames metadata
/usr/bin/xattr -p com.apple.metadata:kMDItemAlternateNames /usr/local/Caskroom/blender/2.93.5/blender.wrapper.sh
==> Existing metadata is:
/bin/chmod -- u\+rw /usr/local/Caskroom/blender/2.93.5/blender.wrapper.sh /usr/local/Caskroom/blender/2.93.5/blender.wrapper.sh
/usr/bin/xattr -w com.apple.metadata:kMDItemAlternateNames \(\"blender\"\) /usr/local/Caskroom/blender/2.93.5/blender.wrapper.sh
/usr/local/Homebrew/Library/Homebrew/shims/shared/git --version
🍺  blender was successfully installed!

and crash when starting

miccal commented 2 years ago

I do not know what else to suggest, sorry.

miccal commented 2 years ago

I have tested this both on my Catalina machine and my Monterey machine.

For my Catalina machine:

|-> brew config
HOMEBREW_VERSION: 3.3.2-46-gde5a13b
ORIGIN: https://github.com/Homebrew/brew
HEAD: de5a13b94fb26ef95dd11b267c81e79e2372dbbf
Last commit: 6 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 55afb0d4ccf0d9dadf01123ac00ae5874205a4de
Core tap last commit: 51 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: ["--no-quarantine"]
HOMEBREW_CORE_GIT_REMOTE: https://github.com/Homebrew/homebrew-core
HOMEBREW_DEVELOPER: set
HOMEBREW_DISPLAY_INSTALL_TIMES: set
HOMEBREW_EDITOR: /usr/bin/open -e -W
HOMEBREW_FORCE_BREWED_CA_CERTIFICATES: set
HOMEBREW_FORCE_BREWED_CURL: set
HOMEBREW_FORCE_BREWED_GIT: set
HOMEBREW_FORCE_VENDOR_RUBY: set
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_GIT_EMAIL: miccal.matthews@gmail.com
HOMEBREW_GIT_NAME: miccal
HOMEBREW_MAKE_JOBS: 4
Homebrew Ruby: 2.6.8 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8/bin/ruby
CPU: quad-core 64-bit kabylake
Clang: 12.0.0 build 1200
Git: 2.33.1 => /usr/local/opt/git/bin/git
Curl: 7.79.1 => /usr/local/opt/curl/bin/curl
macOS: 10.15.7-x86_64
CLT: 12.0.0.32.29
Xcode: N/A
XQuartz: 2.8.1 => /opt/X11
|-> brew install blender --verbose --debug
==> Cask::Installer#install
==> Printing caveats
==> Cask::Installer#fetch
/usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/3.3.2-46-gde5a13b\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.7\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://download.blender.org/release/Blender2.93/blender-2.93.5-macos-x64.dmg
==> Downloading https://download.blender.org/release/Blender2.93/blender-2.93.5-macos-x64.dmg
/usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/3.3.2-46-gde5a13b\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.7\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --head https://download.blender.org/release/Blender2.93/blender-2.93.5-macos-x64.dmg
/usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/3.3.2-46-gde5a13b\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.7\)\ curl/7.64.1 --header Accept-Language:\ en --fail --retry 3 --location --remote-time --output /Users/USER/Library/Caches/Homebrew/downloads/8dcb321f09f75f0b87277ea8df359461e89e8c19d14ba06cdf6e288fc7ca8f44--blender-2.93.5-macos-x64.dmg.incomplete https://download.blender.org/release/Blender2.93/blender-2.93.5-macos-x64.dmg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  192M  100  192M    0     0   836k      0  0:03:56  0:03:56 --:--:-- 1044k
==> Checking quarantine support
/usr/bin/xattr -h
/usr/bin/swift /usr/local/Homebrew/Library/Homebrew/cask/utils/quarantine.swift
==> Quarantine is available.
==> Verifying Gatekeeper status of /Users/USER/Library/Caches/Homebrew/downloads/8dcb321f09f75f0b87277ea8df359461e89e8c19d14ba06cdf6e288fc7ca8f44--blender-2.93.5-macos-x64.dmg
/usr/bin/xattr -p com.apple.quarantine /Users/USER/Library/Caches/Homebrew/downloads/8dcb321f09f75f0b87277ea8df359461e89e8c19d14ba06cdf6e288fc7ca8f44--blender-2.93.5-macos-x64.dmg
==> /Users/USER/Library/Caches/Homebrew/downloads/8dcb321f09f75f0b87277ea8df359461e89e8c19d14ba06cdf6e288fc7ca8f44--blender-2.93.5-macos-x64.dmg is not quarantined
==> Verifying checksum for cask 'blender'
hdiutil imageinfo -format /Users/USER/Library/Caches/Homebrew/downloads/8dcb321f09f75f0b87277ea8df359461e89e8c19d14ba06cdf6e288fc7ca8f44--blender-2.93.5-macos-x64.dmg
==> Installing Cask blender
Warning: macOS's Gatekeeper has been disabled for this Cask
==> Cask::Installer#stage
==> Extracting primary container
==> Using container class UnpackStrategy::Dmg for /Users/USER/Library/Caches/Homebrew/downloads/8dcb321f09f75f0b87277ea8df359461e89e8c19d14ba06cdf6e288fc7ca8f44--blender-2.93.5-macos-x64.dmg
hdiutil attach -plist -nobrowse -readonly -mountrandom /private/tmp/d20211104-97899-1ctbx7b /Users/USER/Library/Caches/Homebrew/downloads/8dcb321f09f75f0b87277ea8df359461e89e8c19d14ba06cdf6e288fc7ca8f44--blender-2.93.5-macos-x64.dmg
find . -print0
mkbom -s -i /private/tmp/20211104-97899-1dvc4un.list -- /private/tmp/20211104-97899-1moaqp7.bom
ditto --bom /private/tmp/20211104-97899-1moaqp7.bom -- /private/tmp/d20211104-97899-1ctbx7b/dmg.FQc1Jt /private/tmp/d20211104-97899-qtl2al
diskutil info -plist /private/tmp/d20211104-97899-1ctbx7b/dmg.FQc1Jt
diskutil eject /private/tmp/d20211104-97899-1ctbx7b/dmg.FQc1Jt
cp -pR /private/tmp/d20211104-97899-qtl2al/Blender.app/. /usr/local/Caskroom/blender/2.93.5/Blender.app
chmod -Rf +w /private/tmp/d20211104-97899-qtl2al
==> Creating metadata directory: /usr/local/Caskroom/blender/.metadata/2.93.5/20211104002345.739
==> Creating metadata subdirectory: /usr/local/Caskroom/blender/.metadata/2.93.5/20211104002345.739/Casks
==> Installing artifacts
==> 4 artifacts defined
#<SortedSet: {#<Cask::Artifact::PreflightBlock:0x00007fcad4b288c8 @cask=#<Cask::Cask:0x00007fcad38f3b80 @token="blender", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/blender.rb>, @source="cask \"blender\" do\n  arch = Hardware::CPU.intel? ? \"x64\" : \"arm64\"\n\n  version \"2.93.5\"\n\n  url \"https://download.blender.org/release/Blender\#{version.major_minor}/blender-\#{version}-macos-\#{arch}.dmg\"\n  if Hardware::CPU.intel?\n    sha256 \"08c929f2fcbde0233947b183e8cf53e5595b8f9eedcac749b2828a713ceb9ce0\"\n  else\n    sha256 \"4435bf05591ebeb3dcb5f9071e3fc5d10417fc04c1901e4d2073994f2cd37b06\"\n  end\n\n  name \"Blender\"\n  desc \"3D creation suite\"\n  homepage \"https://www.blender.org/\"\n\n  livecheck do\n    url \"https://www.blender.org/download/\"\n    regex(%r{href=.*?/blender[._-]v?(\\d+(?:\\.\\d+)+)[._-]macos[._-]\#{arch}\\.dmg}i)\n  end\n\n  conflicts_with cask: \"homebrew/cask-versions/blender-lts\"\n  depends_on macos: \">= :high_sierra\"\n\n  app \"Blender.app\"\n  # shim script (https://github.com/Homebrew/homebrew-cask/issues/18809)\n  shimscript = \"\#{staged_path}/blender.wrapper.sh\"\n  binary shimscript, target: \"blender\"\n\n  preflight do\n    # make __pycache__ directories writable, otherwise uninstall fails\n    FileUtils.chmod \"u+w\", Dir.glob(\"\#{staged_path}/*.app/**/__pycache__\")\n\n    File.write shimscript, <<~EOS\n      #!/bin/bash\n      '\#{appdir}/Blender.app/Contents/MacOS/Blender' \"$@\"\n    EOS\n  end\n\n  zap trash: [\n    \"~/Library/Application Support/Blender\",\n    \"~/Library/Saved Application State/org.blenderfoundation.blender.savedState\",\n  ]\nend\n", @tap=#<Tap:0x00007fcad416bdd0 @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, @formula_renames={}, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @block=#<Proc:0x00007fcad38f3ae0@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/blender.rb:1>, @default_config=#<Cask::Config:0x00007fcad4190770 @explicit={}, @env={}, @default={:languages=>["en-AU"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/USER/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/USER/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/USER/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/USER/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/USER/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/USER/Library/Fonts>, :servicedir=>#<Pathname:/Users/USER/Library/Services>, :input_methoddir=>#<Pathname:/Users/USER/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/USER/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/USER/Library/Screen Savers>}, @binarydir=#<Pathname:/usr/local/bin>>, @caskroom_path=#<Pathname:/usr/local/Caskroom/blender>, @metadata_main_container_path=#<Pathname:/usr/local/Caskroom/blender/.metadata>, @config=#<Cask::Config:0x00007fcad4b22428 @explicit={}, @env={}, @default={:languages=>["en-AU"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/USER/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/USER/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/USER/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/USER/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/USER/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/USER/Library/Fonts>, :servicedir=>#<Pathname:/Users/USER/Library/Services>, :input_methoddir=>#<Pathname:/Users/USER/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/USER/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/USER/Library/Screen Savers>}, @binarydir=#<Pathname:/usr/local/bin>>, @dsl=#<Cask::DSL:0x00007fcad4b221f8 @cask=#<Cask::Cask:0x00007fcad38f3b80 ...>, @token="blender", @version="2.93.5", @url=#<URL::DSL:0x00007fcad4b216e0 @uri=#<URI::HTTPS https://download.blender.org/release/Blender2.93/blender-2.93.5-macos-x64.dmg>, @verified=nil, @using=nil, @tag=nil, @branch=nil, @revisions=nil, @revision=nil, @trust_cert=nil, @cookies=nil, @referer=nil, @header=nil, @user_agent=:default, @data=nil, @specs={:user_agent=>:default}>, @sha256=#<Checksum:0x00007fcad4b21370 @hexdigest="08c929f2fcbde0233947b183e8cf53e5595b8f9eedcac749b2828a713ceb9ce0">, @name=["Blender"], @desc="3D creation suite", @homepage="https://www.blender.org/", @livecheck=#<Livecheck:0x00007fcad4b210c8 @formula_or_cask=#<Cask::DSL:0x00007fcad4b221f8 ...>, @referenced_cask_name=nil, @referenced_formula_name=nil, @regex=/href=.*?\/blender[._-]v?(\d+(?:\.\d+)+)[._-]macos[._-]x64\.dmg/i, @skip=false, @skip_msg=nil, @strategy=nil, @url="https://www.blender.org/download/">, @livecheckable=true, @conflicts_with={:cask=>#<Set: {"homebrew/cask-versions/blender-lts"}>}, @depends_on={:macos=>#<MacOSRequirement: version>="10.13" []>}, @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/blender/2.93.5>, @language_eval=nil>>, @directives={:preflight=>#<Proc:0x00007fcad4b28918@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/blender.rb:30>}>, #<Cask::Artifact::App:0x00007fcad4b20240 @cask=#<Cask::Cask:0x00007fcad38f3b80 @token="blender", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/blender.rb>, @source="cask \"blender\" do\n  arch = Hardware::CPU.intel? ? \"x64\" : \"arm64\"\n\n  version \"2.93.5\"\n\n  url \"https://download.blender.org/release/Blender\#{version.major_minor}/blender-\#{version}-macos-\#{arch}.dmg\"\n  if Hardware::CPU.intel?\n    sha256 \"08c929f2fcbde0233947b183e8cf53e5595b8f9eedcac749b2828a713ceb9ce0\"\n  else\n    sha256 \"4435bf05591ebeb3dcb5f9071e3fc5d10417fc04c1901e4d2073994f2cd37b06\"\n  end\n\n  name \"Blender\"\n  desc \"3D creation suite\"\n  homepage \"https://www.blender.org/\"\n\n  livecheck do\n    url \"https://www.blender.org/download/\"\n    regex(%r{href=.*?/blender[._-]v?(\\d+(?:\\.\\d+)+)[._-]macos[._-]\#{arch}\\.dmg}i)\n  end\n\n  conflicts_with cask: \"homebrew/cask-versions/blender-lts\"\n  depends_on macos: \">= :high_sierra\"\n\n  app \"Blender.app\"\n  # shim script (https://github.com/Homebrew/homebrew-cask/issues/18809)\n  shimscript = \"\#{staged_path}/blender.wrapper.sh\"\n  binary shimscript, target: \"blender\"\n\n  preflight do\n    # make __pycache__ directories writable, otherwise uninstall fails\n    FileUtils.chmod \"u+w\", Dir.glob(\"\#{staged_path}/*.app/**/__pycache__\")\n\n    File.write shimscript, <<~EOS\n      #!/bin/bash\n      '\#{appdir}/Blender.app/Contents/MacOS/Blender' \"$@\"\n    EOS\n  end\n\n  zap trash: [\n    \"~/Library/Application Support/Blender\",\n    \"~/Library/Saved Application State/org.blenderfoundation.blender.savedState\",\n  ]\nend\n", @tap=#<Tap:0x00007fcad416bdd0 @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, @formula_renames={}, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @block=#<Proc:0x00007fcad38f3ae0@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/blender.rb:1>, @default_config=#<Cask::Config:0x00007fcad4190770 @explicit={}, @env={}, @default={:languages=>["en-AU"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/USER/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/USER/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/USER/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/USER/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/USER/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/USER/Library/Fonts>, :servicedir=>#<Pathname:/Users/USER/Library/Services>, :input_methoddir=>#<Pathname:/Users/USER/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/USER/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/USER/Library/Screen Savers>}, @binarydir=#<Pathname:/usr/local/bin>>, @caskroom_path=#<Pathname:/usr/local/Caskroom/blender>, @metadata_main_container_path=#<Pathname:/usr/local/Caskroom/blender/.metadata>, @config=#<Cask::Config:0x00007fcad4b22428 @explicit={}, @env={}, @default={:languages=>["en-AU"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/USER/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/USER/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/USER/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/USER/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/USER/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/USER/Library/Fonts>, :servicedir=>#<Pathname:/Users/USER/Library/Services>, :input_methoddir=>#<Pathname:/Users/USER/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/USER/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/USER/Library/Screen Savers>}, @binarydir=#<Pathname:/usr/local/bin>>, @dsl=#<Cask::DSL:0x00007fcad4b221f8 @cask=#<Cask::Cask:0x00007fcad38f3b80 ...>, @token="blender", @version="2.93.5", @url=#<URL::DSL:0x00007fcad4b216e0 @uri=#<URI::HTTPS https://download.blender.org/release/Blender2.93/blender-2.93.5-macos-x64.dmg>, @verified=nil, @using=nil, @tag=nil, @branch=nil, @revisions=nil, @revision=nil, @trust_cert=nil, @cookies=nil, @referer=nil, @header=nil, @user_agent=:default, @data=nil, @specs={:user_agent=>:default}>, @sha256=#<Checksum:0x00007fcad4b21370 @hexdigest="08c929f2fcbde0233947b183e8cf53e5595b8f9eedcac749b2828a713ceb9ce0">, @name=["Blender"], @desc="3D creation suite", @homepage="https://www.blender.org/", @livecheck=#<Livecheck:0x00007fcad4b210c8 @formula_or_cask=#<Cask::DSL:0x00007fcad4b221f8 ...>, @referenced_cask_name=nil, @referenced_formula_name=nil, @regex=/href=.*?\/blender[._-]v?(\d+(?:\.\d+)+)[._-]macos[._-]x64\.dmg/i, @skip=false, @skip_msg=nil, @strategy=nil, @url="https://www.blender.org/download/">, @livecheckable=true, @conflicts_with={:cask=>#<Set: {"homebrew/cask-versions/blender-lts"}>}, @depends_on={:macos=>#<MacOSRequirement: version>="10.13" []>}, @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/blender/2.93.5>, @language_eval=nil>>, @source_string="Blender.app", @target_string="", @source=#<Pathname:/usr/local/Caskroom/blender/2.93.5/Blender.app>, @target=#<Pathname:/Applications/Blender.app>>, #<Cask::Artifact::Binary:0x00007fcad4b29868 @cask=#<Cask::Cask:0x00007fcad38f3b80 @token="blender", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/blender.rb>, @source="cask \"blender\" do\n  arch = Hardware::CPU.intel? ? \"x64\" : \"arm64\"\n\n  version \"2.93.5\"\n\n  url \"https://download.blender.org/release/Blender\#{version.major_minor}/blender-\#{version}-macos-\#{arch}.dmg\"\n  if Hardware::CPU.intel?\n    sha256 \"08c929f2fcbde0233947b183e8cf53e5595b8f9eedcac749b2828a713ceb9ce0\"\n  else\n    sha256 \"4435bf05591ebeb3dcb5f9071e3fc5d10417fc04c1901e4d2073994f2cd37b06\"\n  end\n\n  name \"Blender\"\n  desc \"3D creation suite\"\n  homepage \"https://www.blender.org/\"\n\n  livecheck do\n    url \"https://www.blender.org/download/\"\n    regex(%r{href=.*?/blender[._-]v?(\\d+(?:\\.\\d+)+)[._-]macos[._-]\#{arch}\\.dmg}i)\n  end\n\n  conflicts_with cask: \"homebrew/cask-versions/blender-lts\"\n  depends_on macos: \">= :high_sierra\"\n\n  app \"Blender.app\"\n  # shim script (https://github.com/Homebrew/homebrew-cask/issues/18809)\n  shimscript = \"\#{staged_path}/blender.wrapper.sh\"\n  binary shimscript, target: \"blender\"\n\n  preflight do\n    # make __pycache__ directories writable, otherwise uninstall fails\n    FileUtils.chmod \"u+w\", Dir.glob(\"\#{staged_path}/*.app/**/__pycache__\")\n\n    File.write shimscript, <<~EOS\n      #!/bin/bash\n      '\#{appdir}/Blender.app/Contents/MacOS/Blender' \"$@\"\n    EOS\n  end\n\n  zap trash: [\n    \"~/Library/Application Support/Blender\",\n    \"~/Library/Saved Application State/org.blenderfoundation.blender.savedState\",\n  ]\nend\n", @tap=#<Tap:0x00007fcad416bdd0 @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, @formula_renames={}, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @block=#<Proc:0x00007fcad38f3ae0@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/blender.rb:1>, @default_config=#<Cask::Config:0x00007fcad4190770 @explicit={}, @env={}, @default={:languages=>["en-AU"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/USER/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/USER/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/USER/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/USER/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/USER/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/USER/Library/Fonts>, :servicedir=>#<Pathname:/Users/USER/Library/Services>, :input_methoddir=>#<Pathname:/Users/USER/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/USER/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/USER/Library/Screen Savers>}, @binarydir=#<Pathname:/usr/local/bin>>, @caskroom_path=#<Pathname:/usr/local/Caskroom/blender>, @metadata_main_container_path=#<Pathname:/usr/local/Caskroom/blender/.metadata>, @config=#<Cask::Config:0x00007fcad4b22428 @explicit={}, @env={}, @default={:languages=>["en-AU"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/USER/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/USER/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/USER/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/USER/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/USER/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/USER/Library/Fonts>, :servicedir=>#<Pathname:/Users/USER/Library/Services>, :input_methoddir=>#<Pathname:/Users/USER/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/USER/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/USER/Library/Screen Savers>}, @binarydir=#<Pathname:/usr/local/bin>>, @dsl=#<Cask::DSL:0x00007fcad4b221f8 @cask=#<Cask::Cask:0x00007fcad38f3b80 ...>, @token="blender", @version="2.93.5", @url=#<URL::DSL:0x00007fcad4b216e0 @uri=#<URI::HTTPS https://download.blender.org/release/Blender2.93/blender-2.93.5-macos-x64.dmg>, @verified=nil, @using=nil, @tag=nil, @branch=nil, @revisions=nil, @revision=nil, @trust_cert=nil, @cookies=nil, @referer=nil, @header=nil, @user_agent=:default, @data=nil, @specs={:user_agent=>:default}>, @sha256=#<Checksum:0x00007fcad4b21370 @hexdigest="08c929f2fcbde0233947b183e8cf53e5595b8f9eedcac749b2828a713ceb9ce0">, @name=["Blender"], @desc="3D creation suite", @homepage="https://www.blender.org/", @livecheck=#<Livecheck:0x00007fcad4b210c8 @formula_or_cask=#<Cask::DSL:0x00007fcad4b221f8 ...>, @referenced_cask_name=nil, @referenced_formula_name=nil, @regex=/href=.*?\/blender[._-]v?(\d+(?:\.\d+)+)[._-]macos[._-]x64\.dmg/i, @skip=false, @skip_msg=nil, @strategy=nil, @url="https://www.blender.org/download/">, @livecheckable=true, @conflicts_with={:cask=>#<Set: {"homebrew/cask-versions/blender-lts"}>}, @depends_on={:macos=>#<MacOSRequirement: version>="10.13" []>}, @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/blender/2.93.5>, @language_eval=nil>>, @source_string="/usr/local/Caskroom/blender/2.93.5/blender.wrapper.sh", @target_string="blender", @source=#<Pathname:/usr/local/Caskroom/blender/2.93.5/blender.wrapper.sh>, @target=#<Pathname:/usr/local/bin/blender>>, #<Cask::Artifact::Zap:0x00007fcad4b285a8 @cask=#<Cask::Cask:0x00007fcad38f3b80 @token="blender", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/blender.rb>, @source="cask \"blender\" do\n  arch = Hardware::CPU.intel? ? \"x64\" : \"arm64\"\n\n  version \"2.93.5\"\n\n  url \"https://download.blender.org/release/Blender\#{version.major_minor}/blender-\#{version}-macos-\#{arch}.dmg\"\n  if Hardware::CPU.intel?\n    sha256 \"08c929f2fcbde0233947b183e8cf53e5595b8f9eedcac749b2828a713ceb9ce0\"\n  else\n    sha256 \"4435bf05591ebeb3dcb5f9071e3fc5d10417fc04c1901e4d2073994f2cd37b06\"\n  end\n\n  name \"Blender\"\n  desc \"3D creation suite\"\n  homepage \"https://www.blender.org/\"\n\n  livecheck do\n    url \"https://www.blender.org/download/\"\n    regex(%r{href=.*?/blender[._-]v?(\\d+(?:\\.\\d+)+)[._-]macos[._-]\#{arch}\\.dmg}i)\n  end\n\n  conflicts_with cask: \"homebrew/cask-versions/blender-lts\"\n  depends_on macos: \">= :high_sierra\"\n\n  app \"Blender.app\"\n  # shim script (https://github.com/Homebrew/homebrew-cask/issues/18809)\n  shimscript = \"\#{staged_path}/blender.wrapper.sh\"\n  binary shimscript, target: \"blender\"\n\n  preflight do\n    # make __pycache__ directories writable, otherwise uninstall fails\n    FileUtils.chmod \"u+w\", Dir.glob(\"\#{staged_path}/*.app/**/__pycache__\")\n\n    File.write shimscript, <<~EOS\n      #!/bin/bash\n      '\#{appdir}/Blender.app/Contents/MacOS/Blender' \"$@\"\n    EOS\n  end\n\n  zap trash: [\n    \"~/Library/Application Support/Blender\",\n    \"~/Library/Saved Application State/org.blenderfoundation.blender.savedState\",\n  ]\nend\n", @tap=#<Tap:0x00007fcad416bdd0 @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, @formula_renames={}, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @block=#<Proc:0x00007fcad38f3ae0@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/blender.rb:1>, @default_config=#<Cask::Config:0x00007fcad4190770 @explicit={}, @env={}, @default={:languages=>["en-AU"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/USER/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/USER/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/USER/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/USER/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/USER/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/USER/Library/Fonts>, :servicedir=>#<Pathname:/Users/USER/Library/Services>, :input_methoddir=>#<Pathname:/Users/USER/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/USER/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/USER/Library/Screen Savers>}, @binarydir=#<Pathname:/usr/local/bin>>, @caskroom_path=#<Pathname:/usr/local/Caskroom/blender>, @metadata_main_container_path=#<Pathname:/usr/local/Caskroom/blender/.metadata>, @config=#<Cask::Config:0x00007fcad4b22428 @explicit={}, @env={}, @default={:languages=>["en-AU"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/USER/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/USER/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/USER/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/USER/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/USER/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/USER/Library/Fonts>, :servicedir=>#<Pathname:/Users/USER/Library/Services>, :input_methoddir=>#<Pathname:/Users/USER/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/USER/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/USER/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/USER/Library/Screen Savers>}, @binarydir=#<Pathname:/usr/local/bin>>, @dsl=#<Cask::DSL:0x00007fcad4b221f8 @cask=#<Cask::Cask:0x00007fcad38f3b80 ...>, @token="blender", @version="2.93.5", @url=#<URL::DSL:0x00007fcad4b216e0 @uri=#<URI::HTTPS https://download.blender.org/release/Blender2.93/blender-2.93.5-macos-x64.dmg>, @verified=nil, @using=nil, @tag=nil, @branch=nil, @revisions=nil, @revision=nil, @trust_cert=nil, @cookies=nil, @referer=nil, @header=nil, @user_agent=:default, @data=nil, @specs={:user_agent=>:default}>, @sha256=#<Checksum:0x00007fcad4b21370 @hexdigest="08c929f2fcbde0233947b183e8cf53e5595b8f9eedcac749b2828a713ceb9ce0">, @name=["Blender"], @desc="3D creation suite", @homepage="https://www.blender.org/", @livecheck=#<Livecheck:0x00007fcad4b210c8 @formula_or_cask=#<Cask::DSL:0x00007fcad4b221f8 ...>, @referenced_cask_name=nil, @referenced_formula_name=nil, @regex=/href=.*?\/blender[._-]v?(\d+(?:\.\d+)+)[._-]macos[._-]x64\.dmg/i, @skip=false, @skip_msg=nil, @strategy=nil, @url="https://www.blender.org/download/">, @livecheckable=true, @conflicts_with={:cask=>#<Set: {"homebrew/cask-versions/blender-lts"}>}, @depends_on={:macos=>#<MacOSRequirement: version>="10.13" []>}, @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/blender/2.93.5>, @language_eval=nil>>, @directives={:trash=>["~/Library/Application Support/Blender", "~/Library/Saved Application State/org.blenderfoundation.blender.savedState"], :signal=>[]}>}>
==> Installing artifact of class Cask::Artifact::PreflightBlock
==> Installing artifact of class Cask::Artifact::App
==> Moving App 'Blender.app' to '/Applications/Blender.app'
==> Installing artifact of class Cask::Artifact::Binary
==> Linking Binary 'blender.wrapper.sh' to '/usr/local/bin/blender'
/bin/ln -h -f -s -- /usr/local/Caskroom/blender/2.93.5/blender.wrapper.sh /usr/local/bin/blender
==> Adding com.apple.metadata:kMDItemAlternateNames metadata
/usr/bin/xattr -p com.apple.metadata:kMDItemAlternateNames /usr/local/Caskroom/blender/2.93.5/blender.wrapper.sh
==> Existing metadata is: 
/bin/chmod -- u\+rw /usr/local/Caskroom/blender/2.93.5/blender.wrapper.sh /usr/local/Caskroom/blender/2.93.5/blender.wrapper.sh
/usr/bin/xattr -w com.apple.metadata:kMDItemAlternateNames \(\"blender\"\) /usr/local/Caskroom/blender/2.93.5/blender.wrapper.sh
/usr/local/Homebrew/Library/Homebrew/shims/shared/git --version
🍺  blender was successfully installed!

while for my Monterey machine:

|-> brew config
HOMEBREW_VERSION: 3.3.2-46-gde5a13b
ORIGIN: https://github.com/Homebrew/brew
HEAD: de5a13b94fb26ef95dd11b267c81e79e2372dbbf
Last commit: 6 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 55afb0d4ccf0d9dadf01123ac00ae5874205a4de
Core tap last commit: 59 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: ["--no-quarantine"]
HOMEBREW_CORE_GIT_REMOTE: https://github.com/Homebrew/homebrew-core
HOMEBREW_DEVELOPER: set
HOMEBREW_DISPLAY_INSTALL_TIMES: set
HOMEBREW_EDITOR: /usr/bin/open -e -W
HOMEBREW_FORCE_BREWED_CA_CERTIFICATES: set
HOMEBREW_FORCE_BREWED_CURL: set
HOMEBREW_FORCE_BREWED_GIT: set
HOMEBREW_FORCE_VENDOR_RUBY: set
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_GIT_EMAIL: miccal.matthews@gmail.com
HOMEBREW_GIT_NAME: miccal
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.8 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8/bin/ruby
CPU: octa-core 64-bit icelake
Clang: 13.0.0 build 1300
Git: 2.33.1 => /usr/local/opt/git/bin/git
Curl: 7.79.1 => /usr/local/opt/curl/bin/curl
macOS: 12.0.1-x86_64
CLT: 13.1.0.0.1.1633545042
Xcode: N/A
XQuartz: 2.8.1 => /opt/X11

For both machines the install is successful and the app launches without issue, so I am afraid your issue is not reproducible and must be specific to your machine.