-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Spack Melts Down into a puddle... #2657
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
@mathstuf Something's missing in the Python code, this should easy to fix.
$ spack setup icebin@develop+gridgen+python+everytrace+coupler+pism \
> ^ibmisc@develop+everytrace+proj+blitz+netcdf+boost+udunits2+python \
> ^pism@dev+icebin
Traceback (most recent call last):
File "/home2/rpfische/spack4/bin/spack", line 203, in <module>
main()
File "/home2/rpfische/spack4/bin/spack", line 180, in main
return_val = command(parser, args)
File "/home2/rpfische/spack4/lib/spack/spack/cmd/setup.py", line 186, in setup
install.install(parser, inst_args)
File "/home2/rpfische/spack4/lib/spack/spack/cmd/install.py", line 313, in install
specs = spack.cmd.parse_specs(args.package, concretize=True)
File "/home2/rpfische/spack4/lib/spack/spack/cmd/__init__.py", line 108, in parse_specs
spec.concretize() # implies normalize
File "/home2/rpfische/spack4/lib/spack/spack/spec.py", line 1329, in concretize
changes = (self.normalize(force),
File "/home2/rpfische/spack4/lib/spack/spack/spec.py", line 1621, in normalize
copy=False, deptype_query=alldeps)
File "/home2/rpfische/spack4/lib/spack/spack/spec.py", line 1413, in flat_dependencies_with_deptype
flat_deps[spec.name].spec.constrain(spec)
File "/home2/rpfische/spack4/lib/spack/spack/spec.py", line 1737, in constrain
changed |= self._constrain_dependencies(other)
File "/home2/rpfische/spack4/lib/spack/spack/spec.py", line 1761, in _constrain_dependencies
dep_spec_copy = other.get_dependency(name)
File "/home2/rpfische/spack4/lib/spack/spack/spec.py", line 614, in get_dependency
raise InvalidDependencyException(
NameError: global name 'InvalidDependencyException' is not defined
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working