Open AshtonSBradley opened 6 years ago
I don't know if it's related, but it might be. For me, tapping homebrew/science in general doesn't work, and hence anything from there does not install; in my case it's nlopt. Here is what happens:
julia> VERSION
v"0.6.0"
julia> Homebrew.brew(`tap homebrew/science`)
==> Tapping homebrew/science
Cloning into '/Users/---/.julia/v0.6/Homebrew/deps/usr/Library/Taps/homebrew/homebrew-science'...
remote: Counting objects: 644, done.
remote: Compressing objects: 100% (639/639), done.
remote: Total 644 (delta 0), reused 52 (delta 0), pack-reused 0
Receiving objects: 100% (644/644), 570.60 KiB | 640.00 KiB/s, done.
Error: Invalid formula: /Users/---/.julia/v0.6/Homebrew/deps/usr/Library/Taps/homebrew/homebrew-science/acado.rb
invalid attribute for formula 'homebrew/science/acado': version (nil)
Error: Invalid formula: /Users/---/.julia/v0.6/Homebrew/deps/usr/Library/Taps/homebrew/homebrew-science/nextflow.rb
invalid attribute for formula 'homebrew/science/nextflow': version (nil)
Error: Cannot tap homebrew/science: invalid syntax in tap!
ERROR: failed process: Process(`/Users/---/.julia/v0.6/Homebrew/deps/usr/bin/brew tap homebrew/science`, ProcessExited(1)) [1]
Stacktrace:
[1] pipeline_error(::Base.Process) at ./process.jl:682
[2] run(::Cmd) at ./process.jl:651
[3] #brew#4(::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Function, ::Cmd) at /Users/---/.julia/v0.6/Homebrew/src/API.jl:19
[4] brew(::Cmd) at /Users/---/.julia/v0.6/Homebrew/src/API.jl:11
Note that this only happens with Julia v0.6; v0.5 works OK:
julia> VERSION
v"0.5.2"
julia> Homebrew.brew(`tap homebrew/science`)
julia>
EDIT: Apparently it only worked for v0.5 because I had already tapped homebrew/science before when it was still functional. With a fresh ~/.julia/v0.5 directory, I get the same as for v0.6:
julia> VERSION
v"0.5.2"
julia> Homebrew.brew(`tap homebrew/science`)
==> Tapping homebrew/science
Cloning into '/Users/---/.julia/v0.5/Homebrew/deps/usr/Library/Taps/homebrew/homebrew-science'...
remote: Counting objects: 644, done.
remote: Compressing objects: 100% (639/639), done.
remote: Total 644 (delta 0), reused 52 (delta 0), pack-reused 0
Receiving objects: 100% (644/644), 570.60 KiB | 0 bytes/s, done.
Error: Invalid formula: /Users/---/.julia/v0.5/Homebrew/deps/usr/Library/Taps/homebrew/homebrew-science/acado.rb
invalid attribute for formula 'homebrew/science/acado': version (nil)
Error: Invalid formula: /Users/---/.julia/v0.5/Homebrew/deps/usr/Library/Taps/homebrew/homebrew-science/nextflow.rb
invalid attribute for formula 'homebrew/science/nextflow': version (nil)
Error: Cannot tap homebrew/science: invalid syntax in tap!
ERROR: failed process: Process(`/Users/---/.julia/v0.5/Homebrew/deps/usr/bin/brew tap homebrew/science`, ProcessExited(1)) [1]
in pipeline_error(::Base.Process) at ./process.jl:616
in run(::Cmd) at ./process.jl:592
in #brew#4(::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Function, ::Cmd) at /Users/---/.julia/v0.5/Homebrew/src/API.jl:19
in brew(::Cmd) at /Users/---/.julia/v0.5/Homebrew/src/API.jl:11
We're updating the version of Homebrew.jl in #197, that may help with this.
Hi @staticfloat just reporting this build error: