JuliaLang / MbedTLS.jl

Wrapper around mbedtls
Other
41 stars 50 forks source link

No sphinx-doc.rb file while building. #68

Closed floringogianu closed 8 years ago

floringogianu commented 8 years ago

On julia 0.4.6, OSX ElCapitan I get this error while trying to build MbedTLS.

julia> Pkg.build("MbedTLS")
INFO: Building Homebrew
Already up-to-date.
INFO: Building MbedTLS

====[ ERROR: MbedTLS]====

LoadError: SystemError: opening file /Users/florin/.julia/v0.4/Homebrew/deps/usr/Library/Formula/sphinx-doc.rb: No such file or directory
while loading /Users/florin/.julia/v0.4/MbedTLS/deps/build.jl, in expression starting on line 74

====[ BUILD ERRORS ]====

WARNING: MbedTLS had build errors.

 - packages with build errors remain installed in /Users/florin/.julia/v0.4
 - build the package(s) and all dependencies with `Pkg.build("MbedTLS")`
 - build a single package by running its `deps/build.jl` script
daturkel commented 8 years ago

I am having the same issue. OS X El Capitan, deleted .julia, fresh install of 0.4.6, same exact error message.

The error also occurs on 0.5rc2.

malmaud commented 8 years ago

Looks like a recent update to Homebrew might be responsible. Pinging @staticfloat

daturkel commented 8 years ago

I'm guessing you're right, @malmaud. The error references /Users/XXXXX/.julia/v0.4/Homebrew/deps/usr/Library/Formula/sphinx-doc.rb but /Users/XXXXX/.julia/v0.4/Homebrew/deps/usr/Library doesn't even contain a folder called Formula. So I'm guessing something about the Homebrew structure was changed. I can't even find a file called sphinx-doc.rb anywhere, however.

staticfloat commented 8 years ago

We've released a new version of Homebrew that has adapted to the changed file layout, please try again.

daturkel commented 8 years ago

Can confirm that with new homebrew, the issue is fixed for me. I ran:

Pkg.rm("Homebrew")
Pkg.checkout("Homebrew")
Pkg.build("Homebrew")
Pkg.build("MbedTLS")

and everything worked as it should. thanks @staticfloat !

floringogianu commented 8 years ago

Thanks @staticfloat, everything is fine now.