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

CCBlade failing to install on fresh Julia 1.6 #27

Closed
willjrh opened this issue Aug 7, 2023 · 2 comments
Closed

CCBlade failing to install on fresh Julia 1.6 #27

willjrh opened this issue Aug 7, 2023 · 2 comments

Comments

@willjrh
Copy link

willjrh commented Aug 7, 2023

I tried installing CCBlade on fresh Julia 1.6 installations on both Windows and Linux, however running add CCBlade fails to successfully install.

julia> import Pkg; Pkg.precompile()
Precompiling project...
✗ ImplicitAD
✗ CCBlade
0 dependencies successfully precompiled in 19 seconds (30 already precompiled)

ERROR: The following 1 direct dependency failed to precompile:

CCBlade [e1828068-15df-11e9-03e4-ef195ea46fa4]

Failed to precompile CCBlade [e1828068-15df-11e9-03e4-ef195ea46fa4] to C:\Users\WillHewson.julia\compiled\v1.6\CCBlade\jl_FF55.tmp.
ERROR: LoadError: UndefVarError: TrackedArray not defined
Stacktrace:
[1] top-level scope
@ C:\Users\WillHewson.julia\packages\ReverseDiff\7pHoq\src\macros.jl:334
[2] include
@ .\Base.jl:384 [inlined]
[3] 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
[4] top-level scope
@ none:1
[5] eval
@ .\boot.jl:360 [inlined]
[6] eval(x::Expr)
@ Base.MainInclude .\client.jl:446
[7] top-level scope
@ none:1
in expression starting at C:\Users\WillHewson.julia\packages\ImplicitAD\0cPWZ\src\ImplicitAD.jl:1
ERROR: LoadError: Failed to precompile ImplicitAD [e7cbb90b-9b31-4eb2-a8c8-45099c074ee1] to C:\Users\WillHewson.julia\compiled\v1.6\ImplicitAD\jl_8B.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:384 [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\WillHewson.julia\packages\CCBlade\sFMxf\src\CCBlade.jl:14
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, warn_loaded::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
@ REPL[3]:1

@andrewning
Copy link
Member

Pretty sure this is because you need the latest version of ImplicitAD and CCBlade's Project.toml doesn't specify that version. I just updated the Project.toml on CCBlade but it will take a little bit to tag a new version. But you can just pull from github now.

@willjrh
Copy link
Author

willjrh commented Aug 7, 2023

Thank you, this worked.

@willjrh willjrh closed this as completed Aug 7, 2023
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