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

Lumberjack not working with build_sysimg #40

Open
jminardi opened this issue Jan 10, 2017 · 0 comments
Open

Lumberjack not working with build_sysimg #40

jminardi opened this issue Jan 10, 2017 · 0 comments

Comments

@jminardi
Copy link

jminardi commented Jan 10, 2017

During the step "INFO: Building sys.o...", I get the below error.

/Applications/Julia-0.4.7.app/Contents/Resources/julia/share/julia/base/precompile.jl
error during bootstrap:
LoadError(at "sysimg.jl" line 319: LoadError(at "/Applications/Julia-0.4.7.app/Contents/Resources/julia/share/julia/base/userimg.jl" line 1: LoadError(at "/Users/jtran/.julia/v0.4/Euclid/src/Euclid.jl" line 489: UndefVarError(var=:_lumber_mill))))
rec_backtrace at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/task.c:658
jl_undefined_var_error at /Applications/Julia-0.4.7.app/Contents/Resources/julia/lib/julia/libjulia.dylib (unknown line)
warn at /Users/jtran/.julia/v0.4/Lumberjack/src/lumbermill.jl:138
parse_config at /Users/jtran/.julia/v0.4/Euclid/src/config.jl:533
jl_apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1691
julia_parse_config_26250 at  (unknown line)
pathplan at /Users/jtran/.julia/v0.4/Euclid/src/Euclid.jl:129
jl_apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1691
pathplan at /Users/jtran/.julia/v0.4/Euclid/src/Euclid.jl:390
jl_apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1691
jl_apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/interpreter.c:56
eval at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/interpreter.c:230
jl_toplevel_eval_flex at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:527
jl_eval_module_expr at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:167
jl_toplevel_eval_flex at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:423
jl_parse_eval_all at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:577
jl_load at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:620
include at boot.jl:261
jl_apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia.h:1331
include_from_node1 at loading.jl:333
jl_apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia.h:1331
jl_apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/interpreter.c:56
eval at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/interpreter.c:230
jl_toplevel_eval_flex at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:527
jl_toplevel_eval_in at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/builtins.c:573
require at loading.jl:273
jlcall_require_20069 at  (unknown line)
jl_apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia.h:1331
jl_apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia.h:1331
eval_import_path at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:458
jl_parse_eval_all at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:577
jl_load at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:620
include at boot.jl:261
jl_apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia.h:1331
include_from_node1 at loading.jl:333
jl_apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia.h:1331
jl_apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/interpreter.c:56
eval at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/interpreter.c:230
eval_body at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/interpreter.c:581
jl_toplevel_eval_body at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/interpreter.c:545
jl_toplevel_eval_flex at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:521
jl_parse_eval_all at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:577
jl_load at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:620
exec_program at /Applications/Julia-0.4.7.app/Contents/Resources/julia/bin/julia (unknown line)
true_main at /Applications/Julia-0.4.7.app/Contents/Resources/julia/bin/julia (unknown line)
main at /Applications/Julia-0.4.7.app/Contents/Resources/julia/bin/julia (unknown line)

ERROR: LoadError: failed process: Process(`/Applications/Julia-0.4.7.app/Contents/Resources/julia/bin/julia -C core2 --output-ji /Users/jtran/.julia/v0.4/Euclid/euclid-sys-image.ji --output-o /Users/jtran/.julia/v0.4/Euclid/euclid-sys-image.o -J /Users/jtran/.julia/v0.4/Euclid/inference.ji --startup-file=no sysimg.jl`, ProcessExited(1)) [1]
 in run at /Applications/Julia-0.4.7.app/Contents/Resources/julia/lib/julia/sys.dylib
 in anonymous at /Applications/Julia-0.4.7.app/Contents/Resources/julia/share/julia/build_sysimg.jl:75
 in cd at /Applications/Julia-0.4.7.app/Contents/Resources/julia/lib/julia/sys.dylib
 in build_sysimg at /Applications/Julia-0.4.7.app/Contents/Resources/julia/share/julia/build_sysimg.jl:36
 in include at /Applications/Julia-0.4.7.app/Contents/Resources/julia/lib/julia/sys.dylib
 in include_from_node1 at /Applications/Julia-0.4.7.app/Contents/Resources/julia/lib/julia/sys.dylib
 in process_options at /Applications/Julia-0.4.7.app/Contents/Resources/julia/lib/julia/sys.dylib
 in _start at /Applications/Julia-0.4.7.app/Contents/Resources/julia/lib/julia/sys.dylib
while loading /Applications/Julia-0.4.7.app/Contents/Resources/julia/share/julia/build_sysimg.jl, in expression starting on line 178

If I remove all references to Lumberjack in my code the sysimg builds properly.

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

1 participant