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

Error with stacked environments #51115

Open
cossio opened this issue Aug 30, 2023 · 0 comments
Open

Error with stacked environments #51115

cossio opened this issue Aug 30, 2023 · 0 comments
Labels
bug Indicates an unexpected problem or unintended behavior packages Package management and loading

Comments

@cossio
Copy link
Contributor

cossio commented Aug 30, 2023

I have setup a small example at https://github.com/cossio/JuliaStackedEnvFFMPEGIssue, of a package failing to load from an environment higher up the stack, due to it not finding required libraries. In the linked repo, there is a parent environment which has FFMPEG_jll installed. Then the error is triggered by trying to load FFMPEG_jll from the nested environment at the subdirectory child_env. However FFMPEG_jll loads fine if:

  1. It is loaded from the parent environment.
  2. It is installed as a direct dependency of the nested environment, and loaded there.

This issue originated from MakieOrg/Makie.jl#3123, since a similar error is occurring when attempting to load Makie. But it seems the source of the error is not Makie, but some underlying issue with dependency resolution in stacked environments.

julia> versioninfo()
Julia Version 1.9.3
Commit bed2cd540a1 (2023-08-24 14:43 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 8 × Apple M2
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, apple-m1)
  Threads: 1 on 4 virtual cores
Environment:
  JULIA_EDITOR = mvim -R
  JULIA_PKG_USE_CLI_GIT = true
  JULIA_PKG_SERVER_REGISTRY_PREFERENCE = eager

Julia installed via juliaup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior packages Package management and loading
Projects
None yet
Development

No branches or pull requests

2 participants