-
Notifications
You must be signed in to change notification settings - Fork 387
Open
Labels
Description
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
- Spack: 1.0.2 (spack/spack@734c5db)
- Builtin repo: 32c54f0
- Python: 3.13.7
- Platform: linux-fedora42-skylake
Additional information
Maintainers tag: @haampie
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