Skip to content

Installation issue: gcc-runtime #1699

@paspro

Description

@paspro

Steps to reproduce the issue

$ spack install gcc-runtime

Error message

Error message Error: TypeError: argument should be a str or an os.PathLike object where __fspath__ returns a str, not 'NoneType'
==> No binary for gcc-runtime-15.2.1-q3h3evgg5i5uatqr4cxtdjgx56sylxgz found: installing from source
==> Installing gcc-runtime-15.2.1-q3h3evgg5i5uatqr4cxtdjgx56sylxgz [16/28]
==> No patches needed for gcc-runtime
==> gcc-runtime: Executing phase: 'install'
==> Error: TypeError: argument should be a str or an os.PathLike object where __fspath__ returns a str, not 'NoneType'

/home/panos/.spack/package_repos/fncqgg4/repos/spack_repo/builtin/packages/gcc_runtime/package.py:58, in install:
55 def install(self, spec, prefix):
56 gcc_pkg = self["gcc"]
57 if spec.platform in ["linux", "freebsd"]:

58            libraries = get_elf_libraries(compiler=gcc_pkg, libraries=self.LIBRARIES)
     59        elif spec.platform == "darwin":
     60            libraries = self._get_libraries_macho()
     61        else:

See build log for details:
/tmp/panos/spack-stage/spack-stage-gcc-runtime-15.2.1-q3h3evgg5i5uatqr4cxtdjgx56sylxgz/spack-build-out.txt

Information on your system

Additional information

Maintainers tag: @haampie

spack-build-out.txt

spack-build-env.txt

spack-build-env.txt

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

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions