Build error after latest commit with 'Task cannot be serialized'

63 views
Skip to first unread message

Ian Fiske

unread,
Sep 20, 2012, 3:54:32 PM9/20/12
to juli...@googlegroups.com
I just made a fresh clone of the latest commit (because I hit this problem after pulling my current clone) and get a 'Task cannot be serialized' error in the final build step.  I tried 'make clean' to no avail.  My output is below.

.
.
.
    LINK usr/bin/julia-release-webserver
    JULIA usr/lib/julia/sys.ji
Warning: replacing module Base
Task cannot be serialized
 in anonymous at no file
 in load_now at util.jl:231
 in load_now at util.jl:245
 in require at util.jl:174
 in process_options at client.jl:175
 in _start at client.jl:233
at /home/ian/repo/julia/base/sysimg.jl:269
 in load_now at util.jl:231
 in load_now at util.jl:245
 in require at util.jl:174
 in process_options at client.jl:175
 in _start at client.jl:233
 in load_now at util.jl:256
 in require at util.jl:174
 in process_options at client.jl:175
 in _start at client.jl:233
Note: this error is usually fixed by running 'make clean'.

$ make clean

$ make

    CC src/jltypes.o
    CC src/gf.o
    FLISP src/julia_flisp.boot
    FLISP src/julia_flisp.boot.inc
    CC src/ast.o
    CC src/builtins.o
    CC src/module.o
    CC src/codegen.o
    CC src/interpreter.o
    CC src/alloc.o
    CC src/dlload.o
    CC src/sys.o
    CC src/init.o
    CC src/task.o
    CC src/array.o
    CC src/dump.o
    CC src/toplevel.o
    CC src/gc.o
    LINK usr/lib/libjulia-release.so
    PERL base/pcre_h.jl
    PERL base/errno_h.jl
    PERL base/os_detect.jl
    PERL extras/glpk_h.jl
    PERL extras/julia_message_types_h.jl
    CC ui/repl.o
    CC ui/repl-basic.o
    LINK usr/bin/julia-release-basic
    CC ui/repl-readline.o
    LINK usr/bin/julia-release-readline
    LINK usr/bin/julia-release-webserver
    JULIA usr/lib/julia/sys.ji
Warning: replacing module Base
Task cannot be serialized
 in anonymous at no file
 in load_now at util.jl:231
 in load_now at util.jl:245
 in require at util.jl:174
 in process_options at client.jl:175
 in _start at client.jl:233
at /home/ian/repo/julia/base/sysimg.jl:269
 in load_now at util.jl:231
 in load_now at util.jl:245
 in require at util.jl:174
 in process_options at client.jl:175
 in _start at client.jl:233
 in load_now at util.jl:256
 in require at util.jl:174
 in process_options at client.jl:175
 in _start at client.jl:233
Note: this error is usually fixed by running 'make clean'.

I am using CentOS 6 and had no problems prior to my latest pull.

Thanks!
Ian

Tracy Wadleigh

unread,
Sep 20, 2012, 4:05:44 PM9/20/12
to juli...@googlegroups.com
I ran into this issue recently, too. I can't say what exactly caused it, but it went away when I deleted the .julia* files in my home dir. (I doubt it was the history files, but I did have a .juliarc.jl file with some non-trivial hackery in it.)

Ian

--
 
 
 

Ian Fiske

unread,
Sep 20, 2012, 5:11:41 PM9/20/12
to juli...@googlegroups.com
Thank you!  Your solution fixed the problem on my end as well.  I also had a '.juliarc.jl' file with some content.

Patrick O'Leary

unread,
Sep 20, 2012, 5:23:41 PM9/20/12
to juli...@googlegroups.com
That probably shouldn't happen. Filed #1301 https://github.com/JuliaLang/julia/issues/1301
Reply all
Reply to author
Forward
0 new messages