old_qr_mumps is incompatible with the last version of spack (7e04b20f3eb65575141fed4a0b7881954403ecd5).
It is using the
dirname_for_package_name attribute which seems to be not available anymore. This issue prevents any spack install command from working:
spack install gcc ==> Error: 'module' object has no attribute 'dirname_for_package_name'
I don't know if someone is still using
old_qr_mumps. As a workaround, I just remove the row (see below)
diff --git a/packages/old_qr_mumps/package.py b/packages/old_qr_mumps/package.py index 4af0971..13ef41a 100644 --- a/packages/old_qr_mumps/package.py +++ b/packages/old_qr_mumps/package.py @@ -39,7 +39,7 @@ class OldQrMumps(Package): url="http://buttari.perso.enseeiht.fr/qr_mumps/releases/qr_mumps-1.2.tgz") version('devel', svn='https://www.irit.fr/svn/qr_mumps/branches/qrm_gpu') - pkg_dir = spack.repo.dirname_for_package_name("fake") + pkg_dir = "" # fake tarball because we consider it is already installed version('exist', '7b878b76545ef9ddb6f2b61d4c4be833', url = "file:"+join_path(pkg_dir, "empty.tar.gz"))