Skip to content

Instantly share code, notes, and snippets.

@koshov
Created February 4, 2014 13:56
Show Gist options
  • Save koshov/8803980 to your computer and use it in GitHub Desktop.
Save koshov/8803980 to your computer and use it in GitHub Desktop.
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> 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/tags/v0.2.0:refs/tags/v0.2.0
git --git-dir /Library/Caches/Homebrew/julia--git/.git rev-parse -q --verify v0.2.0
git checkout -f v0.2.0
git reset --hard v0.2.0
HEAD is now at 05c6461 VERSION: 0.2.0
git submodule update --init
git reset --hard v0.2.0
HEAD is now at 05c6461 VERSION: 0.2.0
git clone . /private/tmp/julia-MRJP
Cloning into '/private/tmp/julia-MRJP'...
done.
git submodule --quiet foreach --recursive git checkout-index -a -f --prefix=/private/tmp/julia-MRJP/$path/
==> Downloading patches
/usr/bin/curl -f#LA Homebrew 0.9.5 (Ruby 1.8.7-358; Mac OS X 10.9.1) https://gist.github.com/staticfloat/3806093/raw/cb34c7262b9130f0e9e07641a66fccaa0d08b5d2/deps.Makefile.diff -o 000-homebrew.diff --silent
==> Patching
/usr/bin/patch -g 0 -f -p1 -i 000-homebrew.diff
patching file deps/Makefile
Hunk #1 succeeded at 1234 (offset 580 lines).
==> Building with an alternative Fortran compiler
This is unsupported.
==> Downloading http://double-conversion.googlecode.com/files/double-conversion-1.1.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/double-conversion-1.1.1.tar.gz
==> Verifying double-conversion-1.1.1.tar.gz checksum
tar xf /Library/Caches/Homebrew/double-conversion-1.1.1.tar.gz
==> Using double-conversion: /Library/Caches/Homebrew/double-conversion-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/dSFMT-src-2.2.tar.gz
==> Verifying dSFMT-src-2.2.tar.gz checksum
tar xf /Library/Caches/Homebrew/dSFMT-src-2.2.tar.gz
==> Using DSFMT: /Library/Caches/Homebrew/dSFMT-src-2.2.tar.gz
==> make -C contrib -f repackage_system_suitesparse4.make PREFIX=/usr/local/Cellar/julia/0.2.0 USE_BLAS64=1 FC=/usr/local/bin/gfortran USECLANG=1 VERBOSE=1 LIBBLAS=-lopenblas LIBBLASNAME=libopenblas LIBLAPACK=-lopenblas LIBLAPACKNAME=libopenblas USE_SYSTEM_ZLIB=1 USE_SYSTEM_FFTW=1 USE_SYSTEM_READLINE=1 USE_SYSTEM_GLPK=1 USE_SYSTEM_GMP=1 USE_SYSTEM_LLVM=1 USE_SYSTEM_PCRE=1 USE_SYSTEM_BLAS=1 USE_SYSTEM_SUITESPARSE=1 USE_SYSTEM_ARPACK=1 USE_SYSTEM_MPFR=1 USE_SYSTEM_LAPACK=1
mkdir -p /private/tmp/julia-MRJP/usr/lib
mkdir -p /private/tmp/julia-MRJP/deps/SuiteSparse-SYSTEM/lib
cd /private/tmp/julia-MRJP/deps/SuiteSparse-SYSTEM/lib && \
rm -f /private/tmp/julia-MRJP/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-sparse64-julia/lib/libamd.a -o /private/tmp/julia-MRJP/usr/lib/libamd.dylib && \
install_name_tool -id @rpath/libamd.dylib /private/tmp/julia-MRJP/usr/lib/libamd.dylib && \
clang -stdlib=libc++ -mmacosx-version-min=10.7 -shared -Xlinker -all_load /usr/local/opt/suite-sparse64-julia/lib/libcolamd.a -o /private/tmp/julia-MRJP/usr/lib/libcolamd.dylib && \
install_name_tool -id @rpath/libcolamd.dylib /private/tmp/julia-MRJP/usr/lib/libcolamd.dylib && \
clang++ -stdlib=libc++ -mmacosx-version-min=10.7 -shared -Xlinker -all_load /usr/local/opt/suite-sparse64-julia/lib/libsuitesparseconfig.a /usr/local/opt/suite-sparse64-julia/lib/libcholmod.a -o /private/tmp/julia-MRJP/usr/lib/libcholmod.dylib -L/private/tmp/julia-MRJP/usr/lib -L/usr/local/opt/suite-sparse64-julia/lib -L/usr/local/opt/arpack64-julia/lib -L/usr/local/opt/openblas64-julia/lib -L/usr/local/opt/llvm/lib -L/usr/local/opt/readline/lib -L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad_max_install_names -headerpad_max_install_names -lcolamd -lccolamd -lcamd -lamd -lopenblas && \
install_name_tool -id @rpath/libcholmod.dylib /private/tmp/julia-MRJP/usr/lib/libcholmod.dylib && \
clang++ -stdlib=libc++ -mmacosx-version-min=10.7 -shared -Xlinker -all_load /usr/local/opt/suite-sparse64-julia/lib/libsuitesparseconfig.a /usr/local/opt/suite-sparse64-julia/lib/libumfpack.a -o /private/tmp/julia-MRJP/usr/lib/libumfpack.dylib -L/private/tmp/julia-MRJP/usr/lib -L/usr/local/opt/suite-sparse64-julia/lib -L/usr/local/opt/arpack64-julia/lib -L/usr/local/opt/openblas64-julia/lib -L/usr/local/opt/llvm/lib -L/usr/local/opt/readline/lib -L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad_max_install_names -headerpad_max_install_names -lcholmod -lcolamd -lamd -lopenblas && \
install_name_tool -id @rpath/libumfpack.dylib /private/tmp/julia-MRJP/usr/lib/libumfpack.dylib && \
clang++ -stdlib=libc++ -mmacosx-version-min=10.7 -shared -Xlinker -all_load /usr/local/opt/suite-sparse64-julia/lib/libsuitesparseconfig.a /usr/local/opt/suite-sparse64-julia/lib/libspqr.a -o /private/tmp/julia-MRJP/usr/lib/libspqr.dylib -L/private/tmp/julia-MRJP/usr/lib -L/usr/local/opt/suite-sparse64-julia/lib -L/usr/local/opt/arpack64-julia/lib -L/usr/local/opt/openblas64-julia/lib -L/usr/local/opt/llvm/lib -L/usr/local/opt/readline/lib -L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad_max_install_names -headerpad_max_install_names -lcholmod -lcolamd -lamd -lopenblas && \
install_name_tool -id @rpath/libspqr.dylib /private/tmp/julia-MRJP/usr/lib/libspqr.dylib
install_name_tool: object: /private/tmp/julia-MRJP/usr/lib/libamd.dylib malformed object (unknown load command 4)
make: *** [default] Error 1
==> Formula
Tap: staticfloat/julia
Path: /usr/local/Library/Taps/staticfloat-julia/julia.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: 0434c3809aec7a7026691864e096b2c6e79e6edc
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/usr/local/opt/suite-sparse64-julia/include -I/usr/local/opt/openblas64-julia/include -I/usr/local/opt/llvm/include -I/usr/local/opt/readline/include -F/usr/local/Frameworks
LDFLAGS: -L/usr/local/opt/suite-sparse64-julia/lib -L/usr/local/opt/arpack64-julia/lib -L/usr/local/opt/openblas64-julia/lib -L/usr/local/opt/llvm/lib -L/usr/local/opt/readline/lib -L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad_max_install_names -headerpad_max_install_names
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local/opt/suite-sparse64-julia:/usr/local/opt/arpack64-julia:/usr/local/opt/openblas64-julia:/usr/local/opt/llvm:/usr/local/opt/readline
CMAKE_FRAMEWORK_PATH: /usr/local/Frameworks
MACOSX_DEPLOYMENT_TARGET: 10.9
PKG_CONFIG_PATH: /usr/local/opt/arpack64-julia/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/local/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9:/usr/lib/pkgconfig
PATH: /usr/local/opt/arpack64-julia/bin:/usr/local/opt/llvm/bin:/usr/local/bin:/Users/goshe/.rvm/gems/ruby-2.0.0-p247/bin:/Users/goshe/.rvm/gems/ruby-2.0.0-p247@global/bin:/Users/goshe/.rvm/rubies/ruby-2.0.0-p247/bin:/Users/goshe/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/texbin:/usr/local/Library/Contributions/cmd
CPATH: /usr/local/include
Logs:
/Users/goshe/Library/Logs/Homebrew/julia/01.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)
@koshov
Copy link
Author

koshov commented Feb 4, 2014

cat /Users/goshe/Library/Logs/Homebrew/julia/01.make

mkdir -p /private/tmp/julia-MRJP/usr/lib
mkdir -p /private/tmp/julia-MRJP/deps/SuiteSparse-SYSTEM/lib
cd /private/tmp/julia-MRJP/deps/SuiteSparse-SYSTEM/lib &&
rm -f /private/tmp/julia-MRJP/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-sparse64-julia/lib/libamd.a -o /private/tmp/julia-MRJP/usr/lib/libamd.dylib &&
install_name_tool -id @rpath/libamd.dylib /private/tmp/julia-MRJP/usr/lib/libamd.dylib &&
clang -stdlib=libc++ -mmacosx-version-min=10.7 -shared -Xlinker -all_load /usr/local/opt/suite-sparse64-julia/lib/libcolamd.a -o /private/tmp/julia-MRJP/usr/lib/libcolamd.dylib &&
install_name_tool -id @rpath/libcolamd.dylib /private/tmp/julia-MRJP/usr/lib/libcolamd.dylib &&
clang++ -stdlib=libc++ -mmacosx-version-min=10.7 -shared -Xlinker -all_load /usr/local/opt/suite-sparse64-julia/lib/libsuitesparseconfig.a /usr/local/opt/suite-sparse64-julia/lib/libcholmod.a -o /private/tmp/julia-MRJP/usr/lib/libcholmod.dylib -L/private/tmp/julia-MRJP/usr/lib -L/usr/local/opt/suite-sparse64-julia/lib -L/usr/local/opt/arpack64-julia/lib -L/usr/local/opt/openblas64-julia/lib -L/usr/local/opt/llvm/lib -L/usr/local/opt/readline/lib -L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad_max_install_names -headerpad_max_install_names -lcolamd -lccolamd -lcamd -lamd -lopenblas &&
install_name_tool -id @rpath/libcholmod.dylib /private/tmp/julia-MRJP/usr/lib/libcholmod.dylib &&
clang++ -stdlib=libc++ -mmacosx-version-min=10.7 -shared -Xlinker -all_load /usr/local/opt/suite-sparse64-julia/lib/libsuitesparseconfig.a /usr/local/opt/suite-sparse64-julia/lib/libumfpack.a -o /private/tmp/julia-MRJP/usr/lib/libumfpack.dylib -L/private/tmp/julia-MRJP/usr/lib -L/usr/local/opt/suite-sparse64-julia/lib -L/usr/local/opt/arpack64-julia/lib -L/usr/local/opt/openblas64-julia/lib -L/usr/local/opt/llvm/lib -L/usr/local/opt/readline/lib -L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad_max_install_names -headerpad_max_install_names -lcholmod -lcolamd -lamd -lopenblas &&
install_name_tool -id @rpath/libumfpack.dylib /private/tmp/julia-MRJP/usr/lib/libumfpack.dylib &&
clang++ -stdlib=libc++ -mmacosx-version-min=10.7 -shared -Xlinker -all_load /usr/local/opt/suite-sparse64-julia/lib/libsuitesparseconfig.a /usr/local/opt/suite-sparse64-julia/lib/libspqr.a -o /private/tmp/julia-MRJP/usr/lib/libspqr.dylib -L/private/tmp/julia-MRJP/usr/lib -L/usr/local/opt/suite-sparse64-julia/lib -L/usr/local/opt/arpack64-julia/lib -L/usr/local/opt/openblas64-julia/lib -L/usr/local/opt/llvm/lib -L/usr/local/opt/readline/lib -L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad_max_install_names -headerpad_max_install_names -lcholmod -lcolamd -lamd -lopenblas &&
install_name_tool -id @rpath/libspqr.dylib /private/tmp/julia-MRJP/usr/lib/libspqr.dylib
install_name_tool: object: /private/tmp/julia-MRJP/usr/lib/libamd.dylib malformed object (unknown load command 4)
make: *** [default] Error 1

HOMEBREW_VERSION: 0.9.5
HEAD: 0434c3809aec7a7026691864e096b2c6e79e6edc
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment