Brew "shots" - Installieren von Mercurial mit XCode 5.1 und Homebrew

Hier ein Homebrew "Quickie" aka "Shots":

Nachdem ich auf XCode 5.1 aktualisiert hatte konnte ich anscheinend kein "Mercurial" mehr upgraden/installieren.

brew install mercurial

oder

brew reinstall mercurial

Gibt leider Probleme:

==> Downloading http://mercurial.selenic.com/release/mercurial-2.9.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/mercurial-2.9.1.tar.gz
==> make PREFIX=/usr/local/Cellar/mercurial/2.9.1 install-bin
clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c mercurial/base85.c -o build/temp.macosx-10.9-intel-2.7/mercurial/base85.o
clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
error: command 'clang' failed with exit status 1
make: *** [build] Error 1

Um es trotzdem installieren zu können folgendes machen:

ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future brew install mercurial

Das läuft fein durch:

==> Downloading http://mercurial.selenic.com/release/mercurial-2.9.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/mercurial-2.9.1.tar.gz
==> make PREFIX=/usr/local/Cellar/mercurial/2.9.1 install-bin
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completion has been installed to:
  /usr/local/share/zsh/site-functions

If you need Python to find the installed site-packages:
  mkdir -p ~/Library/Python/2.7/lib/python/site-packages
  echo '/usr/local/lib/python2.7/site-packages' >> ~/Library/Python/2.7/lib/python/site-packages/homebrew.pth
==> Summary
  /usr/local/Cellar/mercurial/2.9.1: 533 files, 7,5M, built in 5 seconds

Jubel!

comments powered by Disqus