Skip to content

Instantly share code, notes, and snippets.

@gburd
Last active December 22, 2015 16:39
Show Gist options
  • Select an option

  • Save gburd/6501083 to your computer and use it in GitHub Desktop.

Select an option

Save gburd/6501083 to your computer and use it in GitHub Desktop.
Homebrew: pure failed to build on OS X 10.9 (13A569)
HOMEBREW_VERSION: 0.9.4
ORIGIN: https://github.com/mxcl/homebrew
HEAD: edce4ed1223e34b7d4a68eebebc417cb0462ca7d
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit sandybridge
OS X: 10.9-x86_64
Xcode: 5.0 => /Applications/Xcode5-DP5.app/Contents/Developer
GCC-4.2: build 5666
LLVM-GCC: N/A
Clang: 5.0 build 500
X11: 2.7.4 => /opt/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Warning: Your file-system on / appears to be CaSe SeNsItIvE.
Homebrew is less tested with that - don't worry but please report issues.
Warning: /usr/local/share/python is not needed in PATH.
Formerly homebrew put Python scripts you installed via `pip` or `pip3`
(or `easy_install`) into that directory above but now it can be removed
from your PATH variable.
Python scripts will now install into /usr/local/bin.
You can delete anything, except 'Extras', from the /usr/local/share/python
(and /usr/local/share/python3) dir and install affected Python packages
anew with `pip install --upgrade`.
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libmacfuse_i32.2.dylib
/usr/local/lib/libmacfuse_i64.2.dylib
/usr/local/lib/libosxfuse_i32.2.dylib
/usr/local/lib/libosxfuse_i64.2.dylib
Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .la files:
/usr/local/lib/libosxfuse_i32.la
/usr/local/lib/libosxfuse_i64.la
Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .pc files:
/usr/local/lib/pkgconfig/osxfuse.pc
Warning: You are using Mac OS X 10.9.
We do not yet provide support for this (unreleased) version.
16:25:13:pure $ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install pure 2>&1
==> Downloading https://bitbucket.org/purelang/pure-lang/downloads/pure-0.57.tar.gz
Already downloaded: /Library/Caches/Homebrew/pure-0.57.tar.gz
tar xf /Library/Caches/Homebrew/pure-0.57.tar.gz
==> ./configure --disable-debug --prefix=/usr/local/Cellar/pure/0.57 --enable-release --without-elisp
./configure --disable-debug --prefix=/usr/local/Cellar/pure/0.57 --enable-release --without-elisp
checking build system type... x86_64-apple-darwin13.0.0
checking host system type... x86_64-apple-darwin13.0.0
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for bison... bison
checking for flex... flex
checking for emacs... /usr/bin/emacs
checking for texmacs... no
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking size of void *... 8
checking size of long... 8
checking size of size_t... 8
checking for __gmpz_init in -lgmp... yes
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking for mpfr_init in -lmpfr... yes
checking mpfr.h usability... yes
checking mpfr.h presence... yes
checking for mpfr.h... yes
checking for cos in -lm... yes
checking for libiconv in -liconv... no
checking for iconv in -liconv... yes
checking for glob in -lglob... no
checking for regcomp in -lregex... no
checking for a readline compatible library... -lreadline
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking edit/readline/readline.h usability... no
checking edit/readline/readline.h presence... no
checking for edit/readline/readline.h... no
checking editline/readline.h usability... yes
checking editline/readline.h presence... yes
checking for editline/readline.h... yes
checking whether readline supports history... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking edit/readline/history.h usability... no
checking edit/readline/history.h presence... no
checking for edit/readline/history.h... no
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for ftime... yes
checking for gettimeofday... yes
checking for nanosleep... yes
checking for usleep... yes
checking whether time.h declares the daylight variable... yes
checking whether struct tm has tm_gmtoff member... yes
checking for strptime... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking for readdir... yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for mkstemp... yes
checking for fstat... yes
checking for _setjmp... yes
checking for _longjmp... yes
checking for struct stat.st_rdev... yes
checking return type of signal handlers... void
checking for type of signal functions... posix
checking if signal handlers must be reinstalled when invoked... no
checking for _Complex float... yes
checking for _Complex double... yes
checking for llvm-config... llvm-config
checking for shared LLVM library... -L/usr/local/Cellar/llvm/3.3/lib -lLLVM-3.3
checking for new LLVM IRBuilder class (LLVM >= 3.2)... no
checking for new LLVM IRBuilder class (LLVM >= 2.6)... no
checking for new LLVM IRBuilder class (LLVM >= 2.4)... no
checking for llvm/Support/DynamicLibrary.h... yes
checking how to run the C++ preprocessor... c++ -E
checking llvm/Support/raw_ostream.h usability... yes
checking llvm/Support/raw_ostream.h presence... yes
checking for llvm/Support/raw_ostream.h... yes
checking llvm/Support/raw_os_ostream.h usability... yes
checking llvm/Support/raw_os_ostream.h presence... yes
checking for llvm/Support/raw_os_ostream.h... yes
checking llvm/ModuleProvider.h usability... no
checking llvm/ModuleProvider.h presence... no
checking for llvm/ModuleProvider.h... no
checking llvm/TypeSymbolTable.h usability... no
checking llvm/TypeSymbolTable.h presence... no
checking for llvm/TypeSymbolTable.h... no
checking llvm/DataLayout.h usability... no
checking llvm/DataLayout.h presence... no
checking for llvm/DataLayout.h... no
checking llvm/IRBuilder.h usability... no
checking llvm/IRBuilder.h presence... no
checking for llvm/IRBuilder.h... no
checking llvm/Support/TargetSelect.h usability... yes
checking llvm/Support/TargetSelect.h presence... yes
checking for llvm/Support/TargetSelect.h... yes
checking whether llvm::PerformTailCallOpt is declared... no
checking whether llvm::GuaranteedTailCallOpt is declared... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating examples/Makefile
config.status: creating pure.pc
config.status: creating run-test
config.status: creating run-tests
config.status: creating config.h
Pure 0.57 is now configured for LLVM 3.3 on x86_64-apple-darwin13.0.0.
Source directory: .
Installation prefix: /usr/local/Cellar/pure/0.57
Versioned install: no
C compiler: cc -O3 -g -O2 -DNDEBUG -DDEBUG=0
C++ compiler: c++ -O3 -g -O2 -DNDEBUG -DDEBUG=0
Linker: c++ -liconv -lm -lmpfr -lgmp
LLVM tool prefix:
Readline support: -lreadline
Build libpure: yes
fastcc/TCO support: yes
Now run 'make' to build everything, and 'make install' to install this
software on your system. To remove the installed software at a later
time use the 'make uninstall' command.
==> make
make
c++ -O3 -g -O2 -DNDEBUG -DDEBUG=0 -I/usr/local/Cellar/llvm/3.3/include -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I. -I. -DPURELIB='"/usr/local/Cellar/pure/0.57/lib/pure"' -c -o pure.o pure.cc
brew: superenv removed: -O3 -g -O2
In file included from pure.cc:28:
./interpreter.hh:22:10: fatal error: 'llvm/DerivedTypes.h' file not found
#include <llvm/DerivedTypes.h>
^
1 error generated.
make: *** [pure.o] Error 1
==> Configuration
HOMEBREW_VERSION: 0.9.4
HEAD: edce4ed1223e34b7d4a68eebebc417cb0462ca7d
CPU: 8-core 64-bit sandybridge
OS X: 10.9-x86_64
Xcode: 5.0 => /Applications/Xcode5-DP5.app/Contents/Developer
X11: 2.7.4 => /opt/X11
==> ENV
HOMEBREW_CC: clang
MAKEFLAGS: -j1
CMAKE_PREFIX_PATH: /usr/local/opt/readline:/usr/local:/Applications/Xcode5-DP5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr
CMAKE_INCLUDE_PATH: /Applications/Xcode5-DP5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/libxml2:/Applications/Xcode5-DP5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/apache2:/Applications/Xcode5-DP5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers:/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Headers
CMAKE_LIBRARY_PATH: /Applications/Xcode5-DP5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /Applications/Xcode5-DP5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks
PKG_CONFIG_PATH: /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9
HOMEBREW_MAKE_JOBS: 1
HOMEBREW_SDKROOT: /Applications/Xcode5-DP5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
ACLOCAL_PATH: /usr/local/share/aclocal
OBJC: cc
PATH: /usr/local/opt/python/bin:/usr/local/Library/ENV/4.3:/Applications/Xcode5-DP5.app/Contents/Developer/usr/bin:/Applications/Xcode5-DP5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/usr/local/opt/llvm/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: pure did not build
Logs: /Users/gburd/Library/Logs/Homebrew/pure/config.log
These open issues may also help:
https://github.com/mxcl/homebrew/issues/22409
16:26:42:pure $
==> Cloning ssh://hg@bitbucket.org/purelang/pure-lang
Updating /Library/Caches/Homebrew/pure--hg
/usr/local/bin/hg pull
running ssh -C hg@bitbucket.org 'hg -R purelang/pure-lang serve --stdio'
pulling from ssh://hg@bitbucket.org/purelang/pure-lang
searching for changes
no changes found
/usr/local/bin/hg update
resolving manifests
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
/usr/local/bin/hg archive --subrepos -y -t files /private/tmp/pure-3dVG
==> ./configure --disable-debug --prefix=/usr/local/Cellar/pure/HEAD --enable-release --without-elisp
./configure --disable-debug --prefix=/usr/local/Cellar/pure/HEAD --enable-release --without-elisp
==> Configuration
HOMEBREW_VERSION: 0.9.4
HEAD: edce4ed1223e34b7d4a68eebebc417cb0462ca7d
CPU: 8-core 64-bit sandybridge
OS X: 10.9-x86_64
Xcode: 5.0 => /Applications/Xcode5-DP5.app/Contents/Developer
X11: 2.7.4 => /opt/X11
==> ENV
HOMEBREW_CC: clang
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local/opt/readline:/usr/local:/Applications/Xcode5-DP5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr
CMAKE_INCLUDE_PATH: /Applications/Xcode5-DP5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/libxml2:/Applications/Xcode5-DP5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/apache2:/Applications/Xcode5-DP5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers:/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Headers
CMAKE_LIBRARY_PATH: /Applications/Xcode5-DP5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /Applications/Xcode5-DP5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks
PKG_CONFIG_PATH: /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9
HOMEBREW_SDKROOT: /Applications/Xcode5-DP5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
ACLOCAL_PATH: /usr/local/share/aclocal
OBJC: cc
PATH: /usr/local/opt/python/bin:/usr/local/Library/ENV/4.3:/Applications/Xcode5-DP5.app/Contents/Developer/usr/bin:/Applications/Xcode5-DP5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/usr/local/opt/llvm/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: pure did not build
These open issues may also help:
https://github.com/mxcl/homebrew/issues/22409
require 'formula'
class PureDocs < Formula
url 'https://bitbucket.org/purelang/pure-lang/downloads/pure-docs-0.57.tar.gz'
sha1 '7f2c6051b831d3de887f2182e8b29b1716ab45fd'
end
class Pure < Formula
homepage 'http://purelang.bitbucket.org/'
url 'https://bitbucket.org/purelang/pure-lang/downloads/pure-0.57.tar.gz'
sha1 '5c7441993752d0e2cba74912521d6df865e5dc0b'
head 'ssh://hg@bitbucket.org/purelang/pure-lang', :using => :hg
depends_on 'llvm'
depends_on 'gmp'
depends_on 'readline'
depends_on 'mpfr'
def install
system "./configure", "--disable-debug",
"--prefix=#{prefix}",
"--enable-release",
"--without-elisp"
system "make"
system "make check"
system "make install"
PureDocs.new.brew { system "make", "prefix=#{prefix}", "install" }
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment