BinDeps.jl
BinDeps.jl copied to clipboard
Problem with CustomPathBinaries
Haven't tracked down exactly what's going on, but see https://github.com/JuliaWeb/MbedTLS.jl/pull/66 where this error was encountered on Travis:
LoadError: MethodError: no method matching generate_steps(::BinDeps.LibraryDependency, ::BinDeps.CustomPathBinaries, ::Dict{Symbol,Any})
Closest candidates are:
generate_steps(::BinDeps.LibraryDependency, !Matched::BinDeps.AptGet, ::Any) at /Users/travis/.julia/v0.6/BinDeps/src/dependencies.jl:320
generate_steps(::BinDeps.LibraryDependency, !Matched::BinDeps.Yum, ::Any) at /Users/travis/.julia/v0.6/BinDeps/src/dependencies.jl:331
generate_steps(::BinDeps.LibraryDependency, !Matched::BinDeps.Pacman, ::Any) at /Users/travis/.julia/v0.6/BinDeps/src/dependencies.jl:343
...
while loading /Users/travis/.julia/v0.6/MbedTLS/deps/build.jl, in expression starting on line 83
Try adding
function generate_steps(dep::LibraryDependency,h::CustomPathBinaries,opts)
steps = @build_steps begin
ChecksumValidator(get(opts,:SHA,get(opts,:sha,"")),h.path)
end
end
and see if that helps
Also seeing this here https://github.com/JuliaIO/ImageMagick.jl/issues/68 I tried tkelman's patch to no avail:
ERROR: LoadError: Provider BinDeps.Binaries failed to satisfy dependency libwand
Stacktrace:
[1] satisfy!(::BinDeps.LibraryDependency, ::Array{DataType,1}) at C:\Users\Mus\.julia\v0.6\BinDeps\src\dependencies.jl:809
[2] satisfy!(::BinDeps.LibraryDependency) at C:\Users\Mus\.julia\v0.6\BinDeps\src\dependencies.jl:786
[3] macro expansion at C:\Users\Mus\.julia\v0.6\BinDeps\src\dependencies.jl:841 [inlined]
[4] anonymous at .\<missing>:?
[5] include_from_node1(::String) at .\loading.jl:539
[6] include(::String) at .\sysimg.jl:14
while loading C:\Users\Mus\.julia\v0.6\ImageMagick\deps\build.jl, in expression starting on line 105
This occurs when MAGICK_HOME is an env variable that is a string pointing to a location on the system.