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

Unable to use build cache with latest spack version #17

Open
fvanmaele opened this issue Oct 4, 2023 · 0 comments
Open

Unable to use build cache with latest spack version #17

fvanmaele opened this issue Oct 4, 2023 · 0 comments

Comments

@fvanmaele
Copy link

I am trying to use the e4s build cache with spack:

> spack mirror add E4S https://cache.e4s.io
> spack buildcache keys -it                                                                      [238/391]
==> Fetching https://cache.e4s.io/build_cache/_pgp/25645FA2B218FE55B4EF649E4345F04B40005581.pub           
==> Fetching https://mirror.spack.io/bootstrap/github-actions/v0.4/build_cache/linux-centos7-x86_64-gcc-10.2.1-patchelf-0.16.1-p72zyan5wrzuabtmzq7isa5mzyh6ahdp.spec.json                                           
==> Fetching https://mirror.spack.io/bootstrap/github-actions/v0.4/build_cache/linux-centos7-x86_64/gcc-10
.2.1/patchelf-0.16.1/linux-centos7-x86_64-gcc-10.2.1-patchelf-0.16.1-p72zyan5wrzuabtmzq7isa5mzyh6ahdp.spac
k                                                                                                         
==> Installing "patchelf@=0.16.1%gcc@=10.2.1 ldflags="-static-libstdc++ -static-libgcc"  build_system=auto
tools arch=linux-centos7-x86_64" from a buildcache                                                        
==> Fetching https://mirror.spack.io/bootstrap/github-actions/v0.4/build_cache/linux-centos7-x86_64-gcc-10
.2.1-clingo-bootstrap-spack-cizcjj3tx4irs3uzoktrgybq73sz545f.spec.json                                    ==> Fetching https://mirror.spack.io/bootstrap/github-actions/v0.4/build_cache/linux-centos7-x86_64/gcc-10
.2.1/clingo-bootstrap-spack/linux-centos7-x86_64-gcc-10.2.1-clingo-bootstrap-spack-cizcjj3tx4irs3uzoktrgyb
q73sz545f.spack                                                                                           
==> Installing "clingo-bootstrap@=spack%gcc@=10.2.1~docs~ipo+python+static_libstdcpp build_type=Release arch=linux-centos7-x86_64" from a buildcache                                                                
gpg: key 4345F04B40005581: public key "University of Oregon - E4S" imported                               
gpg: Total number processed: 1                                                                            
gpg:               imported: 1                                                                            
gpg: inserting ownertrust of 6                  

However, installing packages fails with:

> spack install [email protected] [email protected] 
==> Warning: you need a newer Spack version to read the buildcache index for the following mirror: 'https:
//cache.e4s.io'. The expected DB version is '6', but '7' was found.
# spack proceeds to install packages from source

spack v0.20.2 (Arch Linux)

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