-
Notifications
You must be signed in to change notification settings - Fork 2.4k
'spack load' fails for packages that have been renamed #14347
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Using 'spack load' on a package that was built prior to the renaming of that package will fail to load, even though the package is listed in 'spack find'.
==> Installing testit
==> Searching for binary cache of testit
==> No binary for testit found: installing from source
==> Fetching file:///bin/true
######################################################################## 100.0%
==> Staging unexpanded archive /tmp/pytest-of-aweits/pytest-54/test_keep_exceptions0/tmp/spack-stage-testit-master-om6hvveukb7veteczuk4bfvppobpystk/true in /tmp/pytest-of-aweits/pytest-54/test_keep_exceptions0/tmp/spack-stage-testit-master-om6hvveukb7veteczuk4bfvppobpystk/spack-src
==> Created stage in /tmp/pytest-of-aweits/pytest-54/test_keep_exceptions0/tmp/spack-stage-testit-master-om6hvveukb7veteczuk4bfvppobpystk
==> No patches needed for testit
==> Building testit [Package]
==> Executing phase: 'install'
==> Successfully installed testit
Fetch: 0.02s. Build: 0.16s. Total: 0.18s.
[+] /tmp/SPACKIT/spack/opt/spack/linux-centos7-ivybridge/gcc-4.8.5/testit-master-om6hvveukb7veteczuk4bfvppobpystk
[move and rename the package file]
coltrane (builtin/packages):spack find testit
==> 1 installed package
-- linux-centos7-ivybridge / [email protected] --------------------------
testit@master
coltrane (builtin/packages):spack load testit
==> Error: Package 'testit' not found.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working