Skip to content

Failure to Compile on Julia 1.1.1 #35

@SBuercklin

Description

@SBuercklin

Autoreload does not appear to be compatible with Julia 1.1.1. I attempted to Pkg.add("Autoreload") and the following error was thrown

 Autoreload [e43a630a] log:
 ├─possible versions are: [0.0.1, 0.1.0, 0.2.0] or uninstalled
 ├─restricted to versions * by an explicit requirement, leaving only versions [0.0.1, 0.1.0, 0.2.0]
 └─restricted by julia compatibility requirements to versions: uninstalled — no versions left

So I tried to install Autoreload via Pkg.clone("Autoreload") and got the following error

┌ Warning: Pkg.clone is only kept for legacy CI script reasons, please use `add`
└ @ Pkg.API /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:391
   Cloning git-repo `https://github.com/malmaud/Autoreload.jl.git`
  Updating git-repo `https://github.com/malmaud/Autoreload.jl.git`
 Resolving package versions...
 Installed Lazy ─ v0.13.2
  Updating `~/.julia/environments/v1.1/Project.toml`
  [e43a630a] + Autoreload v0.2.0+ [`~/.julia/dev/Autoreload`]
  Updating `~/.julia/environments/v1.1/Manifest.toml`
  [e43a630a] + Autoreload v0.2.0+ [`~/.julia/dev/Autoreload`]
  [50d2b5c4] + Lazy v0.13.2

julia> using Autoreload
[ Info: Precompiling Autoreload [e43a630a-7162-55cd-ab32-8b2d01917861]
ERROR: LoadError: LoadError: syntax: extra token "AFile" after end of expression
Stacktrace:
 [1] include at ./boot.jl:326 [inlined]
 [2] include_relative(::Module, ::String) at ./loading.jl:1038
 [3] include at ./sysimg.jl:29 [inlined]
 [4] include(::String) at /home/path/.julia/dev/Autoreload/src/Autoreload.jl:1
 [5] top-level scope at none:0
 [6] include at ./boot.jl:326 [inlined]
 [7] include_relative(::Module, ::String) at ./loading.jl:1038
 [8] include(::Module, ::String) at ./sysimg.jl:29
 [9] top-level scope at none:2
 [10] eval at ./boot.jl:328 [inlined]
 [11] eval(::Expr) at ./client.jl:404
 [12] top-level scope at ./none:3
in expression starting at /home/path/.julia/dev/Autoreload/src/constants.jl:1
in expression starting at /home/path/.julia/dev/Autoreload/src/Autoreload.jl:8
ERROR: Failed to precompile Autoreload [e43a630a-7162-55cd-ab32-8b2d01917861] to /home/path/.julia/compiled/v1.1/Autoreload/Hlcqk.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1197
 [3] _require(::Base.PkgId) at ./loading.jl:960
 [4] require(::Base.PkgId) at ./loading.jl:858
 [5] require(::Module, ::Symbol) at ./loading.jl:853

I am unsure how to resolve this issue, but would appreciate any insight as to what may be the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions