Skip to content

Unclear error message when needing to precompile due to incompatible stacked environment #59121

@Octogonapus

Description

@Octogonapus

Just wanted to record this from our discussion earlier.
When you have a stacked environment with a package in your default environment that's incompatible with your current environment, you get this unclear message:

(project env) pkg> precompile

julia> using GLMakie
[ Info: Precompiling GLMakie [e9467ef8-e4e7-5192-8a1a-b1aee30e663a] (cache misses: wrong source (4), incompatible header (2), mismatched flags (2))

This is made more confusing by ]precompile doing nothing.

I wouldn't want precompilation to switch into my default environment, but including something in the error message indicating this incompatibility would be helpful.

Julia 1.11.6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions