H3.jl icon indicating copy to clipboard operation
H3.jl copied to clipboard

Can't build package (v0.1.2, Julia 1.4.1)

Open evanfields opened this issue 4 years ago • 11 comments

I'm unable to build H3 on Julia 1.4.1 / macOS in a clean environment with nothing else. I didn't see any installation instructions in the readme, so I assume the package manager is the preferred installation method. Build error and versioninfo:

(justh3) pkg> add H3
   Updating registry at `~/.julia/registries/General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Resolving package versions...
   Updating `~/Desktop/justh3/Project.toml`
  [f62fece2] + H3 v0.1.2
   Updating `~/Desktop/justh3/Manifest.toml`
  [b99e7846] + BinaryProvider v0.5.9
  [fa961155] + CEnum v0.2.0
  [f62fece2] + H3 v0.1.2
  [8f399da3] + Libdl
  [56ddb016] + Logging
  [ea8e919c] + SHA

(justh3) pkg> build
   Building H3 → `~/.julia/packages/H3/F4Z32/deps/build.log`
┌ Error: Error building `H3`:
│ ERROR: LoadError: LibraryProduct(nothing, ["libh3"], :libh3, "Prefix(/Users/evan/.julia/packages/H3/F4Z32/deps/usr)") is not satisfied, cannot generate deps.jl!
│ Stacktrace:
│  [1] error(::String) at ./error.jl:33
│  [2] write_deps_file(::String, ::Array{LibraryProduct,1}; verbose::Bool, isolate::Bool) at /Users/evan/.julia/packages/BinaryProvider/GeAtj/src/Products.jl:419
│  [3] top-level scope at /Users/evan/.julia/packages/H3/F4Z32/deps/build.jl:48
│  [4] include(::String) at ./client.jl:439
│  [5] top-level scope at none:5
│ in expression starting at /Users/evan/.julia/packages/H3/F4Z32/deps/build.jl:48
└ @ Pkg.Operations /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:892

julia> versioninfo()
Julia Version 1.4.1
Commit 381693d3df* (2020-04-14 17:20 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin18.7.0)
  CPU: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-8.0.1 (ORCJIT, skylake)

evanfields avatar May 05 '20 13:05 evanfields