Hi, thank you. The mrtrix tap works now. However, installing was an issue. I got this:
uqhvo1$ brew install mrtrix3
Updating Homebrew…
==> Installing mrtrix3 from mrtrix3/mrtrix3
==> Installing dependencies for mrtrix3/mrtrix3/mrtrix3: readline, sqlite, gdbm, python
==> Installing mrtrix3/mrtrix3/mrtrix3 dependency: readline
==> Downloading https://homebrew.bintray.com/bottles/readline-7.0.3_1.sierra.bot
######################################################################## 100.0%
==> Pouring readline-7.0.3_1.sierra.bottle.tar.gz
==> Using the sandbox
Warning: The post-install step did not complete successfully
You can try again using brew postinstall readline
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only…
For compilers to find this software you may need to set:
LDFLAGS: -L/usr/local/opt/readline/lib
CPPFLAGS: -I/usr/local/opt/readline/include
==> Summary /usr/local/Cellar/readline/7.0.3_1: 46 files, 1.5MB
==> Installing mrtrix3/mrtrix3/mrtrix3 dependency: sqlite
==> Downloading https://homebrew.bintray.com/bottles/sqlite-3.19.2.sierra.bottle
######################################################################## 100.0%
==> Pouring sqlite-3.19.2.sierra.bottle.tar.gz
Warning: The post-install step did not complete successfully
You can try again using brew postinstall sqlite
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local,
because macOS provides an older sqlite3.
If you need to have this software first in your PATH run:
echo ‘export PATH="/usr/local/opt/sqlite/bin:$PATH"’ >> ~/.bash_profile
For compilers to find this software you may need to set:
LDFLAGS: -L/usr/local/opt/sqlite/lib
CPPFLAGS: -I/usr/local/opt/sqlite/include
For pkg-config to find this software you may need to set:
PKG_CONFIG_PATH: /usr/local/opt/sqlite/lib/pkgconfig
==> Summary /usr/local/Cellar/sqlite/3.19.2: 12 files, 2.9MB
==> Installing mrtrix3/mrtrix3/mrtrix3 dependency: gdbm
==> Downloading https://homebrew.bintray.com/bottles/gdbm-1.13.sierra.bottle.tar
######################################################################## 100.0%
==> Pouring gdbm-1.13.sierra.bottle.tar.gz
Warning: The post-install step did not complete successfully
You can try again using brew postinstall gdbm
==> Summary /usr/local/Cellar/gdbm/1.13: 19 files, 554.4KB
==> Installing mrtrix3/mrtrix3/mrtrix3 dependency: python
Warning: Building python from source:
The bottle needs the Apple Command Line Tools to be installed.
You can install them, if desired, with:
xcode-select --install
==> Downloading https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tar.xz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/python/2.7.13 --enable-ipv6 --dataroo
==> make
==> make install PYTHONAPPSDIR=/usr/local/Cellar/python/2.7.13
==> make frameworkinstallextras PYTHONAPPSDIR=/usr/local/Cellar/python/2.7.13/sh
==> Downloading https://files.pythonhosted.org/packages/26/d1/dc7fe14ce4a3ff3fae
######################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/11/b6/abcb525026a4be042b
######################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/c9/1d/bd19e691fd4cfe908c
######################################################################## 100.0%
Error: parent directory is world writable but not sticky
Please report this bug: http://docs.brew.sh/Troubleshooting.html
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tmpdir.rb:92:in mktmpdir' /usr/local/Homebrew/Library/Homebrew/utils/fork.rb:6:insafe_fork’
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:658:in build' /usr/local/Homebrew/Library/Homebrew/formula_installer.rb:312:ininstall’
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:529:in install_dependency' /usr/local/Homebrew/Library/Homebrew/formula_installer.rb:496:inblock in install_dependencies’
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:496:in each' /usr/local/Homebrew/Library/Homebrew/formula_installer.rb:496:ininstall_dependencies’
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:245:in install' /usr/local/Homebrew/Library/Homebrew/cmd/install.rb:322:ininstall_formula’
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:207:in block in install' /usr/local/Homebrew/Library/Homebrew/cmd/install.rb:205:ineach’
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:205:in install' /usr/local/Homebrew/Library/Homebrew/brew.rb:92:in’
Thank you for reporting this! I have fixed the deprecation warnings but not the part of the code that caused the exception. I was able to reproduce the error up to an hour ago but now I can’t anymore. Would you mind trying it again?
brew update brew install mrtrix3
For reference:
My current version of homebrew is 1.5.1-9-gea0af7d. The changes in homebrew a few hours ago seem unrelated. In any case, I went back to yesterday’s homebrew version 6b8502d1e1c03a0d2eeb106f8480c542dc7f7d16 and the version of the MRtrix3 formula that failed to install (19edd7f94e2090e225776f29989b74f902691831) but also that seems to work now. When I got the error, installing mrtrix3 with --debug and --verbose flags should have triggered homebrew’s debugger but it also failed to do that and bailed out as in the error message above. I suspect something must have changed in how homebrew handles exceptions but I am a bit at a loss why it is working now…