Skip to content

Instantly share code, notes, and snippets.

@pyrofolium
Created August 30, 2014 17:09
Show Gist options
  • Save pyrofolium/6fb39d4259ae15f64ab6 to your computer and use it in GitHub Desktop.
Save pyrofolium/6fb39d4259ae15f64ab6 to your computer and use it in GitHub Desktop.
julia error 3
brian@Brians-MacBook-Air:~$ brew rm arpack-julia suite-sparse-julia openblas-julia
Uninstalling /usr/local/Cellar/arpack-julia/3.1.3...
Uninstalling /usr/local/Cellar/suite-sparse-julia/4.2.1...
Uninstalling /usr/local/Cellar/openblas-julia/0.2.10...
brian@Brians-MacBook-Air:~$ brew cleanup
brian@Brians-MacBook-Air:~$ brew install -v --HEAD julia && brew test -v --HEAD julia
==> Installing dependencies for julia: staticfloat/julia/openblas-julia, staticfloat/julia/arpack-julia, staticfloat/julia/suite-sparse-julia
==> Installing julia dependency: staticfloat/julia/openblas-julia
==> Downloading https://juliabottles.s3.amazonaws.com/openblas-julia-0.2.10.mavericks.bottle.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/openblas-julia-0.2.10.mavericks.bottle.2.tar.gz
==> Verifying openblas-julia-0.2.10.mavericks.bottle.2.tar.gz checksum
==> Pouring openblas-julia-0.2.10.mavericks.bottle.2.tar.gz
tar xf /Library/Caches/Homebrew/openblas-julia-0.2.10.mavericks.bottle.2.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
Conflicts with openblas in homebrew-science.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/openblas-julia/lib
CPPFLAGS: -I/usr/local/opt/openblas-julia/include
==> Finishing up
==> Summary
🍺 /usr/local/Cellar/openblas-julia/0.2.10: 9 files, 30M
==> Installing julia dependency: staticfloat/julia/arpack-julia
==> Downloading https://juliabottles.s3.amazonaws.com/arpack-julia-3.1.3.mavericks.bottle.4.tar.gz
Already downloaded: /Library/Caches/Homebrew/arpack-julia-3.1.3.mavericks.bottle.4.tar.gz
==> Verifying arpack-julia-3.1.3.mavericks.bottle.4.tar.gz checksum
==> Pouring arpack-julia-3.1.3.mavericks.bottle.4.tar.gz
tar xf /Library/Caches/Homebrew/arpack-julia-3.1.3.mavericks.bottle.4.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
Conflicts with arpack in homebrew-science.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/arpack-julia/lib
==> Finishing up
==> Summary
🍺 /usr/local/Cellar/arpack-julia/3.1.3: 9 files, 1.5M
==> Installing julia dependency: staticfloat/julia/suite-sparse-julia
==> Downloading https://juliabottles.s3.amazonaws.com/suite-sparse-julia-4.2.1.mavericks.bottle.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/suite-sparse-julia-4.2.1.mavericks.bottle.3.tar.gz
==> Verifying suite-sparse-julia-4.2.1.mavericks.bottle.3.tar.gz checksum
==> Pouring suite-sparse-julia-4.2.1.mavericks.bottle.3.tar.gz
tar xf /Library/Caches/Homebrew/suite-sparse-julia-4.2.1.mavericks.bottle.3.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
Conflicts with suite-sparse in homebrew-science.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/suite-sparse-julia/lib
CPPFLAGS: -I/usr/local/opt/suite-sparse-julia/include
==> Finishing up
==> Summary
🍺 /usr/local/Cellar/suite-sparse-julia/4.2.1: 76 files, 3.7M
==> Installing julia
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> Building with an alternative Fortran compiler
This is unsupported.
==> Building with an alternative Fortran compiler
This is unsupported.
==> Cloning https://github.com/JuliaLang/julia.git
git --git-dir /Library/Caches/Homebrew/julia--git/.git status -s
Updating /Library/Caches/Homebrew/julia--git
git config remote.origin.url https://github.com/JuliaLang/julia.git
git config remote.origin.fetch +refs/heads/master:refs/remotes/origin/master
git fetch origin
git checkout -f master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
git reset --hard origin/HEAD
HEAD is now at 7716fa7 Update variables.rst
git submodule update --init --recursive
git reset --hard origin/HEAD
HEAD is now at 7716fa7 Update variables.rst
git clone . /private/tmp/julia-U9z5Ix
Cloning into '/private/tmp/julia-U9z5Ix'...
done.
git clone deps/Rmath /private/tmp/julia-U9z5Ix/deps/Rmath
Cloning into '/private/tmp/julia-U9z5Ix/deps/Rmath'...
done.
Note: checking out '226598f63af75e8bc3568f01e34932caebce6064'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
git clone deps/libuv /private/tmp/julia-U9z5Ix/deps/libuv
Cloning into '/private/tmp/julia-U9z5Ix/deps/libuv'...
done.
Note: checking out 'a12eb3329cd2c0224ef631ea062fa16d119da47c'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
git clone deps/openlibm /private/tmp/julia-U9z5Ix/deps/openlibm
Cloning into '/private/tmp/julia-U9z5Ix/deps/openlibm'...
done.
Note: checking out '0b9d67e54a5b07e32a27b68cf0a01c33b515fc9b'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
git clone doc/juliadoc /private/tmp/julia-U9z5Ix/doc/juliadoc
Cloning into '/private/tmp/julia-U9z5Ix/doc/juliadoc'...
done.
Note: checking out 'bab3c6ba9e613da94001e1d71f994143814a1422'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
==> Downloading https://gist.github.com/staticfloat/3806093/raw/cb34c7262b9130f0e9e07641a66fccaa0d08b5d2/deps.Makefile.diff
/usr/bin/curl -fLA Homebrew 0.9.5 (Ruby 2.0.0-451; Mac OS X 10.9.4) https://gist.github.com/staticfloat/3806093/raw/cb34c7262b9130f0e9e07641a66fccaa0d08b5d2/deps.Makefile.diff -C 0 -o /Library/Caches/Homebrew/julia--patch-https%3A%2F%2Fgist.github.com%2Fstaticfloat%2F3806093%2Fraw%2Fcb34c7262b9130f0e9e07641a66fccaa0d08b5d2%2Fdeps.Makefile.diff.diff.incomplete
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 573 0 0 400 0 --:--:-- 0:00:01 --:--:-- 958
==> Patching
/usr/bin/patch -g 0 -f -d /private/tmp/julia-U9z5Ix -p1 -i /private/tmp/julia--patch-NvAovd/deps.Makefile.diff
patching file deps/Makefile
Hunk #1 succeeded at 1357 (offset 703 lines).
==> Downloading https://double-conversion.googlecode.com/files/double-conversion-1.1.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/julia--doubleconversion-1.1.1.tar.gz
==> Verifying julia--doubleconversion-1.1.1.tar.gz checksum
==> Using double-conversion: /Library/Caches/Homebrew/julia--doubleconversion-1.1.1.tar.gz
==> Downloading http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/dSFMT-src-2.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/julia--dsfmt-2.2.tar.gz
==> Verifying julia--dsfmt-2.2.tar.gz checksum
==> Using DSFMT: /Library/Caches/Homebrew/julia--dsfmt-2.2.tar.gz
==> make -C contrib -f repackage_system_suitesparse4.make prefix=/usr/local/Cellar/julia/HEAD USE_BLAS64=0 FC=/usr/local/bin/gfortran LLVM_CONFIG=llvm-config-3.3 USECLANG=1 VERBOSE=1 LIBBLAS=-lopenblas LIBBLASNAME=libopenblas LIBLAPACK=-lopenblas LIBLAPACKNAME=libopenblas USE_SYSTEM_ZLIB=1 USE_SYSTEM_FFTW=1 USE_SYSTEM_GLPK=1 USE_SYSTEM_GMP=1 USE_SYSTEM_LLVM=1 USE_SYSTEM_PCRE=1 USE_SYSTEM_BLAS=1 USE_SYSTEM_LAPACK=1 USE_SYSTEM_SUITESPARSE=1 USE_SYSTEM_ARPACK=1 USE_SYSTEM_MPFR=1
mkdir -p /private/tmp/julia-U9z5Ix/usr/lib
mkdir -p /private/tmp/julia-U9z5Ix/deps/SuiteSparse-SYSTEM/lib
cd /private/tmp/julia-U9z5Ix/deps/SuiteSparse-SYSTEM/lib && \
rm -f /private/tmp/julia-U9z5Ix/usr/lib/lib{amd,cholmod,colamd,spqr,umfpack}.dylib && \
clang -stdlib=libc++ -mmacosx-version-min=10.7 -shared -Xlinker -all_load /usr/local/opt/suite-sparse-julia/lib/libamd.a -o /private/tmp/julia-U9z5Ix/usr/lib/libamd.dylib && \
install_name_tool -id @rpath/libamd.dylib /private/tmp/julia-U9z5Ix/usr/lib/libamd.dylib && \
clang -stdlib=libc++ -mmacosx-version-min=10.7 -shared -Xlinker -all_load /usr/local/opt/suite-sparse-julia/lib/libcolamd.a -o /private/tmp/julia-U9z5Ix/usr/lib/libcolamd.dylib && \
install_name_tool -id @rpath/libcolamd.dylib /private/tmp/julia-U9z5Ix/usr/lib/libcolamd.dylib && \
clang++ -stdlib=libc++ -mmacosx-version-min=10.7 -shared -Xlinker -all_load /usr/local/opt/suite-sparse-julia/lib/libsuitesparseconfig.a /usr/local/opt/suite-sparse-julia/lib/libcholmod.a -o /private/tmp/julia-U9z5Ix/usr/lib/libcholmod.dylib -L/private/tmp/julia-U9z5Ix/usr/lib -L/usr/local/opt/suite-sparse-julia/lib -L/usr/local/opt/arpack-julia/lib -L/usr/local/opt/openblas-julia/lib -L/usr/local/opt/llvm33-julia/lib -L/usr/local/opt/libffi/lib -L/usr/local/opt/cloog018-julia/lib -L/usr/local/opt/isl011-julia/lib -L/usr/local/opt/gmp4-julia/lib -L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad_max_install_names -headerpad_max_install_names -lcolamd -lccolamd -lcamd -lamd -lopenblas -Wl,-rpath,'@loader_path/' && \
install_name_tool -id @rpath/libcholmod.dylib /private/tmp/julia-U9z5Ix/usr/lib/libcholmod.dylib && \
clang++ -stdlib=libc++ -mmacosx-version-min=10.7 -shared -Xlinker -all_load /usr/local/opt/suite-sparse-julia/lib/libsuitesparseconfig.a /usr/local/opt/suite-sparse-julia/lib/libumfpack.a -o /private/tmp/julia-U9z5Ix/usr/lib/libumfpack.dylib -L/private/tmp/julia-U9z5Ix/usr/lib -L/usr/local/opt/suite-sparse-julia/lib -L/usr/local/opt/arpack-julia/lib -L/usr/local/opt/openblas-julia/lib -L/usr/local/opt/llvm33-julia/lib -L/usr/local/opt/libffi/lib -L/usr/local/opt/cloog018-julia/lib -L/usr/local/opt/isl011-julia/lib -L/usr/local/opt/gmp4-julia/lib -L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad_max_install_names -headerpad_max_install_names -lcholmod -lcolamd -lamd -lopenblas -Wl,-rpath,'@loader_path/' && \
install_name_tool -id @rpath/libumfpack.dylib /private/tmp/julia-U9z5Ix/usr/lib/libumfpack.dylib && \
clang++ -stdlib=libc++ -mmacosx-version-min=10.7 -shared -Xlinker -all_load /usr/local/opt/suite-sparse-julia/lib/libsuitesparseconfig.a /usr/local/opt/suite-sparse-julia/lib/libspqr.a -o /private/tmp/julia-U9z5Ix/usr/lib/libspqr.dylib -L/private/tmp/julia-U9z5Ix/usr/lib -L/usr/local/opt/suite-sparse-julia/lib -L/usr/local/opt/arpack-julia/lib -L/usr/local/opt/openblas-julia/lib -L/usr/local/opt/llvm33-julia/lib -L/usr/local/opt/libffi/lib -L/usr/local/opt/cloog018-julia/lib -L/usr/local/opt/isl011-julia/lib -L/usr/local/opt/gmp4-julia/lib -L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad_max_install_names -headerpad_max_install_names -lcholmod -lcolamd -lamd -lopenblas -Wl,-rpath,'@loader_path/' && \
install_name_tool -id @rpath/libspqr.dylib /private/tmp/julia-U9z5Ix/usr/lib/libspqr.dylib
ld: file not found: /usr/local/lib/gcc/x86_64-apple-darwin13.3.0/4.9.1/libgfortran.3.dylib for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [default] Error 1
==> Formula
Tap: staticfloat/homebrew-julia
Path: /usr/local/Library/Taps/staticfloat/homebrew-julia/julia.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: 9c4f0973b5b595b25d1593f33011154907af49b7
CPU: quad-core 64-bit haswell
OS X: 10.9.4-x86_64
Xcode: 5.1.1
CLT: 5.1.0.0.1.1396320587
X11: 2.7.6 => /opt/X11
==> ENV
CC: /usr/bin/clang
CXX: /usr/bin/clang++
OBJC: /usr/bin/clang
OBJCXX: /usr/bin/clang++
CFLAGS: -Os -w -pipe -march=native -mmacosx-version-min=10.9
CXXFLAGS: -Os -w -pipe -march=native -mmacosx-version-min=10.9
CPPFLAGS: -I/usr/local/opt/suite-sparse-julia/include -I/usr/local/opt/openblas-julia/include -I/usr/local/opt/cloog018-julia/include -I/usr/local/opt/isl011-julia/include -I/usr/local/opt/gmp4-julia/include -F/usr/local/Frameworks
LDFLAGS: -L/usr/local/opt/suite-sparse-julia/lib -L/usr/local/opt/arpack-julia/lib -L/usr/local/opt/openblas-julia/lib -L/usr/local/opt/llvm33-julia/lib -L/usr/local/opt/libffi/lib -L/usr/local/opt/cloog018-julia/lib -L/usr/local/opt/isl011-julia/lib -L/usr/local/opt/gmp4-julia/lib -L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad_max_install_names -headerpad_max_install_names
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local/opt/suite-sparse-julia:/usr/local/opt/arpack-julia:/usr/local/opt/openblas-julia:/usr/local/opt/llvm33-julia:/usr/local/opt/libffi:/usr/local/opt/cloog018-julia:/usr/local/opt/isl011-julia:/usr/local/opt/gmp4-julia
CMAKE_FRAMEWORK_PATH: /usr/local/Frameworks
MACOSX_DEPLOYMENT_TARGET: 10.9
PKG_CONFIG_PATH: /usr/local/opt/arpack-julia/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/cloog018-julia/lib/pkgconfig:/usr/local/opt/isl011-julia/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/local/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9:/usr/lib/pkgconfig
PATH: /usr/local/opt/arpack-julia/bin:/usr/local/opt/llvm33-julia/bin:/usr/local/opt/cloog018-julia/bin:/usr/local/opt/python/bin:/usr/local/bin:/usr/local/sbin:/Users/brian/.rvm/gems/ruby-2.1.2/bin:/Users/brian/.rvm/gems/ruby-2.1.2@global/bin:/Users/brian/.rvm/rubies/ruby-2.1.2/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/opt/local/bin:/opt/local/sbin:/Applications/Racket/bin:/Users/brian/.rvm/bin:/usr/local/Library/Contributions/cmd
CPATH: /usr/local/include
Error: julia HEAD did not build
Logs:
/Users/brian/Library/Logs/Homebrew/julia/01.make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment