Skip to content

Installation issue: boost@develop does not build #30663

@hainest

Description

@hainest

Steps to reproduce the issue

$ spack install boost@develop

Error message

==> [2022-05-13-18:17:22.517598] boost: Executing phase: 'install'
==> [2022-05-13-18:17:22.521791] Installing /tmp/tim/spack-stage/spack-stage-boost-develop-nqjd2hitnhc6dtzfxn5fpgcnrzukge63/spack-src/boost to /home/tim/ecp/boost-build-history/spack-develop/opt/spack/linux-ubuntu20.04-skylake/gcc-11.1.0/boost-develop-nqjd2hitnhc6dtzfxn5fpgcnrzukge63/include/boost
==> [2022-05-13-18:17:22.541854] Error: OSError: No such file or directory: '/tmp/tim/spack-stage/spack-stage-boost-develop-nqjd2hitnhc6dtzfxn5fpgcnrzukge63/spack-src/boost'

/home/tim/ecp/boost-build-history/spack-develop/var/spack/repos/builtin/packages/boost/package.py:612, in install:
        609            src = join_path(self.stage.source_path, 'boost')
        610            mkdirp(join_path(prefix, 'include'))
        611            dst = join_path(prefix, 'include', 'boost')
  >>    612            install_tree(src, dst)
        613            return
        614
        615        # to make Boost find the user-config.jam

Information on your system

* **Spack:** 0.18.0.dev0 (b60d3dcd2959ef73d08695781270d94a42f5da44)
* **Python:** 3.8.10
* **Platform:** linux-ubuntu20.04-skylake
* **Concretizer:** clingo

Additional information

The new composable model enables a header-only installation by default. The short-circuiting in 'install' prevents b2 from running and creating the necessary directories. That logic should be removed. I'm testing now.

General information

  • I have run spack debug report and reported the version of Spack/Python/Platform
  • I have run spack maintainers <name-of-the-package> and @mentioned any maintainers
  • I have uploaded the build log and environment files
  • I have searched the issues of this repo and believe this is not a duplicate

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions