eWaterCycle / setup-singularity

GitHub action to setup singularity
Apache License 2.0
16 stars 2 forks source link

Missing mconfig #4

Closed vsoch closed 2 years ago

vsoch commented 3 years ago

heyo! I ran into an issue when trying to install 3.8.0:

Downloading singularity tarball...
Successfully downloaded singularity tarball https://github.com/hpcng/singularity/releases/download/v3.8.0/singularity-3.8.0.tar.gz to /home/runner/work/_temp/33d73ffb-55bc-4fcf-9de3-aea7af60bf9c
Extracting singularity...
/usr/bin/tar xz --warning=no-unknown-keyword -C /home/runner/go/src/github.com/hpcng -f /home/runner/work/_temp/33d73ffb-55bc-4fcf-9de3-aea7af60bf9c
Successfully extracted singularity to /home/runner/go/src/github.com/hpcng/singularity
Configuring in /home/runner/go/src/github.com/hpcng/singularity
Error: Unable to locate executable file: /home/runner/go/src/github.com/hpcng/singularity/mconfig. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.

I am following the sylabs repository / version "community edition" so I'm not sure what's up! I'll do my previous native install for the time being.

sverhoeven commented 2 years ago

As #3 has been fixed, you can use singularity-version: 3.8.3 to use the hpcng pre-build Ubuntu binaries.

However when pre-build is not available the action should still work. Weird that tarball contains executable mconfig and job could not find it.

Which operating system (aka runs-on) did you use?

vsoch commented 2 years ago

I think I always use Ubuntu-latest

sverhoeven commented 2 years ago

I made a PR #5 that fixes the 3.8.0 build problem.

Could you try this PR branch in your repo? With:

- uses: eWaterCycle/setup-singularity@test-380-build
  with:
    singularity-version: 3.8.0
vsoch commented 2 years ago

I don't have a branch anymore (I got it working differently) but I can try this the next time around.

sverhoeven commented 2 years ago

v7 has been released with fix.

vsoch commented 2 years ago

Thank you!