Skip to content

Installation issue: boost + python 3 build error #13355

@davydden

Description

@davydden
==> Building boost [Package]
==> Executing phase: 'install'
==> Error: TypeError: descriptor '__repr__' requires a 'str' object but received a 'syaml_int'

/spack/repos/builtin/packages/boost/package.py:448, in install:
        445            jobs = 64
        446
        447        b2_options = [
  >>    448            '-j', '%s' % jobs,
        449            '--user-config=%s' % os.path.join(
        450                self.stage.source_path, 'user-config.jam')
        451        ]

Steps to reproduce the issue

$ spack install [email protected]

although I build the whole environment with python@3:

$python --version
Python 3.8.0

built by Spack.

Platform and user environment

Please report your OS here:

$ lsb_release -d
Description:	CentOS Linux release 7.6.1810 (Core)

Additional information

Seems that this has to do with Python3 environment, using spack env activate -V blabla helps to workaround the issue.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions