Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

platform_key deprecated, build fails, error message refers to CodecZlib #11

Closed
tpapp opened this issue Apr 10, 2019 · 3 comments
Closed

Comments

@tpapp
Copy link

tpapp commented Apr 10, 2019

I got the error message with TableReader

julia> using TableReader
[ Info: Precompiling TableReader [70df011a-6618-58d7-8e16-3cf9e384cb47]
ERROR: Error while loading expression starting at /home/tamas/.julia/packages/CodecZstd/Mf03f/src/CodecZstd.jl:20
caused by [exception 1]
CodecZlib.jl is not installed properly, run Pkg.build("CodecZlib") and restart Julia.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] top-level scope at /home/tamas/.julia/packages/CodecZstd/Mf03f/src/CodecZstd.jl:21

which, I think refers to the wrong package? Also, when I try to build (I have errors enabled for depwarns)

(v1) pkg> build CodecZstd
  Building CodecZstd  `~/.julia/packages/CodecZstd/Mf03f/deps/build.log`
┌ Error: Error building `CodecZstd`: 
│ ERROR: Error while loading expression starting at /home/tamas/.julia/packages/CodecZstd/Mf03f/deps/build.jl:31
│ caused by [exception 1]
│ platform_key() is deprecated, use platform_key_abi() from now on
│ Stacktrace:
│  [1] depwarn(::String, ::Symbol) at ./deprecated.jl:77
│  [2] platform_key(::String) at /home/tamas/.julia/packages/BinaryProvider/4F5Hq/src/CompatShims.jl:10 (repeats 2 times)
│  [3] top-level scope at /home/tamas/.julia/packages/CodecZstd/Mf03f/deps/build.jl:31
│  [4] include at ./boot.jl:328 [inlined]
│  [5] include_relative(::Module, ::String) at ./loading.jl:1094
│  [6] include(::Module, ::String) at ./Base.jl:31
│  [7] include(::String) at ./client.jl:431
│  [8] top-level scope at none:5
└ @ Pkg.Operations ~/src/julia-git/usr/share/julia/stdlib/v1.2/Pkg/src/backwards_compatible_isolation.jl:626

(v1) pkg> st --manifest TableReader
    Status `~/.julia/environments/v1/Manifest.toml`
  [ba30903b] CodecXz v0.5.0
  [944b1d66] CodecZlib v0.5.2
  [6b39b394] CodecZstd v0.5.0
  [a93c6f00] DataFrames v0.17.1
  [70df011a] TableReader v0.3.0
  [3bb67fe8] TranscodingStreams v0.9.3
  [ade2ca70] Dates 
  [de0858da] Printf 
  [9abbd945] Profile 
  [8dfed614] Test 
  [4ec0a83e] Unicode 
@tpapp
Copy link
Author

tpapp commented Apr 10, 2019

julia> versioninfo()
Julia Version 1.2.0-DEV.669
Commit 4671132ee1 (2019-04-09 19:17 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: Intel(R) Core(TM) i7-6560U CPU @ 2.20GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
Environment:
  JULIA_CMDSTAN_HOME = /home/tamas/src/cmdstan-2.18.1/

@bicycle1885
Copy link
Member

Thank you. I'll take a look tomorrow.

@bicycle1885
Copy link
Member

I think this is already fixed (cf. 17fe40c).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants