-
Notifications
You must be signed in to change notification settings - Fork 2.4k
v0.23: boostrap.py wants github-actions-v0.4, but only v0.5 and v0.6 exist #47827
Copy link
Copy link
Closed
Closed
Copy link
Labels
Description
Steps to reproduce
For v0.23, it looks like the create-bootstrap-mirror code in lib/spack/spack/cmd/bootstrap.py is looking for github-actions-v0.4:
spack/lib/spack/spack/cmd/bootstrap.py
Line 54 in c6d4037
| CLINGO_JSON = "$spack/share/spack/bootstrap/github-actions-v0.4/clingo.json" |
But only
v0.5 and v0.6 are in the repo: https://github.com/spack/spack/tree/v0.23.0/share/spack/bootstrap.
git clone https://github.com/spack/spack spack-v0.23-test-bootstrap
cd spack-v0.23-test-bootstrap/
git fetch --tags
git checkout v0.23.0
source share/spack/setup-env.sh
spack bootstrap mirror --binary-packages ./test-mirror 2>&1 | tee log.create-test-mirror
I was still able to create a mirror with the above command, but I had issues bootstrapping from the mirror on an air-gapped system. However, that system has all sorts of issues, therefore I am not entirely sure if the mirror is incomplete and therefore causing the problems I've seen, or if it's something else and the above error isn't a problem. (Even in this case, it should still be fixed).
Error message
$ spack bootstrap mirror --binary-packages ./test-mirror 2>&1 | tee log.create-test-mirror
==> Error: [Errno 2] No such file or directory: '/home/dom/work/spack-stack/spack-v0.23-test-bootstrap/share/spack/bootstrap/github-actions-v0.4/clingo.json'
==> Adding "clingo-bootstrap@spack+python %gcc platform=linux target=x86_64" and dependencies to the mirror at /home/dom/work/spack-stack/spack-v0.23-test-bootstrap/test-mirror/bootstrap_cache
==> Adding "[email protected]: %gcc platform=linux target=x86_64" and dependencies to the mirror at /home/dom/work/spack-stack/spack-v0.23-test-bootstrap/test-mirror/bootstrap_cache
==> Adding "[email protected]: %gcc platform=linux target=x86_64" and dependencies to the mirror at /home/dom/work/spack-stack/spack-v0.23-test-bootstrap/test-mirror/bootstrap_cache
==> Adding "file %gcc platform=linux target=x86_64" and dependencies to the mirror at /home/dom/work/spack-stack/spack-v0.23-test-bootstrap/test-mirror/bootstrap_cache
==> Adding "gnuconfig" and dependencies to the mirror at /home/dom/work/spack-stack/spack-v0.23-test-bootstrap/test-mirror/bootstrap_cache
==> Adding binary packages from "https://github.com/spack/spack-bootstrap-mirrors/releases/download/v0.4/bootstrap-buildcache.tar.gz" to the mirror at /home/dom/work/spack-stack/spack-v0.23-test-bootstrap/test-mirror/bootstrap_cache
Information on your system
- Spack: 0.23.0 (c6d4037)
- Python: 3.9.18
- Platform: linux-oracle9-skylake
General information
- I have run
spack debug reportand reported the version of Spack/Python/Platform - I have searched the issues of this repo and believe this is not a duplicate
- I have run the failing commands in debug mode and reported the output
Reactions are currently unavailable
Metadata
Metadata
Labels
Type
Projects
Status
Done