You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
running spack checksum r-ellipsis@0.3.1 fails with the error message
» spack checksum r-ellipsis@0.3.1
==> Found 1 version of r-ellipsis:
0.3.1 https://cloud.r-project.org/src/contrib/ellipsis_0.3.1.tar.gz
==> Something failed on https://cloud.r-project.org/src/contrib/ellipsis_0.3.1.tar.gz, skipping. (All fetchers failed for spack-stage-z032nuxl)
==> Error: Could not fetch any versions for r-ellipsis
but spack checksum r-ellipsis@0.3.2 works.
Also spack install r-ellipsis0.3.1 works, because it fetches the sources from the spack mirror and not from cran.
Reason:
spack tries to get the sources from https://cloud.r-project.org/src/contrib/ellipsis_0.3.1.tar.gz but https://cloud.r-project.org/src/contrib only provides the newest version (here 0.3.2), older versions are migrated to https://cloud.r-project.org/src/contrib/Archive/ellipsis. Thus spack checksum fails for old versions of the package (I checked all old versions in spack: 0.3.1, 0.3.0, 0.2.0.1).
I tried to migrate to using the cran attribute instead of explicit url and list_url but that does not change anything.
All R-packages I tested had this problem regarding older versions, e.g.
Steps to reproduce
When there is a newer version of an R-package published on cran, fetching the older versions does not work in spack anymore.
e.g.
r-ellipsisspack checksum r-ellipsis@0.3.1fails with the error messagebut
spack checksum r-ellipsis@0.3.2works.Also
spack install r-ellipsis0.3.1works, because it fetches the sources from the spack mirror and not from cran.Reason:
spack tries to get the sources from
https://cloud.r-project.org/src/contrib/ellipsis_0.3.1.tar.gzbuthttps://cloud.r-project.org/src/contribonly provides the newest version (here 0.3.2), older versions are migrated tohttps://cloud.r-project.org/src/contrib/Archive/ellipsis. Thusspack checksumfails for old versions of the package (I checked all old versions in spack: 0.3.1, 0.3.0, 0.2.0.1).I tried to migrate to using the
cranattribute instead of expliciturlandlist_urlbut that does not change anything.All R-packages I tested had this problem regarding older versions, e.g.
r-rcpp@1.0.6,r-broom@0.3.1r-lifecycle@0.2.0r-lme4@1.1-27ping @glennpj as R maintainer
Error message
No response
Information on your system
General information
spack debug reportand reported the version of Spack/Python/Platform