Skip to content

Pkgconf w/ Py 3.8: Error: TypeError: descriptor '__repr__' requires a 'str' object but received a 'syaml_int' #13247

@eugeneswalker

Description

@eugeneswalker

spack install lmod on ubi7 using newest spack w/ python 3.8, along the way it tries to install pkgconf@1.6.3 and the build fails with the following error:

==> Staging archive: /tmp/root/spack-stage/spack-stage-pkgconf-1.6.3-f7eeymkxs4uls32m7rt6fewmqqle2ibj/pkgconf-1.6.3.tar.xz
==> Created stage in /tmp/root/spack-stage/spack-stage-pkgconf-1.6.3-f7eeymkxs4uls32m7rt6fewmqqle2ibj
==> No patches needed for pkgconf
==> Building pkgconf [AutotoolsPackage]
==> Executing phase: 'autoreconf'
==> Executing phase: 'configure'
==> Executing phase: 'build'
==> Error: TypeError: descriptor '__repr__' requires a 'str' object but received a 'syaml_int'

/spack/lib/spack/spack/build_systems/autotools.py:259, in build:
        256        """Makes the build targets specified by
        257        :py:attr:``~.AutotoolsPackage.build_targets``
        258        """
  >>    259        with working_dir(self.build_directory):
        260            inspect.getmodule(self).make(*self.build_targets)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions