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

zstd is a runtime dependency but is not documented in installation #208

Open
tpdownes opened this issue Aug 30, 2024 · 1 comment
Open

Comments

@tpdownes
Copy link

After following doc/installation.md to install build and runtime dependencies before compiling enroot,I attempt to invoke enroot via the pyxis plugin for Slurm and get the following error. It appears that zstd is an enroot runtime dependency.

pyxis: importing docker image: alpine
slurmstepd: error: pyxis: child 11486 failed with error code: 1
slurmstepd: error: pyxis: failed to import docker image
slurmstepd: error: pyxis: printing enroot log file:
slurmstepd: error: pyxis:     [ERROR] Command not found: zstd
slurmstepd: error: pyxis: couldn't start container
slurmstepd: error: spank: required plugin spank_pyxis.so: task_init() failed with rc=-1
slurmstepd: error: Failed to invoke spank plugin stack
slurmstepd: error: pyxis: child 11499 failed with error code: 1

The problem goes away when I install the zstd package on Ubuntu 20.04. It appears to be the same package name in Debian and on RedHat derivatives. In fact, the list of runtime dependencies declared in the packaging files is considerably longer than in the documentation, although many are commonly installed by default:

Requires: bash >= 4.2, curl, gawk, jq >= 1.5, parallel, shadow-utils, squashfs-tools
Requires: coreutils, grep, findutils, gzip, glibc-common, sed, tar, util-linux, zstd

and

Depends: ${shlibs:Depends}, ${misc:Depends},
 bash (>= 4.2),
 curl,
 gawk | mawk,
 jq (>= 1.5),
 parallel,
 passwd,
 squashfs-tools,
 zstd,
 bsdmainutils,
``
@3XX0
Copy link
Member

3XX0 commented Aug 30, 2024

Yeah I think it's just zstd missing from the doc

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

2 participants