E4S-Project / e4s

E4S for Spack
https://e4s.readthedocs.io
MIT License
28 stars 13 forks source link

[support]: E4S 23.02 Cache: 'py-hatch-nodejs-version' not found #120

Closed eugeneswalker closed 1 year ago

eugeneswalker commented 1 year ago

Vincente Bolea, a Senior R&D Engineer at KitWare, brought to our attention, by direct communication, an issue affecting the use of E4S 23.02 build cache for users running Spack v0.19.1 with the concretization:reuse:true option. We were able to reproduce the issue on multiple systems and are now in the process of coordinating a solution with the Spack team.

Until this is resolved, users of Spack v0.19.1 (i.e. checkout at v0.19.1) are encountering concretization errors similar to the following error when they also have concretization:reuse:true set.

$> spack mirror add E4S https://cache.e4s.io/23.02
$> spack buildcache keys -it
==> Fetching https://cache.e4s.io/23.02/build_cache/_pgp/25645FA2B218FE55B4EF649E4345F04B40005581.pub
gpg: key 4345F04B40005581: public key "University of Oregon - E4S" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: inserting ownertrust of 6

$> spack spec zlib
==> Error: Package 'py-hatch-nodejs-version' not found.
You may need to run 'spack clean -m'.

We filed a corresponding issue with the Spack repository to track progress:

eugeneswalker commented 1 year ago

The workaround for this, for the moment, is to set concretizer:reuse:false. We will post updates here as we work towards a solution that allows users to have concretizer:reuse:true.

eugeneswalker commented 1 year ago

Thanks to @tgamblin for the following PR which resolves this issue. Once merged, users will be able to take advantage of concretizer:reuse:true in conjunction with E4S build caches!

eugeneswalker commented 1 year ago

This was just merged! Closing this issue as resolved.