Skip to content

bug: spack install from yaml fails #15219

@tldahlgren

Description

@tldahlgren

I am still seeing the issue using spack install --only dependencies <pkg> . For example, try this in Docker image spack/ubuntu-bionic:

spack mirror add e4s https://instinct.nic.uoregon.edu:8083/e4s
spack spec -y py-ptyprocess > py-ptyprocess.spec.yaml
spack install --cache-only --only dependencies ./py-ptyprocess.spec.yaml

Output (truncated to only show final error):

==> Error: Detected uninstalled dependencies for diffutils: {'libiconv'}
==> Error: Cannot proceed with diffutils: 1 uninstalled dependency: libiconv

The KEY is that libiconv IS INSTALLED, despite the above error message:

$> spack find libiconv
--- linux-ubuntu18.04-x86_64 / [email protected] --------------
[email protected]

Originally posted by @eugeneswalker in #15197 (comment)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingyaml

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions