Skip to content

Building a Dependency on libtool and mpi fails #1701

@ax3l

Description

@ax3l

I am running the latest develop as of f5bc0cb and am building adios

  • depends_on('libtool', type='build')
  • depends_on('mpi', when='+mpi') while mpi=True is the default

.

Doing a spack install adios leads to an install of libtool itself for build and libtool again due to mpi with ^[email protected]%[email protected]

$ spack graph --concretize openmpi
o  openmpi
o  hwloc
o  libpciaccess
o  libtool
o  m4
o  libsigsegv

This results in an error while spack install-ing adios, directly after building openmpi:

==> Building openmpi
==> Successfully installed openmpi
  Fetch: 10.65s.  Build: 10m 40.85s.  Total: 10m 51.50s.
[+] [...]/opt/spack/linux-debian8-x86_64/gcc-4.9.2/openmpi-2.0.0-[...]

==> Error: Specs [email protected]%[email protected]
  arch=linux-debian8-x86_64^[email protected]%[email protected]
    arch=linux-debian8-x86_64^[email protected]%[email protected]+sigsegv
    arch=linux-debian8-x86_64
  and
  [email protected]%[email protected]
    arch=linux-debian8-x86_64
  have the same SHA-1 prefix!

I cleaned my repo with

rm -rf /tmp/$(whoami)/spack-stage bin/ etc/ lib/ opt/ share/ var/
git checkout .

beforehand.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions