golemfactory / clay

Golem is creating a global market for computing power.
https://golem.network
GNU General Public License v3.0
2.91k stars 286 forks source link

Could not Symlink (Mac) #1536

Closed tapuat closed 6 years ago

tapuat commented 6 years ago

Main error being repeated several times after

brew cask install golem

Could not symlink . /usr/local/opt is not writable.

log: Arthur:~ arnaud$ brew cask install golem ==> Satisfying dependencies ==> Installing Formula dependencies: golem ==> Installing dependencies for golemfactory/golem/golem: go, ethereum/ethereum/ethereum ==> Installing golemfactory/golem/golem dependency: go ==> Downloading https://homebrew.bintray.com/bottles/go-1.9.1.high_sierra.bottle.tar.gz ==> Downloading from https://akamai.bintray.com/6e/6e414b95839b7bd8b4c6b7c54671afa0ee90f2889fc2a745371335d32b58fbc9?__gd ######################################################################## 100.0% ==> Pouring go-1.9.1.high_sierra.bottle.tar.gz Error: Thebrew link` step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink . /usr/local/opt is not writable.

You can try again using: brew link go ==> Caveats A valid GOPATH is required to use the go get command. If $GOPATH is not specified, $HOME/go will be used by default: https://golang.org/doc/code.html#GOPATH

You may wish to add the GOROOT-based install location to your PATH: export PATH=$PATH:/usr/local/opt/go/libexec/bin ==> Summary 🍺 /usr/local/Cellar/go/1.9.1: 7,639 files, 293.7MB ==> Installing golemfactory/golem/golem dependency: ethereum/ethereum/ethereum Error: /usr/local/opt/go not present or broken Please reinstall go. Sorry :( Follow the instructions here: https://github.com/caskroom/homebrew-cask#reporting-bugs`

Previous log: `Arthur:~ arnaud$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ==> This script will install: /usr/local/bin/brew /usr/local/share/doc/homebrew /usr/local/share/man/man1/brew.1 /usr/local/share/zsh/site-functions/_brew /usr/local/etc/bash_completion.d/brew /usr/local/Homebrew ==> The following new directories will be created: /usr/local/sbin

Press RETURN to continue or any other key to abort ==> /usr/bin/sudo /bin/mkdir -p /usr/local/sbin Password: ==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/sbin ==> /usr/bin/sudo /bin/chmod 755 /usr/local/share/zsh /usr/local/share/zsh/site-functions ==> /usr/bin/sudo /usr/sbin/chown arnaud /usr/local/sbin ==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/sbin ==> /usr/bin/sudo /bin/mkdir -p /Users/arnaud/Library/Caches/Homebrew ==> /usr/bin/sudo /bin/chmod g+rwx /Users/arnaud/Library/Caches/Homebrew ==> /usr/bin/sudo /usr/sbin/chown arnaud /Users/arnaud/Library/Caches/Homebrew ==> /usr/bin/sudo /bin/mkdir -p /Library/Caches/Homebrew ==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew ==> /usr/bin/sudo /usr/sbin/chown arnaud /Library/Caches/Homebrew ==> Searching online for the Command Line Tools ==> /usr/bin/sudo /usr/bin/touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress ==> Installing Command Line Tools (macOS High Sierra version 10.13) for Xcode-9.0 ==> /usr/bin/sudo /usr/sbin/softwareupdate -i Command\ Line\ Tools\ (macOS\ High\ Sierra\ version\ 10.13)\ for\ Xcode-9.0 Software Update Tool

Downloading Command Line Tools (macOS High Sierra version 10.13) for Xcode Downloaded Command Line Tools (macOS High Sierra version 10.13) for Xcode Installing Command Line Tools (macOS High Sierra version 10.13) for Xcode Done with Command Line Tools (macOS High Sierra version 10.13) for Xcode Done. ==> /usr/bin/sudo /bin/rm -f /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress Password: ==> /usr/bin/sudo /usr/bin/xcode-select --switch /Library/Developer/CommandLineTools ==> Downloading and installing Homebrew... remote: Counting objects: 19141, done. remote: Compressing objects: 100% (4891/4891), done. remote: Total 19141 (delta 14566), reused 18282 (delta 13849), pack-reused 0 Receiving objects: 100% (19141/19141), 3.12 MiB | 1.35 MiB/s, done. Resolving deltas: 100% (14566/14566), completed with 444 local objects. From https://github.com/Homebrew/brew 276d009..357b7bb master -> origin/master

==> Homebrew has enabled anonymous aggregate user behaviour analytics. Read the analytics documentation (and how to opt-out) here: https://docs.brew.sh/Analytics.html

==> Next steps:

Password:==> Sorry, try again.

==> Satisfying dependencies ==> Installing Formula dependencies: golem ==> Tapping golemfactory/hyperg Cloning into '/usr/local/Homebrew/Library/Taps/golemfactory/homebrew-hyperg'... remote: Counting objects: 4, done. remote: Compressing objects: 100% (4/4), done. remote: Total 4 (delta 0), reused 3 (delta 0), pack-reused 0 Unpacking objects: 100% (4/4), done. Tapped 1 formula (28 files, 20.9KB) ==> Tapping ethereum/ethereum Cloning into '/usr/local/Homebrew/Library/Taps/ethereum/homebrew-ethereum'... remote: Counting objects: 6, done. remote: Compressing objects: 100% (6/6), done. remote: Total 6 (delta 1), reused 1 (delta 0), pack-reused 0 Unpacking objects: 100% (6/6), done. Tapped 3 formulae (32 files, 33.3KB) ==> Installing dependencies for golemfactory/golem/golem: qt, docker, docker-machine, xhyve, libev, docker-machine-driver-xhyve, ilmbase, openexr, freeimage, golemfactory/hyperg/hyperg, openssl, go, ethereum/ethereum/ethereum ==> Installing golemfactory/golem/golem dependency: qt ==> Downloading https://homebrew.bintray.com/bottles/qt-5.9.2.high_sierra.bottle.tar.gz ==> Downloading from https://akamai.bintray.com/bb/bbba35b2261a372ebd5511dc6db7687fd772c28c8dfd86d4604f8d6087be210e?__gd ######################################################################## 100.0% ==> Pouring qt-5.9.2.high_sierra.bottle.tar.gz Error: Failed to create /usr/local/opt/qt Things that depend on qt will probably not build. Could not symlink . /usr/local/opt is not writable. ==> Caveats We agreed to the Qt opensource license for you. If this is unacceptable you should uninstall.

This formula is keg-only, which means it was not symlinked into /usr/local, because Qt 5 has CMake issues when linked.

If you need to have this software first in your PATH run: echo 'export PATH="/usr/local/opt/qt/bin:$PATH"' >> ~/.bash_profile

For compilers to find this software you may need to set: LDFLAGS: -L/usr/local/opt/qt/lib CPPFLAGS: -I/usr/local/opt/qt/include For pkg-config to find this software you may need to set: PKG_CONFIG_PATH: /usr/local/opt/qt/lib/pkgconfig

==> Summary 🍺 /usr/local/Cellar/qt/5.9.2: 9,021 files, 279.6MB ==> Installing golemfactory/golem/golem dependency: docker ==> Downloading https://homebrew.bintray.com/bottles/docker-17.10.0.high_sierra.bottle.tar.gz ==> Downloading from https://akamai.bintray.com/81/81e5aa8823fd683544ddf10e4cc12b82110421744e7f316902994ce06cb4e13c?__gd ######################################################################## 100.0% ==> Pouring docker-17.10.0.high_sierra.bottle.tar.gz Error: The brew link step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink . /usr/local/opt is not writable.

You can try again using: brew link docker ==> Caveats Bash completion has been installed to: /usr/local/etc/bash_completion.d

zsh completions have been installed to: /usr/local/share/zsh/site-functions ==> Summary 🍺 /usr/local/Cellar/docker/17.10.0: 8 files, 26.5MB ==> Installing golemfactory/golem/golem dependency: docker-machine ==> Downloading https://homebrew.bintray.com/bottles/docker-machine-0.13.0.high_sierra.bottle.tar.gz ==> Downloading from https://akamai.bintray.com/f6/f69505083b87c7964014ecaa1ccf5615f5e5b331aa682429a148113f9a480261?__gd ######################################################################## 100.0% ==> Pouring docker-machine-0.13.0.high_sierra.bottle.tar.gz Error: The brew link step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink . /usr/local/opt is not writable.

You can try again using: brew link docker-machine ==> Caveats Bash completion has been installed to: /usr/local/etc/bash_completion.d

zsh completions have been installed to: /usr/local/share/zsh/site-functions

To have launchd start docker-machine now and restart at login: brew services start docker-machine Or, if you don't want/need a background service you can just run: docker-machine start ==> Summary 🍺 /usr/local/Cellar/docker-machine/0.13.0: 11 files, 31.2MB ==> Installing golemfactory/golem/golem dependency: xhyve ==> Downloading https://homebrew.bintray.com/bottles/xhyve-0.2.0.high_sierra.bottle.1.tar.gz ==> Downloading from https://akamai.bintray.com/96/9643b72b869ec57653668f1ed2db0c3a2c7fad77d8000931933824622032d476?__gd ######################################################################## 100.0% ==> Pouring xhyve-0.2.0.high_sierra.bottle.1.tar.gz Error: The brew link step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink . /usr/local/opt is not writable.

You can try again using: brew link xhyve ==> Summary 🍺 /usr/local/Cellar/xhyve/0.2.0: 10 files, 11.2MB ==> Installing golemfactory/golem/golem dependency: libev ==> Downloading https://homebrew.bintray.com/bottles/libev-4.24.high_sierra.bottle.tar.gz ######################################################################## 100.0% ==> Pouring libev-4.24.high_sierra.bottle.tar.gz Error: The brew link step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink . /usr/local/opt is not writable.

You can try again using: brew link libev ==> Summary 🍺 /usr/local/Cellar/libev/4.24: 12 files, 432.8KB ==> Installing golemfactory/golem/golem dependency: docker-machine-driver-xhyve ==> Downloading https://homebrew.bintray.com/bottles/docker-machine-driver-xhyve-0.3.3.high_sierra.bottle.1.tar.gz ==> Downloading from https://akamai.bintray.com/82/826c8da536f8a69110a0b0ad81e94b23449fa0adc5aaa4c4a77f2ed4bc4108b6?__gd ######################################################################## 100.0% ==> Pouring docker-machine-driver-xhyve-0.3.3.high_sierra.bottle.1.tar.gz Error: The brew link step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink . /usr/local/opt is not writable.

You can try again using: brew link docker-machine-driver-xhyve ==> Caveats This driver requires superuser privileges to access the hypervisor. To enable, execute sudo chown root:wheel /usr/local/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve sudo chmod u+s /usr/local/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve ==> Summary 🍺 /usr/local/Cellar/docker-machine-driver-xhyve/0.3.3: 3 files, 10.5MB ==> Installing golemfactory/golem/golem dependency: ilmbase ==> Downloading https://homebrew.bintray.com/bottles/ilmbase-2.2.0.high_sierra.bottle.3.tar.gz ==> Downloading from https://akamai.bintray.com/f5/f53b502c8a59462466c610d127cdc2be288b472c4fbe76fa6affbff9498dac44?__gd ######################################################################## 100.0% ==> Pouring ilmbase-2.2.0.high_sierra.bottle.3.tar.gz Error: The brew link step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink . /usr/local/opt is not writable.

You can try again using: brew link ilmbase ==> Summary 🍺 /usr/local/Cellar/ilmbase/2.2.0: 363 files, 5.5MB ==> Installing golemfactory/golem/golem dependency: openexr ==> Downloading https://homebrew.bintray.com/bottles/openexr-2.2.0.high_sierra.bottle.1.tar.gz ==> Downloading from https://akamai.bintray.com/12/12c2585a07369da6668cacffe07ddd7a6b0f9750d107f0d053eefcb992e4df85?__gd ######################################################################## 100.0% ==> Pouring openexr-2.2.0.high_sierra.bottle.1.tar.gz Error: The brew link step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink . /usr/local/opt is not writable.

You can try again using: brew link openexr ==> Summary 🍺 /usr/local/Cellar/openexr/2.2.0: 132 files, 11.1MB ==> Installing golemfactory/golem/golem dependency: freeimage ==> Downloading https://homebrew.bintray.com/bottles/freeimage-3.17.0_1.high_sierra.bottle.tar.gz ==> Downloading from https://akamai.bintray.com/a9/a98fcfcbb82364d411ec11861f0523ea4e7dfd789d7e80fe1e1bdcb337ef3006?__gd ######################################################################## 100.0% ==> Pouring freeimage-3.17.0_1.high_sierra.bottle.tar.gz Error: The brew link step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink . /usr/local/opt is not writable.

You can try again using: brew link freeimage ==> Summary 🍺 /usr/local/Cellar/freeimage/3.17.0_1: 12 files, 29MB ==> Installing golemfactory/golem/golem dependency: golemfactory/hyperg/hyperg ==> Downloading https://github.com/mfranciszkiewicz/golem-hyperdrive/releases/download/v0.2.1/hyperg_0.2.1_darwin-x64.ta ==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/80833026/ee3e0116-5285-11e7-8051-f8 ######################################################################## 100.0% Error: The brew link step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink . /usr/local/opt is not writable.

You can try again using: brew link hyperg ==> Summary 🍺 /usr/local/Cellar/hyperg/0.2.1: 7 files, 83.5MB, built in 55 seconds ==> Installing golemfactory/golem/golem dependency: openssl ==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2l.high_sierra.bottle.tar.gz ==> Downloading from https://akamai.bintray.com/cc/cc92b67189d6df7315c083da142599faa9848563011e7f5314a0dc36cf03be4c?__gd ######################################################################## 100.0% ==> Pouring openssl-1.0.2l.high_sierra.bottle.tar.gz Error: Permission denied @ unlink_internal - /usr/local/opt/openssl Follow the instructions here: https://github.com/caskroom/homebrew-cask#reporting-bugs /usr/local/Homebrew/Library/Homebrew/keg.rb:506:in unlink' /usr/local/Homebrew/Library/Homebrew/keg.rb:506:indelete' /usr/local/Homebrew/Library/Homebrew/keg.rb:506:in optlink' /usr/local/Homebrew/Library/Homebrew/formula_installer.rb:741:inlink' /usr/local/Homebrew/Library/Homebrew/formula_installer.rb:601:in finish' /usr/local/Homebrew/Library/Homebrew/formula_installer.rb:570:ininstall_dependency' /usr/local/Homebrew/Library/Homebrew/formula_installer.rb:531:in block in install_dependencies' /usr/local/Homebrew/Library/Homebrew/formula_installer.rb:531:ineach' /usr/local/Homebrew/Library/Homebrew/formula_installer.rb:531:in install_dependencies' /usr/local/Homebrew/Library/Homebrew/formula_installer.rb:258:ininstall' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:276:in block (2 levels) in formula_dependencies' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:270:intap' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:270:in block in formula_dependencies' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:266:ineach' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:266:in formula_dependencies' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:217:insatisfy_dependencies' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:66:in fetch' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:92:ininstall' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:19:in block in run' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:13:ineach' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:13:in run' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:35:inrun' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:97:in run_command' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:167:inrun' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:131:in run' /usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:incask' /usr/local/Homebrew/Library/Homebrew/brew.rb:99:in <main>'

maaktweluit commented 6 years ago

Could you try running brew doctor?

Please also use ``` before and after blocks of logs to make them more readable

badb commented 6 years ago

@tapuat Please let us know if you have similiar problems with 0.11.0 version, feel free to reopen issue or create another one.