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

docker build failing on hdf5 #512

Open
ParensAllTheWayDown opened this issue Feb 13, 2025 · 0 comments
Open

docker build failing on hdf5 #512

ParensAllTheWayDown opened this issue Feb 13, 2025 · 0 comments

Comments

@ParensAllTheWayDown
Copy link

Bug Description

Not able to produce docker image.

Full Disclosure..
I'm behind a robust corporate proxy and retrieving docker images from a corporate image registry.
I have had to adjust the origin of several source docker images.

root@9cec2ab48262:/app# mix compile --verbose
Compiling 1 file (.ex)

== Compilation error in file lib/datum/plugins/hdf5.ex ==
** (ErlangError) Erlang error: :enoent
    (elixir 1.17.2) lib/system.ex:1114: System.cmd("cargo", ["metadata", "--format-version=1"], [cd: "native/hdf5_extractor"])
    (rustler 0.35.1) lib/rustler/compiler/config.ex:76: Rustler.Compiler.Config.metadata!/1
    (rustler 0.35.1) lib/rustler/compiler/config.ex:63: Rustler.Compiler.Config.build/1
    (rustler 0.35.1) lib/rustler/compiler.ex:8: Rustler.Compiler.compile_crate/3
    lib/datum/plugins/hdf5.ex:2: (module)

I have been able to move past the error by moving the hdf5.ex out of the way...

jupyter@bwl-potholes-in-my-lawn ~/s/c/Deep-Lynx (2.0)> docker run -it --rm 06a7c63f3ac1
root@76c4fb423f44:/app# mv lib/datum/plugins/hdf5.ex lib/datum/plugins/hdf5.ex.bu
root@76c4fb423f44:/app# mix compile
Compiling 75 files (.ex)
Generated datum app

but not sure what negative consequences will result from not building hdf5.ex plugin.

Steps to Reproduce

docker build . -f Dockerfile
 ---> Using cache
 ---> 06a7c63f3ac1
Step 33/51 : RUN mix compile
 ---> Running in 837f5585f41d
Compiling 76 files (.ex)

== Compilation error in file lib/datum/plugins/hdf5.ex ==
** (ErlangError) Erlang error: :enoent
    (elixir 1.17.2) lib/system.ex:1114: System.cmd("cargo", ["metadata", "--format-version=1"], [cd: "native/hdf5_extractor"])
    (rustler 0.35.1) lib/rustler/compiler/config.ex:76: Rustler.Compiler.Config.metadata!/1
    (rustler 0.35.1) lib/rustler/compiler/config.ex:63: Rustler.Compiler.Config.build/1
    (rustler 0.35.1) lib/rustler/compiler.ex:8: Rustler.Compiler.compile_crate/3
    lib/datum/plugins/hdf5.ex:2: (module)0.28 0.32

Impact

no docker image produced

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