Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spack uninstall fails for libxml2 #238

Closed
lee218llnl opened this issue Dec 15, 2015 · 1 comment
Closed

spack uninstall fails for libxml2 #238

lee218llnl opened this issue Dec 15, 2015 · 1 comment

Comments

@lee218llnl
Copy link
Contributor

spack uninstall fails for libxml2, when without python bindings.

cab687@lee218:spack uninstall libxml2
Traceback (most recent call last):
File "/nfs/tmp2/lee218/pkg/spack3/spack/bin/spack", line 163, in
main()
File "/nfs/tmp2/lee218/pkg/spack3/spack/bin/spack", line 144, in main
return_val = command(parser, args)
File "/nfs/tmp2/lee218/pkg/spack3/spack/lib/spack/spack/cmd/uninstall.py", line 96, in uninstall
pkg.do_uninstall(force=args.force)
File "/nfs/tmp2/lee218/pkg/spack3/spack/lib/spack/spack/package.py", line 932, in do_uninstall
spack.hooks.pre_uninstall(self)
File "/nfs/tmp2/lee218/pkg/spack3/spack/lib/spack/spack/hooks/init.py", line 69, in call
hook(pkg)
File "/nfs/tmp2/lee218/pkg/spack3/spack/lib/spack/spack/hooks/extensions.py", line 35, in pre_uninstall
if pkg.activated:
File "/nfs/tmp2/lee218/pkg/spack3/spack/lib/spack/spack/package.py", line 518, in activated
exts = spack.install_layout.extension_map(self.extendee_spec)
File "/nfs/tmp2/lee218/pkg/spack3/spack/lib/spack/spack/directory_layout.py", line 345, in extension_map
_check_concrete(spec)
File "/nfs/tmp2/lee218/pkg/spack3/spack/lib/spack/spack/directory_layout.py", line 44, in _check_concrete
raise ValueError('Specs passed to a DirectoryLayout must be concrete!')
ValueError: Specs passed to a DirectoryLayout must be concrete!

@tgamblin
Copy link
Member

@lee218llnl: does the fix I just checked in work for you? The database support needs to properly mark specs representing a real install as concrete, as well.

lee218llnl added a commit that referenced this issue Dec 16, 2015
Fix #238: Database specs need to be concrete when read in as well.
matz-e pushed a commit to matz-e/spack that referenced this issue Apr 27, 2020
climbfuji added a commit to climbfuji/spack that referenced this issue Mar 13, 2023
…inks

Add capitalized symlinks for ESMF libs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants