Skip to content

Gen on master fails to precompile when inside Docker on a Mac #311

@bzinberg

Description

@bzinberg

When trying to run GenSceneGraphs from Docker, @jcrosenb encountered the error

┌ Info: Precompiling GenSceneGraphs [dcc2c3cc-8ed1-11e9-1eb3-1dd41a11fee5]
└ @ Base loading.jl:1278
ERROR: LoadError: Failed to precompile Gen [ea4f424c-a589-11e8-07c0-fd5c91b9da4a] to /root/.julia/compiled/v1.5/Gen/OEZG1_Y796z.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1305
 [3] _require(::Base.PkgId) at ./loading.jl:1030
 [4] require(::Base.PkgId) at ./loading.jl:928
 [5] require(::Module, ::Symbol) at ./loading.jl:923
 [6] include(::Function, ::Module, ::String) at ./Base.jl:380
 [7] include(::Module, ::String) at ./Base.jl:368
 [8] top-level scope at none:2
 [9] eval at ./boot.jl:331 [inlined]
 [10] eval(::Expr) at ./client.jl:467
 [11] top-level scope at ./none:3
in expression starting at /julia_projects/GenSceneGraphs/src/GenSceneGraphs.jl:12
Failed to precompile GenSceneGraphs [dcc2c3cc-8ed1-11e9-1eb3-1dd41a11fee5] to /root/.julia/compiled/v1.5/GenSceneGraphs/N6XWy_Y796z.ji.

This persisted even after deleting the directory ~/.julia/compiled.

Possible next step A:
Build a Docker image containing Gen at a specific recent commit (e.g. current head, 07a5427) and see whether the same precompile error occurs on @jcrosenb's machine. If it does, we should get some specs of her machine and then see if it reproduces on a different Mac.

Possible next step B:
Test out https://github.com/probcomp/GenSceneGraphs.jl/pull/205 on a different Mac. If we can find someone who has a Mac and is able to do this, that would be the easiest path to finding out whether this is really a Mac-wide issue or is specific to some aspect of @jcrosenb's setup. (For the time being, she's attempting to get the Docker image running from within a Linux VM).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions