Skip to content

Instantly share code, notes, and snippets.

@silberzwiebel
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silberzwiebel/11d24cd93c08c94eedf1 to your computer and use it in GitHub Desktop.
Save silberzwiebel/11d24cd93c08c94eedf1 to your computer and use it in GitHub Desktop.
pandoc fails to build
Directory ~/Library/Logs/Homebrew/pandoc does no exist (but several other directories with names of packages installed via homebrew)
HOMEBREW_MAKE_JOBS=1 brew install -v <formula name> 2>&1:
==> Downloading https://hackage.haskell.org/package/pandoc-1.13.2.1/pandoc-1.13.2.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/pandoc-1.13.2.1.tar.gz
==> Verifying pandoc-1.13.2.1.tar.gz checksum
tar xf /Library/Caches/Homebrew/pandoc-1.13.2.1.tar.gz
Error: undefined method `fails_with' for #<Formula pandoc (stable) /usr/local/Library/Formula/pandoc.rb>
Please report this bug:
https://git.io/brew-troubleshooting
/usr/local/Library/Homebrew/language/haskell.rb:15:in `cabal_sandbox'
/usr/local/Library/Formula/pandoc.rb:28:in `install'
/usr/local/Library/Homebrew/build.rb:129:in `install'
/usr/local/Library/Homebrew/formula.rb:515:in `brew'
/usr/local/Library/Homebrew/formula.rb:881:in `stage'
/usr/local/Library/Homebrew/resource.rb:91:in `unpack'
/usr/local/Library/Homebrew/extend/fileutils.rb:17:in `mktemp'
/usr/local/Library/Homebrew/resource.rb:88:in `unpack'
/usr/local/Library/Homebrew/resource.rb:81:in `stage'
/usr/local/Library/Homebrew/formula.rb:879:in `stage'
/usr/local/Library/Homebrew/formula.rb:511:in `brew'
/usr/local/Library/Homebrew/build.rb:107:in `install'
/usr/local/Library/Homebrew/build.rb:179
brew config:
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 318b0e58d2d4532bb7eaa33e32109a645d70832c
Last commit: 25 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit arrandale
OS X: 10.7.5-x86_64
Xcode: 4.6.3
CLT: 4.6.0.0.1.1365549073
LLVM-GCC: build 2336
Clang: 4.2 build 425
X11: 2.7.7 => /opt/X11
System Ruby: 1.8.7-p358
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Java: 1.8.0_25
brew doctor:
Your system is ready to brew.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment