staticfloat / homebrew-julia

small repository to install julia
221 stars 35 forks source link

HEAD does not compile anymore #233

Closed BenLauwens closed 7 years ago

BenLauwens commented 7 years ago

Hi @staticfloat

I have following issue:

brew install -v --HEAD julia
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
nzbget

==> Installing julia from staticfloat/julia
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> Cloning https://github.com/JuliaLang/julia.git
Updating /Users/ben/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
==> Checking out branch master
git checkout -f master --
Already on 'master'
Your branch is up-to-date with 'origin/master'.
git reset --hard origin/master
HEAD is now at 2ecc215 use ShellExecuteW rather than cmd for edit function on Windows  (#20571)
git reset --hard origin/master
HEAD is now at 2ecc215 use ShellExecuteW rather than cmd for edit function on Windows  (#20571)
git clone . /private/tmp/julia-20170214-43782-1flk1fk
Cloning into '/private/tmp/julia-20170214-43782-1flk1fk'...
done.
==> Downloading https://gist.githubusercontent.com/timxzl/c6f474fa387382267723/raw/2ecb0270d83f0a167358ff2a396cd6004e1b02a0/Makefile.diff
/usr/bin/curl --remote-time --location --user-agent Homebrew/1.1.9-165-ge116ba1 (Macintosh; Intel macOS 10.12.3) curl/7.51.0 --fail https://gist.githubusercontent.com/timxzl/c6f474fa387382267723/raw/2ecb0270d83f0a167358ff2a396cd6004e1b02a0/Makefile.diff -C 0 -o /Users/ben/Library/Caches/Homebrew/julia--patch-https%3A%2F%2Fgist.githubusercontent.com%2Ftimxzl%2Fc6f474fa387382267723%2Fraw%2F2ecb0270d83f0a167358ff2a396cd6004e1b02a0%2FMakefile.diff.diff.incomplete
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   587  100   587    0     0    625      0 --:--:-- --:--:-- --:--:--   625
==> Downloading https://gist.githubusercontent.com/staticfloat/cfad1fe4f69e88ec5731e5f3fd91b946/raw/22a164a7cf7c7cf2a64a089d5bfa47e25292deb2/suitesparse.mk.diff
/usr/bin/curl --remote-time --location --user-agent Homebrew/1.1.9-165-ge116ba1 (Macintosh; Intel macOS 10.12.3) curl/7.51.0 --fail https://gist.githubusercontent.com/staticfloat/cfad1fe4f69e88ec5731e5f3fd91b946/raw/22a164a7cf7c7cf2a64a089d5bfa47e25292deb2/suitesparse.mk.diff -C 0 -o /Users/ben/Library/Caches/Homebrew/julia--patch-https%3A%2F%2Fgist.githubusercontent.com%2Fstaticfloat%2Fcfad1fe4f69e88ec5731e5f3fd91b946%2Fraw%2F22a164a7cf7c7cf2a64a089d5bfa47e25292deb2%2Fsuitesparse.mk.diff.diff.incomplete
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   669  100   669    0     0    616      0  0:00:01  0:00:01 --:--:--   617
==> Patching
==> Applying Makefile.diff
/usr/bin/patch -g 0 -f -p1 -i /private/tmp/julia--patch-20170214-43782-9iwia8/Makefile.diff
patching file Makefile
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 286 with fuzz 1 (offset 14 lines).
==> Applying suitesparse.mk.diff
/usr/bin/patch -g 0 -f -p1 -i /private/tmp/julia--patch-20170214-43782-kcwnnm/suitesparse.mk.diff
patching file deps/suitesparse.mk
Hunk #1 FAILED at 91.
1 out of 1 hunk FAILED -- saving rejects to file deps/suitesparse.mk.rej
Error: Failure while executing: /usr/bin/patch -g 0 -f -p1 -i /private/tmp/julia--patch-20170214-43782-kcwnnm/suitesparse.mk.diff

Thanks

Ben

staticfloat commented 7 years ago

Thanks for reporting this, please brew update and try again.