Skip to content

More 10.9 brew install issues for --HEAD #66

@gibiansky

Description

@gibiansky

I am running the following command:

brew install --HEAD julia -v

This gives me an error about OpenBLAS and not knowing the target. I fix that by installing openblas-julia with --target=SANDYBRIDGE. I am on a new Mac 10.9, so I think that's what I want.

I rerun the previous command and get this error:

Error: julia did not build
Logs:
     /Users/silver/Library/Logs/Homebrew/julia/01.make
     /Users/silver/Library/Logs/Homebrew/julia/02.make

This is not very informative. The whole command output is a bunch of compilation messages (using clang) and then the following messages from make:

yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... 13 warnings generated.
yes
touch -c openlibm/libopenlibm.dylib
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 for dlfcn.h... yes
checking for objdir... .libs
checking if clang -stdlib=libc++ -mmacosx-version-min=10.7 supports -fno-rtti -fno-exceptions... yes
checking for clang -stdlib=libc++ -mmacosx-version-min=10.7 option to produce PIC... -fno-common -DPIC
checking if clang -stdlib=libc++ -mmacosx-version-min=10.7 PIC flag -fno-common -DPIC works... yes
checking if clang -stdlib=libc++ -mmacosx-version-min=10.7 static flag -static works... no
checking if clang -stdlib=libc++ -mmacosx-version-min=10.7 supports -c -o file.o... yes
checking if clang -stdlib=libc++ -mmacosx-version-min=10.7 supports -c -o file.o... (cached) yes
checking whether the clang -stdlib=libc++ -mmacosx-version-min=10.7 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin13.0.2 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for dlopen in -ldl... yes
checking for kstat_lookup in -lkstat... no
checking for kvm_open in -lkvm... no
checking for gethostbyname in -lnsl... no
checking for perfstat_cpu in -lperfstat... no
checking for pthread_mutex_init in -lpthread... yes
checking for clock_gettime in -lrt... no
checking for sendfile in -lsendfile... no
checking for socket in -lsocket... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for dtrace... dtrace
checking if dtrace works... yes
checking if dtrace should instrument object files... no
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
touch -c libuv/config.status
make[1]: *** [julia-release] Error 2
make: *** [release] Error 2
==> Formula
Tap: staticfloat/julia
Path: /Users/silver/dev/homebrew/Library/Taps/staticfloat-julia/julia.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: a9077af885e0cc708b535203e7a39866473b2702
HOMEBREW_PREFIX: /Users/silver/dev/homebrew
CPU: 8-core 64-bit haswell
OS X: 10.9.1-x86_64
Xcode: 5.0.2
CLT: 5.0.1.0.1.1382131676
X11: 2.7.5 => /opt/X11
==> ENV
CFLAGS: -Os -w -pipe -march=native -mmacosx-version-min=10.9
CXXFLAGS: -Os -w -pipe -march=native -mmacosx-version-min=10.9
CPPFLAGS: -I/Users/silver/dev/homebrew/opt/suite-sparse-julia/include -I/Users/silver/dev/homebrew/opt/openblas-julia/include -I/Users/silver/dev/homebrew/opt/llvm/include -I/Users/silver/dev/homebrew/opt/readline/include -isystem/Users/silver/dev/homebrew/include -F/Users/silver/dev/homebrew/Frameworks
LDFLAGS: -L/Users/silver/dev/homebrew/opt/suite-sparse-julia/lib -L/Users/silver/dev/homebrew/opt/arpack-julia/lib -L/Users/silver/dev/homebrew/opt/openblas-julia/lib -L/Users/silver/dev/homebrew/opt/llvm/lib -L/Users/silver/dev/homebrew/opt/readline/lib -L/Users/silver/dev/homebrew/lib  -F/Users/silver/dev/homebrew/Frameworks -Wl,-headerpad_max_install_names -headerpad_max_install_names
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /Users/silver/dev/homebrew/opt/suite-sparse-julia:/Users/silver/dev/homebrew/opt/arpack-julia:/Users/silver/dev/homebrew/opt/openblas-julia:/Users/silver/dev/homebrew/opt/llvm:/Users/silver/dev/homebrew/opt/readline:/Users/silver/dev/homebrew
CMAKE_FRAMEWORK_PATH: /Users/silver/dev/homebrew/Frameworks
MACOSX_DEPLOYMENT_TARGET: 10.9
PKG_CONFIG_PATH: /Users/silver/dev/homebrew/opt/arpack-julia/lib/pkgconfig
PKG_CONFIG_LIBDIR: /Users/silver/dev/homebrew/lib/pkgconfig:/Users/silver/dev/homebrew/Library/ENV/pkgconfig/10.9:/usr/lib/pkgconfig
PATH: /Users/silver/dev/homebrew/opt/arpack-julia/bin:/Users/silver/dev/homebrew/opt/llvm/bin:.:/Users/silver/.vim/foreign/zsh/fasd:/Users/silver/.cabal/bin:/Users/silver/dev/ghc/bin:/Users/silver/dev/homebrew/bin:/Users/silver/dev/z3/bin:/usr/texbin:/Applications/MATLAB_R2013a.app/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/Users/silver/dev/homebrew/Library/Contributions/cmd
CPATH: /Users/silver/dev/homebrew/include

Error: julia did not build
Logs:
     /Users/silver/Library/Logs/Homebrew/julia/01.make
     /Users/silver/Library/Logs/Homebrew/julia/02.make

These open issues may also help:
julia failed to build on 10.7.5 (https://github.com/Homebrew/homebrew/issues/17030)
`set_cpu_flags` causing errors when building julia (https://github.com/Homebrew/homebrew/issues/19921)

The log files are make0.1 and make.02.

What's going on?! I've looked around everywhere (including issues lists for this repo and julia) and cannot figure it out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions