Homebrew / brew

🍺 The missing package manager for macOS (or Linux)
https://brew.sh
BSD 2-Clause "Simplified" License
41.62k stars 9.79k forks source link

brew install vmware-fusion #14882

Closed markush81 closed 1 year ago

markush81 commented 1 year ago

brew doctor output

brew doctor
Your system is ready to brew.

Verification

brew config output

brew config
HOMEBREW_VERSION: 4.0.4-196-g180c89e
ORIGIN: https://github.com/Homebrew/brew
HEAD: 180c89e17426d4fb1562ac1b2bbe0c4c6e1a3cec
Last commit: 3 hours ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 86aefc61e347d3e680ec24b85024781952540e6e
Core tap last commit: 5 hours ago
Core tap branch: master
Core tap JSON: 04 Mar 08:18 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.49omO9igcI/org.xquartz:0
HOMEBREW_MAKE_JOBS: 10
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 14.0.0 build 1400
Git: 2.39.2 => /opt/homebrew/bin/git
Curl: 7.86.0 => /usr/bin/curl
macOS: 13.2.1-arm64
CLT: 14.2.0.0.1.1668646533
Xcode: 14.2
Rosetta 2: false

What were you trying to do (and why)?

Install VMware Fusion formulae

What happened (include all command output)?

output.txt

brew install vmware-fusion
==> Downloading https://formulae.brew.sh/api/formula.jws.json
#=#=#
==> Downloading https://formulae.brew.sh/api/cask.jws.json
#=#=#
==> Downloading https://download3.vmware.com/software/FUS-1301/VMware-Fusion-13.0.1-21139760_universal.dmg
Already downloaded: /Users/markus/Library/Caches/Homebrew/downloads/a705f20e4075e7ed4478ee6fe1e26ebd7fde749cc99f7a47c64faa50ba13db08--VMware-Fusion-13.0.1-21139760_universal.dmg
==> Installing Cask vmware-fusion
==> Moving App 'VMware Fusion.app' to '/Applications/VMware Fusion.app'
==> Linking Binary 'vmnet-bridge' to '/opt/homebrew/bin/vmnet-bridge'
==> Linking Binary 'vmnet-cfgcli' to '/opt/homebrew/bin/vmnet-cfgcli'
...

chown: /Applications/VMware Fusion.app/Contents/CodeResources: Operation not permitted
chown: /Applications/VMware Fusion.app/Contents/_CodeSignature/CodeResources: Operation not permitted
...
chown: /Applications/VMware Fusion.app: Operation not permitted
==> Unlinking Binary '/opt/homebrew/bin/vctl'
==> Unlinking Binary '/opt/homebrew/bin/ovftool'
==> Unlinking Binary '/opt/homebrew/bin/vmware-cloneBootCamp'
==> Unlinking Binary '/opt/homebrew/bin/vmware-vmx-stats'
==> Unlinking Binary '/opt/homebrew/bin/vmware-vmx-debug'
...
==> Backing App 'VMware Fusion.app' up to '/opt/homebrew/Caskroom/vmware-fusion/13.0.1,21139760/VMware Fusion.app'
==> Removing App '/Applications/VMware Fusion.app'
==> Purging files for version 13.0.1,21139760 of Cask vmware-fusion
Error: Failure while executing; `/usr/bin/sudo -E -- /Applications/VMware\ Fusion.app/Contents/Library/Initialize\ VMware\ Fusion.tool set` exited with 1. Here's the output:

What did you expect to happen?

vmware-fusion successfully installed

Step-by-step reproduction instructions (by running brew commands)

brew install vmware-fusion
miccal commented 1 year ago

Our Intel CI machines cannot reproduce this error: https://github.com/Homebrew/homebrew-cask/pull/142300

markush81 commented 1 year ago

Ok, so i tried on a second M1 and there it works, so it must be sth. "special" to my other machine. Any hint what i can search for?