Trying to install a package with ROOT as a dependency failed to reuse it, so I tried manually requiring it:
$ spack spec -I vecgeom+root ^root/53qeuen
==> Error: Attempted to use external for 'apple-libuuid' which does not satisfy any configured external spec
$ spack -vd spec -I vecgeom+root ^root/53qeuen
==> [2022-08-01-06:42:01.776455] Imported spec from built-in commands
==> [2022-08-01-06:42:01.776876] Imported spec from built-in commands
==> [2022-08-01-06:42:01.777346] Reading config file /opt/spack/etc/spack/defaults/config.yaml
==> [2022-08-01-06:42:01.785312] Reading config file /opt/spack/etc/spack/config.yaml
==> [2022-08-01-06:42:01.789661] Reading config file /opt/spack/etc/spack/defaults/bootstrap.yaml
==> [2022-08-01-06:42:01.792486] DATABASE LOCK TIMEOUT: 3s
==> [2022-08-01-06:42:01.792511] PACKAGE LOCK TIMEOUT: No timeout
==> [2022-08-01-06:42:01.814553] Reading config file /opt/spack/etc/spack/defaults/config.yaml
==> [2022-08-01-06:42:01.822481] Reading config file /opt/spack/etc/spack/config.yaml
==> [2022-08-01-06:42:01.823530] DATABASE LOCK TIMEOUT: 3s
==> [2022-08-01-06:42:01.823550] PACKAGE LOCK TIMEOUT: No timeout
==> [2022-08-01-06:42:01.823609] [BOOTSTRAP CONFIG SCOPE] name=_builtin
==> [2022-08-01-06:42:01.823768] Reading config file /opt/spack/etc/spack/defaults/bootstrap.yaml
==> [2022-08-01-06:42:01.826417] [BOOTSTRAP CONFIG SCOPE] name=defaults, path=/opt/spack/etc/spack/defaults
==> [2022-08-01-06:42:01.826436] [BOOTSTRAP CONFIG SCOPE] name=defaults/darwin, path=/opt/spack/etc/spack/defaults/darwin
==> [2022-08-01-06:42:01.826457] [BOOTSTRAP CONFIG SCOPE] name=bootstrap, path=/Users/seth/.spack/bootstrap/config
==> [2022-08-01-06:42:01.826472] [BOOTSTRAP CONFIG SCOPE] name=bootstrap/darwin, path=/Users/seth/.spack/bootstrap/config/darwin
==> [2022-08-01-06:42:01.826644] Reading config file /Users/seth/.spack/bootstrap/config/darwin/compilers.yaml
==> [2022-08-01-06:42:01.858056] [BOOTSTRAP ROOT SPEC] clingo-bootstrap@spack+python %apple-clang target=aarch64
==> [2022-08-01-06:42:01.858163] [BOOTSTRAP MODULE clingo] Try importing from Python
==> [2022-08-01-06:42:01.858390] Reading config file /opt/spack/etc/spack/defaults/bootstrap.yaml
==> [2022-08-01-06:42:01.956870] Reading config file /opt/spack/etc/spack/defaults/config.yaml
==> [2022-08-01-06:42:01.983873] '/opt/spack/var/spack/environments/celeritas/.spack-env/._view/r3gorybsmmaw2ewvo4gspqpcttebk5eb/bin/python3.9' '-c' '
import json
from sysconfig import (
get_config_vars,
get_config_h_filename,
get_makefile_filename,
get_paths,
)
config = get_config_vars()
config['"'"'config_h_filename'"'"'] = get_config_h_filename()
config['"'"'makefile_filename'"'"'] = get_makefile_filename()
config.update(get_paths())
print(json.dumps(config))
'
==> [2022-08-01-06:42:02.011243] [BOOTSTRAP MODULE clingo] The installed spec "clingo-bootstrap@spack+python %apple-clang target=aarch64 ^python@3.9 /cz4h2dpuycwo4w36toajumqbjkbpqkqo" provides the "clingo" Python module
==> [2022-08-01-06:42:02.011764] Reading config file /opt/spack/etc/spack/defaults/concretizer.yaml
==> [2022-08-01-06:42:02.014042] Reading config file /opt/spack/etc/spack/defaults/repos.yaml
==> [2022-08-01-06:42:02.082447] Reading config file /opt/spack/etc/spack/defaults/config.yaml
==> [2022-08-01-06:42:02.090300] Reading config file /opt/spack/etc/spack/config.yaml
==> [2022-08-01-06:42:02.091505] Reading config file /opt/spack/etc/spack/defaults/mirrors.yaml
==> [2022-08-01-06:42:03.952062] Reading config file /opt/spack/etc/spack/compilers.yaml
==> [2022-08-01-06:42:03.957584] Reading config file /opt/spack/etc/spack/defaults/packages.yaml
==> [2022-08-01-06:42:03.970025] Reading config file /opt/spack/etc/spack/defaults/darwin/packages.yaml
==> [2022-08-01-06:42:03.974048] Reading config file /Users/seth/.spack/packages.yaml
==> [2022-08-01-06:42:09.336478] SpackError: Attempted to use external for 'apple-libuuid' which does not satisfy any configured external spec
==> [2022-08-01-06:42:09.336546] Error: Attempted to use external for 'apple-libuuid' which does not satisfy any configured external spec
Traceback (most recent call last):
File "/opt/spack/lib/spack/spack/cmd/__init__.py", line 227, in parse_specs
spec.concretize(tests=tests) # implies normalize
File "/opt/spack/lib/spack/spack/spec.py", line 2914, in concretize
self._new_concretize(tests)
File "/opt/spack/lib/spack/spack/spec.py", line 2889, in _new_concretize
result = solver.solve([self], tests=tests)
File "/opt/spack/lib/spack/spack/solver/asp.py", line 2243, in solve
return self.driver.solve(
File "/opt/spack/lib/spack/spack/solver/asp.py", line 676, in solve
answers = builder.build_specs(tuples)
File "/opt/spack/lib/spack/spack/solver/asp.py", line 2100, in build_specs
action(*args)
File "/opt/spack/lib/spack/spack/solver/asp.py", line 1938, in error
raise UnsatisfiableSpecError(msg)
spack.solver.asp.UnsatisfiableSpecError: Attempted to use external for 'apple-libuuid' which does not satisfy any configured external spec
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/spack/lib/spack/spack/main.py", line 961, in main
return _main(argv)
File "/opt/spack/lib/spack/spack/main.py", line 916, in _main
return finish_parse_and_run(parser, cmd_name, env_format_error)
File "/opt/spack/lib/spack/spack/main.py", line 944, in finish_parse_and_run
return _invoke_command(command, parser, args, unknown)
File "/opt/spack/lib/spack/spack/main.py", line 608, in _invoke_command
return_val = command(parser, args)
File "/opt/spack/lib/spack/spack/cmd/spec.py", line 104, in spec
concretized_specs = spack.cmd.parse_specs(args.specs, concretize=True)
File "/opt/spack/lib/spack/spack/cmd/__init__.py", line 241, in parse_specs
raise spack.error.SpackError(msg)
spack.error.SpackError: Attempted to use external for 'apple-libuuid' which does not satisfy any configured external spec
$ spack find -lvd apple-libuuid
==> 1 installed package
-- darwin-monterey-m1 / apple-clang@13.1.6 ----------------------
jbbx4ar apple-libuuid@1353.100.2
Steps to reproduce
My pretty-fresh spack installation has ROOT installed:
Ugly ROOT spec
Trying to install a package with ROOT as a dependency failed to reuse it, so I tried manually requiring it:
Error message
Information on your system
And the external does seem to be installed:
General information
spack debug reportand reported the version of Spack/Python/Platform