Skip to content

Error precompiling the package #9

@Marco-Congedo

Description

@Marco-Congedo

Hello,
I've got the following error while precompiling the package.
I am running julia v1.6.2

ERROR: The following 2 direct dependencies failed to precompile:

AbstractSDRs [0bdde9fc-719a-4dc7-8589-49ca6634fa6b]

Failed to precompile AbstractSDRs [0bdde9fc-719a-4dc7-8589-49ca6634fa6b] to C:\Users\congedom\.julia\compiled\v1.6\AbstractSDRs\jl_D1DE.tmp.  
ERROR: LoadError: LoadError: Cannot locate artifact 'libUHD' for x86_64-w64-mingw32-libgfortran5-cxx11-julia_version+1.6.2 in 'C:\Users\congedom\.julia\packages\UHDBindings\LR30l\Artifacts.toml'
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] artifact_slash_lookup(name::String, artifact_dict::Dict{String, Any}, artifacts_toml::String, platform::Base.BinaryPlatforms.Platform)  
    @ Artifacts C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Artifacts\src\Artifacts.jl:608
  [3] var"@artifact_str"(__source__::LineNumberNode, __module__::Module, name::Any, platform::Nothing)
    @ Artifacts C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Artifacts\src\Artifacts.jl:678
  [4] var"@artifact_str"(__source__::LineNumberNode, __module__::Module, name::Any)
    @ Artifacts C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Artifacts\src\Artifacts.jl:641
  [5] include
    @ .\Base.jl:386 [inlined]
  [6] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)
    @ Base .\loading.jl:1235
  [7] top-level scope
    @ none:1
  [8] eval
    @ .\boot.jl:360 [inlined]
  [9] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [10] top-level scope
    @ none:1
in expression starting at C:\Users\congedom\.julia\packages\UHDBindings\LR30l\src\UHDBindings.jl:28
in expression starting at C:\Users\congedom\.julia\packages\UHDBindings\LR30l\src\UHDBindings.jl:1
ERROR: LoadError: LoadError: Failed to precompile UHDBindings [4d90b16f-829e-4b78-80d9-fb9bcf8c06e0] to C:\Users\congedom\.julia\compiled\v1.6\UHDBindings\jl_D46C.tmp.
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IOContext{Base.PipeEndpoint}, internal_stdout::IOContext{IOStream}, ignore_loaded_modules::Bool)
    @ Base .\loading.jl:1385
  [3] compilecache(pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1329
  [4] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1043
  [5] require(uuidkey::Base.PkgId)
    @ Base .\loading.jl:936
  [6] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:923
  [7] include(mod::Module, _path::String)
    @ Base .\Base.jl:386
  [8] include(x::String)
    @ AbstractSDRs C:\Users\congedom\.julia\packages\AbstractSDRs\qjWcR\src\AbstractSDRs.jl:1
  [9] top-level scope
    @ C:\Users\congedom\.julia\packages\AbstractSDRs\qjWcR\src\AbstractSDRs.jl:42
 [10] include
    @ .\Base.jl:386 [inlined]
 [11] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
    @ Base .\loading.jl:1235
 [12] top-level scope
    @ none:1
 [13] eval
    @ .\boot.jl:360 [inlined]
 [14] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [15] top-level scope
    @ none:1
in expression starting at C:\Users\congedom\.julia\packages\AbstractSDRs\qjWcR\src\Backends.jl:5
in expression starting at C:\Users\congedom\.julia\packages\AbstractSDRs\qjWcR\src\AbstractSDRs.jl:1

AbstractSDRsSpectrum [406797a2-898e-4540-8414-5f5013fe88ef]

Failed to precompile AbstractSDRsSpectrum [406797a2-898e-4540-8414-5f5013fe88ef] to C:\Users\congedom\.julia\compiled\v1.6\AbstractSDRsSpectrum\jl_B0DE.tmp.
ERROR: LoadError: LoadError: Cannot locate artifact 'libUHD' for x86_64-w64-mingw32-libgfortran5-cxx11-julia_version+1.6.2 in 'C:\Users\congedom\.julia\packages\UHDBindings\LR30l\Artifacts.toml'
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] artifact_slash_lookup(name::String, artifact_dict::Dict{String, Any}, artifacts_toml::String, platform::Base.BinaryPlatforms.Platform)  
    @ Artifacts C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Artifacts\src\Artifacts.jl:608
  [3] var"@artifact_str"(__source__::LineNumberNode, __module__::Module, name::Any, platform::Nothing)
    @ Artifacts C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Artifacts\src\Artifacts.jl:678
  [4] var"@artifact_str"(__source__::LineNumberNode, __module__::Module, name::Any)
    @ Artifacts C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Artifacts\src\Artifacts.jl:641
  [5] include
    @ .\Base.jl:386 [inlined]
  [6] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)
    @ Base .\loading.jl:1235
  [7] top-level scope
    @ none:1
  [8] eval
    @ .\boot.jl:360 [inlined]
  [9] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [10] top-level scope
    @ none:1
in expression starting at C:\Users\congedom\.julia\packages\UHDBindings\LR30l\src\UHDBindings.jl:28
in expression starting at C:\Users\congedom\.julia\packages\UHDBindings\LR30l\src\UHDBindings.jl:1
ERROR: LoadError: LoadError: Failed to precompile UHDBindings [4d90b16f-829e-4b78-80d9-fb9bcf8c06e0] to C:\Users\congedom\.julia\compiled\v1.6\UHDBindings\jl_C7A6.tmp.
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IOContext{Base.PipeEndpoint}, internal_stdout::IOContext{IOStream}, ignore_loaded_modules::Bool)
    @ Base .\loading.jl:1385
  [3] compilecache(pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1329
  [4] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1043
  [5] require(uuidkey::Base.PkgId)
    @ Base .\loading.jl:936
  [6] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:923
  [7] include(mod::Module, _path::String)
    @ Base .\Base.jl:386
  [8] include(x::String)
    @ AbstractSDRs C:\Users\congedom\.julia\packages\AbstractSDRs\qjWcR\src\AbstractSDRs.jl:1
  [9] top-level scope
    @ C:\Users\congedom\.julia\packages\AbstractSDRs\qjWcR\src\AbstractSDRs.jl:42
 [10] include
    @ .\Base.jl:386 [inlined]
 [11] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)
    @ Base .\loading.jl:1235
 [12] top-level scope
    @ none:1
 [13] eval
    @ .\boot.jl:360 [inlined]
 [14] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [15] top-level scope
    @ none:1
in expression starting at C:\Users\congedom\.julia\packages\AbstractSDRs\qjWcR\src\Backends.jl:5
in expression starting at C:\Users\congedom\.julia\packages\AbstractSDRs\qjWcR\src\AbstractSDRs.jl:1
ERROR: LoadError: Failed to precompile AbstractSDRs [0bdde9fc-719a-4dc7-8589-49ca6634fa6b] to C:\Users\congedom\.julia\compiled\v1.6\AbstractSDRs\jl_C515.tmp.
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IOContext{Base.PipeEndpoint}, internal_stdout::IOContext{IOStream}, ignore_loaded_modules::Bool)
    @ Base .\loading.jl:1385
  [3] compilecache(pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1329
  [4] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1043
  [5] require(uuidkey::Base.PkgId)
    @ Base .\loading.jl:936
  [6] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:923
  [7] include
    @ .\Base.jl:386 [inlined]
  [8] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
    @ Base .\loading.jl:1235
  [9] top-level scope
    @ none:1
 [10] eval
    @ .\boot.jl:360 [inlined]
 [11] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [12] top-level scope
    @ none:1
in expression starting at C:\Users\congedom\.julia\packages\AbstractSDRsSpectrum\D6MvY\src\AbstractSDRsSpectrum.jl:1

Stacktrace:
 [1] pkgerror(msg::String)
   @ Pkg.Types C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Types.jl:55
 [2] precompile(ctx::Pkg.Types.Context; internal_call::Bool, strict::Bool, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
   @ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:1265
 [3] precompile
   @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:921 [inlined]
 [4] #precompile#196
   @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:919 [inlined]
 [5] precompile()
   @ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:919
 [6] top-level scope
   @ none:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions