Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

Gallium fails to precompile #133

Closed
josefsachsconning opened this issue Jul 11, 2016 · 2 comments
Closed

Gallium fails to precompile #133

josefsachsconning opened this issue Jul 11, 2016 · 2 comments

Comments

@josefsachsconning
Copy link
Collaborator

Using master branch of Julia and Gallium and its dependencies.

AWS-Sachs-Ubuntu$ usr/bin/julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.5.0-dev+5271 (2016-07-11 10:35 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 9a223c8 (0 days old master)
|__/                   |  x86_64-linux-gnu

julia> using Gallium
INFO: Precompiling module Gallium...
ERROR: LoadError: `utf32` 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 `utf32`.

 in accum_julia_symbol(::JuliaParser.Lexer.TokenStream{JuliaParser.Tokens.Token}, ::Char) at /home/sachs/.julia/v0.5/JuliaParser/src/lexer.jl:759
 in next_token(::JuliaParser.Lexer.TokenStream{JuliaParser.Tokens.Token}, ::Bool) at /home/sachs/.julia/v0.5/JuliaParser/src/lexer.jl:778
 in peek_token(::JuliaParser.Lexer.TokenStream{JuliaParser.Tokens.Token}, ::Bool) at /home/sachs/.julia/v0.5/JuliaParser/src/lexer.jl:886
 in #parse#24(::JuliaParser.Parser.#parse_stmts, ::Function, ::JuliaParser.Lexer.TokenStream{JuliaParser.Tokens.Token}) at /home/sachs/.julia/v0.5/JuliaParser/src/parser.jl:2120
 in _precompile_() at /home/sachs/.julia/v0.5/JuliaParser/src/precompile.jl:7
 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:243
 in _start() at ./client.jl:322
while loading /home/sachs/.julia/v0.5/JuliaParser/src/JuliaParser.jl, in expression starting on line 12
ERROR: LoadError: Failed to precompile JuliaParser to /home/sachs/.julia/lib/v0.5/JuliaParser.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:243
 in _start() at ./client.jl:322
while loading /home/sachs/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl, in expression starting on line 8
ERROR: LoadError: Failed to precompile ASTInterpreter to /home/sachs/.julia/lib/v0.5/ASTInterpreter.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:243
 in _start() at ./client.jl:322
while loading /home/sachs/.julia/v0.5/Gallium/src/Gallium.jl, in expression starting on line 3
ERROR: Failed to precompile Gallium to /home/sachs/.julia/lib/v0.5/Gallium.ji
 in compilecache(::String) at ./loading.jl:505
 in require(::Symbol) at ./loading.jl:364
 in eval(::Module, ::Any) at ./boot.jl:234
 in macro expansion at ./REPL.jl:92 [inlined]
 in (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:46
@aviks
Copy link
Collaborator

aviks commented Jul 11, 2016

Leave a reference to JuliaLang/julia#16590

@Keno
Copy link
Member

Keno commented Jul 11, 2016

This particular issue is fixed by JuliaLang/JuliaParser.jl@4d17238. Looking at whether any other Gallium dependencies rely on this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants