Skip to content

charmpp build failing in post_install #13648

@steffen64g

Description

@steffen64g

Steps to reproduce the issue

$ spack install charmpp +omp +tcp
[...]
==> [2019-11-08-15:19:03.454033] Copying /home/SPACK2019/opt/spack/linux-centos7-haswell/gcc-9.2.0/charmpp-6.9.0-cggfedjx662ktsjiybvlh4rhgk3cumys/examples/collide/collidecharm/Makefile to /home/SPACK2019/opt/spack/linux-centos7-haswell/gcc-9.2.0/charmpp-6.9.0-cggfedjx662ktsjiybvlh4rhgk3cumys/examples/collide/collidecharm/Makefile.tmp
==> Warning: Module file already exists : skipping creation
file : /home/SPACK2019/share/spack/modules/linux-centos7-haswell/charmpp-6.9.0-gcc-9.2.0-cggfedj
spec : [email protected]%[email protected] backend=netlrts build-target=LIBS ~cuda+omp~papi+production~pthreads+shared+smp~syncft+tcp~tracing arch=linux-centos7-haswell
==> Error: OSError: [Errno 2] No such file or directory: '/home/SPACK2019/opt/spack/linux-centos7-haswell/gcc-9.2.0/charmpp-6.9.0-cggfedjx662ktsjiybvlh4rhgk3cumys/doc'

/home/SPACK2019/lib/spack/spack/package.py:1718, in build_process:
       1715                    echo = logger.echo
       1716                    self.log()
       1717
  >>   1718                # Run post install hooks before build stage is removed.
       1719                spack.hooks.post_install(self.spec)
       1720
       1721            # Stop timer.

Platform and user environment

CentOS7, recent checkout of spack.

Additional information

$ spack spec --install-status charmpp +omp +tcp 
Input spec
--------------------------------
 -   charmpp+omp+tcp

Concretized
--------------------------------
 -   [email protected]%[email protected] backend=netlrts build-target=LIBS ~cuda+omp~papi+production~pthreads+shared+smp~syncft+tcp~tracing arch=linux-centos7-haswell

What's puzzling me is that the module file has already been created, despite of the failing build...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions