JuliaLang / MbedTLS.jl

Wrapper around mbedtls
Other
41 stars 50 forks source link

Build issue on macos Mojave #199

Open asavasci opened 5 years ago

asavasci commented 5 years ago

I am getting following build error couldn't fix it

Pkg.build("IJulia") Building Conda ──→ ~/.julia/packages/Conda/CpuvI/deps/build.log Building ZMQ ────→ ~/.julia/packages/ZMQ/ABGOx/deps/build.log Building MbedTLS → ~/.julia/packages/MbedTLS/X4xar/deps/build.log ┌ Error: Error building MbedTLS: │ ┌ Warning: platform_key() is deprecated, use platform_key_abi() from now on │ │ caller = ip:0x0 │ └ @ Core :-1 │ [ Info: Downloading https://github.com/JuliaWeb/MbedTLSBuilder/releases/download/v0.16.0/MbedTLS.v2.13.1.x86_64-apple-darwin14.tar.gz to /Users/alpersavasci/.julia/packages/MbedTLS/X4xar/deps/usr/downloads/MbedTLS.v2.13.1.x86_64-apple-darwin14.tar.gz... │ ERROR: LoadError: Could not download https://github.com/JuliaWeb/MbedTLSBuilder/releases/download/v0.16.0/MbedTLS.v2.13.1.x86_64-apple-darwin14.tar.gz to /Users/alpersavasci/.julia/packages/MbedTLS/X4xar/deps/usr/downloads/MbedTLS.v2.13.1.x86_64-apple-darwin14.tar.gz: │ ErrorException("") │ Stacktrace: │ [1] error(::String) at ./error.jl:33 │ [2] #download#89(::Bool, ::Function, ::String, ::String) at /Users/alpersavasci/.julia/packages/BinaryProvider/4F5Hq/src/PlatformEngines.jl:498 │ [3] #download at ./none:0 [inlined] │ [4] #download_verify#90(::Bool, ::Bool, ::Bool, ::Function, ::String, ::String, ::String) at /Users/alpersavasci/.julia/packages/BinaryProvider/4F5Hq/src/PlatformEngines.jl:567 │ [5] #download_verify at ./none:0 [inlined] │ [6] #install#129(::Prefix, ::String, ::Bool, ::Bool, ::Bool, ::Function, ::String, ::String) at /Users/alpersavasci/.julia/packages/BinaryProvider/4F5Hq/src/Prefix.jl:314 │ [7] (::getfield(BinaryProvider, Symbol("#kw##install")))(::NamedTuple{(:prefix, :force, :verbose),Tuple{Prefix,Bool,Bool}}, ::typeof(install), ::String, ::String) at ./none:0 │ [8] top-level scope at /Users/alpersavasci/.julia/packages/MbedTLS/X4xar/deps/build.jl:48 │ [9] include at ./boot.jl:326 [inlined] │ [10] include_relative(::Module, ::String) at ./loading.jl:1038 │ [11] include(::Module, ::String) at ./sysimg.jl:29 │ [12] include(::String) at ./client.jl:403 │ [13] top-level scope at none:0 │ in expression starting at /Users/alpersavasci/.julia/packages/MbedTLS/X4xar/deps/build.jl:44 │ [21:55:37] dyld: Library not loaded: @rpath/libssl.1.0.0.dylib │ [21:55:37] Referenced from: /anaconda3/lib/libssh2.1.dylib │ [21:55:37] Reason: image not found └ @ Pkg.Operations /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1075 Building IJulia ─→ ~/.julia/packages/IJulia/9ajf8/deps/build.log

asavasci commented 5 years ago

Couldn't resolve the issue

(v1.0) pkg> build MbedTLS Building MbedTLS → ~/.julia/packages/MbedTLS/X4xar/deps/build.log ┌ Error: Error building MbedTLS: │ ┌ Warning: platform_key() is deprecated, use platform_key_abi() from now on │ │ caller = ip:0x0 │ └ @ Core :-1 │ [ Info: Downloading https://github.com/JuliaWeb/MbedTLSBuilder/releases/download/v0.16.0/MbedTLS.v2.13.1.x86_64-apple-darwin14.tar.gz to /Users/alpersavasci/.julia/packages/MbedTLS/X4xar/deps/usr/downloads/MbedTLS.v2.13.1.x86_64-apple-darwin14.tar.gz... │ ERROR: LoadError: Could not download https://github.com/JuliaWeb/MbedTLSBuilder/releases/download/v0.16.0/MbedTLS.v2.13.1.x86_64-apple-darwin14.tar.gz to /Users/alpersavasci/.julia/packages/MbedTLS/X4xar/deps/usr/downloads/MbedTLS.v2.13.1.x86_64-apple-darwin14.tar.gz: │ ErrorException("") │ Stacktrace: │ [1] error(::String) at ./error.jl:33 │ [2] #download#89(::Bool, ::Function, ::String, ::String) at /Users/alpersavasci/.julia/packages/BinaryProvider/4F5Hq/src/PlatformEngines.jl:498 │ [3] #download at ./none:0 [inlined] │ [4] #download_verify#90(::Bool, ::Bool, ::Bool, ::Function, ::String, ::String, ::String) at /Users/alpersavasci/.julia/packages/BinaryProvider/4F5Hq/src/PlatformEngines.jl:567 │ [5] #download_verify at ./none:0 [inlined] │ [6] #install#129(::Prefix, ::String, ::Bool, ::Bool, ::Bool, ::Function, ::String, ::String) at /Users/alpersavasci/.julia/packages/BinaryProvider/4F5Hq/src/Prefix.jl:314 │ [7] (::getfield(BinaryProvider, Symbol("#kw##install")))(::NamedTuple{(:prefix, :force, :verbose),Tuple{Prefix,Bool,Bool}}, ::typeof(install), ::String, ::String) at ./none:0 │ [8] top-level scope at /Users/alpersavasci/.julia/packages/MbedTLS/X4xar/deps/build.jl:48 │ [9] include at ./boot.jl:317 [inlined] │ [10] include_relative(::Module, ::String) at ./loading.jl:1044 │ [11] include(::Module, ::String) at ./sysimg.jl:29 │ [12] include(::String) at ./client.jl:392 │ [13] top-level scope at none:0 │ in expression starting at /Users/alpersavasci/.julia/packages/MbedTLS/X4xar/deps/build.jl:44 │ [22:36:08] dyld: Library not loaded: @rpath/libssl.1.0.0.dylib │ [22:36:08] Referenced from: /anaconda3/lib/libssh2.1.dylib │ [22:36:08] Reason: image not found └ @ Pkg.Operations /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1097