PackageCompiler dependency issues (1.1; failing with dependency errors)

  1. Yes, same dependencies errors using Julia v1.1.1 (julialang.org official binaries) on Linux. Also tried pkg> instantiate, but it didn’t find any missing dependencies.

  2. Also, if somebody is using Julia binaries installed from Linux distribution’s repositories (in this case Arch Linux), there is error building Arpack while doing compile_incremental(:Plots, force=false), also when tried to build manually, but still:

(v1.1) pkg> build Arpack
  Building Arpack → `~/.julia/packages/Arpack/cu5By/deps/build.log`
┌ Error: Error building `Arpack`: 
│ ERROR: LoadError: LibraryProduct(nothing, ["libarpack"], :libarpack, "Prefix(/home/kest/.julia/packages/Arpack/cu5By/deps/usr)") is not satisfied, cannot generate deps.jl!
│ Stacktrace:
│  [1] #write_deps_file#152(::Bool, ::Function, ::String, ::Array{LibraryProduct,1}) at /home/kest/.julia/packages/BinaryProvider/TcAwt/src/Products.jl:414
│  [2] (::getfield(BinaryProvider, Symbol("#kw##write_deps_file")))(::NamedTuple{(:verbose,),Tuple{Bool}}, ::typeof(write_deps_file), ::String, ::Array{LibraryProduct,1}) at ./none:0
│  [3] top-level scope at none:0
│  [4] include(::String) at ./client.jl:403
│  [5] top-level scope at none:0
│ in expression starting at /home/kest/.julia/packages/Arpack/cu5By/deps/build.jl:74
└ @ Pkg.Operations /build/julia/src/julia-1.1.1/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1075

But error is not occurring using official Julia binaries from julialang.org! Maybe different GCC versions used to compile Julia caused that (could be related: Installation error when Julia is built from source · Issue #5 · JuliaLinearAlgebra/Arpack.jl · GitHub).

  1. Answering:

@pfitzseb, I am using add PackageCompiler@master and no serialization errors, maybe this could be the cause:
“The package dev command works similar to add but instead of locking the package to the state it was when you added it, the environment using the package will continuously use the latests changes to the package.” My New Workflow with Julia 1.0. A practical guide to how you can work… | by Erik Engheim | Medium