Skip to content

App installation leads to cryptic precompile failures #13

@apozharski

Description

@apozharski

When using the juliac app (installed via ] app add or ] app dev) the installed shim contains:

export JULIA_LOAD_PATH="<HOME>/.julia/environments/apps/JuliaC"

Which makes the LOAD_PATH resolve to e.g. ["/home/anton/.julia/environments/apps/JuliaC"] which makes precompile fail as the new environment does not contain the required packages:

ERROR: The following 4 direct dependencies failed to precompile:

MadNLP 

Error: Missing source file for Base.PkgId(Base.UUID("2621e9c9-9eb4-46b1-8089-e8c72242dfb6"), "MadNLP")
NLPModels 

Error: Missing source file for Base.PkgId(Base.UUID("a4795742-8479-5a88-8948-cc11e1c8c1a6"), "NLPModels")

PrecompileTools 

Error: Missing source file for Base.PkgId(Base.UUID("aea7be01-6a6a-4083-8856-8a6e6704d82a"), "PrecompileTools")

libMad 

Error: Missing source file for Base.PkgId(Base.UUID("3cb06f27-fa54-49c1-aeea-14d13a711cb4"), "libMad")

Metadata

Metadata

Assignees

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