JuliaLang / MbedTLS.jl

Wrapper around mbedtls
Other
41 stars 50 forks source link

Error building MbedTLS.jl on windows - Julia v1.4 #220

Closed felipenoris closed 4 years ago

felipenoris commented 4 years ago
(@v1.4) pkg> build MbedTLS
   Building MbedTLS → `D:\Users\FNORO\.julia\packages\MbedTLS\a1JFn\deps\build.log`
┌ Error: Error building `MbedTLS`:
│ ┌ Warning: On Windows, creating file symlinks requires Administrator privileges
│ └ @ Base.Filesystem file.jl:952
│ ┌ 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.17.0/MbedTLS.v2.16.0.x86_64-w64-mingw32.tar.gz to D:\Users\FNORO\.julia\packages\MbedTLS\a1JFn\deps\usr\downloads\MbedTLS.v2.16.0.x86_64-w64-mingw32.tar.gz...
│ ERROR: LoadError: Could not download https://github.com/JuliaWeb/MbedTLSBuilder/releases/download/v0.17.0/MbedTLS.v2.16.0.x86_64-w64-mingw32.tar.gz to D:\Users\FNORO\.julia\packages\MbedTLS\a1JFn\deps\usr\downloads\MbedTLS.v2.16.0.x86_64-w64-mingw32.tar.gz:
│ ErrorException("")
│ Stacktrace:
│  [1] error(::String) at .\error.jl:33
│  [2] download(::String, ::String; verbose::Bool) at D:\Users\FNORO\.julia\packages\BinaryProvider\kcGxO\src\PlatformEngines.jl:502
│  [3] download_verify(::String, ::String, ::String; verbose::Bool, force::Bool, quiet_download::Bool) at D:\Users\FNORO\.julia\packages\BinaryProvider\kcGxO\src\PlatformEngines.jl:571
│  [4] install(::String, ::String; prefix::Prefix, tarball_path::String, force::Bool, ignore_platform::Bool, verbose::Bool) at D:\Users\FNORO\.julia\packages\BinaryProvider\kcGxO\src\Prefix.jl:314
│  [5] top-level scope at D:\Users\FNORO\.julia\packages\MbedTLS\a1JFn\deps\build.jl:48
│  [6] include(::String) at .\client.jl:439
│  [7] top-level scope at none:5
│ in expression starting at D:\Users\FNORO\.julia\packages\MbedTLS\a1JFn\deps\build.jl:44
│ caused by [exception 2]
│
│ Stacktrace:
│  [1] error() at .\error.jl:42
│  [2] download(::String, ::String; verbose::Bool) at D:\Users\FNORO\.julia\packages\BinaryProvider\kcGxO\src\PlatformEngines.jl:496
│  [3] download_verify(::String, ::String, ::String; verbose::Bool, force::Bool, quiet_download::Bool) at D:\Users\FNORO\.julia\packages\BinaryProvider\kcGxO\src\PlatformEngines.jl:571
│  [4] install(::String, ::String; prefix::Prefix, tarball_path::String, force::Bool, ignore_platform::Bool, verbose::Bool) at D:\Users\FNORO\.julia\packages\BinaryProvider\kcGxO\src\Prefix.jl:314
│  [5] top-level scope at D:\Users\FNORO\.julia\packages\MbedTLS\a1JFn\deps\build.jl:48
│  [6] include(::String) at .\client.jl:439
│  [7] top-level scope at none:5
│ caused by [exception 1]
│ IOError: symlink: operation not permitted (EPERM)
julia> versioninfo()
Julia Version 1.4.0
Commit b8e9a9ecc6 (2020-03-21 16:36 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-8.0.1 (ORCJIT, skylake)
felipenoris commented 4 years ago

The error is gone on v1.0.1.