JuliaLang / MbedTLS.jl

Wrapper around mbedtls
Other
41 stars 50 forks source link

Cannot generate deps.jl on FreeBSD 11.2 with Julia v1.0.0 #163

Closed CiaranOMara closed 6 years ago

CiaranOMara commented 6 years ago
Last login: Tue Sep 18 03:55:22 2018 from 59.167.200.245
FreeBSD 11.2-RELEASE (GENERIC) #0 r335510: Fri Jun 22 04:32:14 UTC 2018
 4:18AM  up 14:43, 3 users, load averages: 0.00, 0.02, 0.04
 username@hal  /u/h/username  julia                                                                                                                    Tue Sep 18 04:18:14 2018
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.0.0 (2018-08-08)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> versioninfo()
Julia Version 1.0.0
Commit 5d4eaca0c9 (2018-08-08 20:58 UTC)
Platform Info:
  OS: FreeBSD (x86_64-unknown-freebsd11.1)
  CPU: AMD Opteron 63xx class CPU
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.0 (ORCJIT, bdver1)

(v1.0) pkg> st
    Status `~/.julia/environments/v1.0/Project.toml`
  [739be429] MbedTLS v0.6.0+ [`~/.julia/dev/MbedTLS`]

(v1.0) pkg> build MbedTLS
  Building MbedTLS → `~/.julia/dev/MbedTLS/deps/build.log`
 Resolving package versions...
┌ Error: Error building `MbedTLS`: 
│ [ Info: using prebuilt binaries
│ ERROR: LoadError: LibraryProduct(nothing, ["libmbedtls"], :libmbedtls, "Prefix(/home/username/.julia/dev/MbedTLS/deps/usr)") is not satisfied, cannot generate deps.jl!
│ Stacktrace:
│  [1] error(::String) at ./error.jl:33
│  [2] #write_deps_file#134(::Bool, ::Function, ::String, ::Array{LibraryProduct,1}) at /home/username/.julia/packages/BinaryProvider/UTYxu/src/Products.jl:409
│  [3] write_deps_file(::String, ::Array{LibraryProduct,1}) at /home/username/.julia/packages/BinaryProvider/UTYxu/src/Products.jl:396
│  [4] top-level scope at none:0
│  [5] include at ./boot.jl:317 [inlined]
│  [6] include_relative(::Module, ::String) at ./loading.jl:1038
│  [7] include(::Module, ::String) at ./sysimg.jl:29
│  [8] include(::String) at ./client.jl:388
│  [9] top-level scope at none:0
│ in expression starting at /home/username/.julia/dev/MbedTLS/deps/build.jl:67
└ @ Pkg.Operations /home/vagrant/worker/package_freebsd64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1068

(v1.0) pkg> 
CiaranOMara commented 6 years ago

New releases have resolved this.

(v1.0) pkg> st
    Status `~/.julia/environments/v1.0/Project.toml`
  [b99e7846] BinaryProvider v0.5.0
  [34da2185] Compat v1.1.0
  [739be429] MbedTLS v0.6.2

In this case, it was either: