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

unable to precompile package on clean install of current v0.5 julia master #31

Closed
cjprybol opened this issue Jul 28, 2016 · 1 comment
Closed

Comments

@cjprybol
Copy link
Contributor

Prior to this I had just reinstalled Julia from source from the master branch and ran the following

Pkg.add("DataFrames")
Pkg.add("CSV")
using DataFrames
using CSV

and this is the truncated output, skipping over the deprecation warnings

while loading /home/cjprybol/.julia/v0.5/Docile/src/Extensions/Extensions.jl, in expression starting on line 16
ERROR: LoadError: `UTF16String` has been moved to the package LegacyStrings.jl:
Run Pkg.add("LegacyStrings") to install LegacyStrings on Julia v0.5-;
Then do `using LegacyStrings` to get `UTF16String`.

 in include_from_node1(::String) at ./loading.jl:426
 in macro expansion; at ./none:2 [inlined]
 in anonymous at ./<missing>:?
 in eval(::Module, ::Any) at ./boot.jl:234
 in process_options(::Base.JLOptions) at ./client.jl:239
 in _start() at ./client.jl:318
while loading /home/cjprybol/.julia/v0.5/WeakRefStrings/src/WeakRefStrings.jl, in expression starting on line 30
ERROR: LoadError: Failed to precompile WeakRefStrings to /home/cjprybol/.julia/lib/v0.5/WeakRefStrings.ji
 in compilecache(::String) at ./loading.jl:505
 in require(::Symbol) at ./loading.jl:337
 in include_from_node1(::String) at ./loading.jl:426
 in macro expansion; at ./none:2 [inlined]
 in anonymous at ./<missing>:?
 in eval(::Module, ::Any) at ./boot.jl:234
 in process_options(::Base.JLOptions) at ./client.jl:239
 in _start() at ./client.jl:318
while loading /home/cjprybol/.julia/v0.5/CSV/src/CSV.jl, in expression starting on line 4
ERROR: Failed to precompile CSV to /home/cjprybol/.julia/lib/v0.5/CSV.ji
 in compilecache(::String) at ./loading.jl:505
 in require(::Symbol) at ./loading.jl:364

julia> Pkg.add("LegacyStrings")
INFO: Cloning cache of LegacyStrings from https://github.com/JuliaArchive/LegacyStrings.jl.git
INFO: Installing LegacyStrings v0.1.1
INFO: Package database updated

julia> using LegacyStrings
WARNING: could not import Base.lastidx into LegacyStrings
WARNING: using LegacyStrings.ascii in module Main conflicts with an existing identifier.
WARNING: using LegacyStrings.utf8 in module Main conflicts with an existing identifier.

julia> using CSWARNING: both LegacyStrings and Base export "ASCIIString"; uses of it in module Main must be qualified
WARNING: both LegacyStrings and Base export "ByteString"; uses of it in module Main must be qualified
WARNING: both LegacyStrings and Base export "UTF8String"; uses of it in module Main must be qualified
julia> using CSV
INFO: Precompiling module CSV...
ERROR: LoadError: `UTF16String` has been moved to the package LegacyStrings.jl:
Run Pkg.add("LegacyStrings") to install LegacyStrings on Julia v0.5-;
Then do `using LegacyStrings` to get `UTF16String`.

 in include_from_node1(::String) at ./loading.jl:426
 in macro expansion; at ./none:2 [inlined]
 in anonymous at ./<missing>:?
 in eval(::Module, ::Any) at ./boot.jl:234
 in process_options(::Base.JLOptions) at ./client.jl:239
 in _start() at ./client.jl:318
while loading /home/cjprybol/.julia/v0.5/WeakRefStrings/src/WeakRefStrings.jl, in expression starting on line 30
ERROR: LoadError: Failed to precompile WeakRefStrings to /home/cjprybol/.julia/lib/v0.5/WeakRefStrings.ji
 in compilecache(::String) at ./loading.jl:505
 in require(::Symbol) at ./loading.jl:337
 in include_from_node1(::String) at ./loading.jl:426
 in macro expansion; at ./none:2 [inlined]
 in anonymous at ./<missing>:?
 in eval(::Module, ::Any) at ./boot.jl:234
 in process_options(::Base.JLOptions) at ./client.jl:239
 in _start() at ./client.jl:318
while loading /home/cjprybol/.julia/v0.5/CSV/src/CSV.jl, in expression starting on line 4
ERROR: Failed to precompile CSV to /home/cjprybol/.julia/lib/v0.5/CSV.ji
 in compilecache(::String) at ./loading.jl:505
 in require(::Symbol) at ./loading.jl:364
@quinnj
Copy link
Member

quinnj commented Aug 18, 2016

A new package version was just tagged that resolves this.

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