Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if headerfiles are not installed for glibc, spack install gcc from a buildcache fails with a cryptic error. #44102

Open
3 tasks done
robertu94 opened this issue May 9, 2024 · 0 comments
Labels
bug Something isn't working impact-low
Milestone

Comments

@robertu94
Copy link
Contributor

Steps to reproduce

spack mirror add develop-developer-tools-manylinux2014 https://binaries.spack.io/develop/developer-tools-manylinux2014
spack buildcache keys --installl --trust
spack install gcc

Error message

Error: No path specified

Information on your system

  • Spack: 0.22.0.dev0 (b79761b)
  • Python: 3.10.12
  • Platform: linux-ubuntu22.04-broadwell
  • Concretizer:

glibc-devel/libc-dev is NOT installed, but libc/glibc is installed.

I tracked down the issue from the backtrace to spack/lib/spack/spack/util/libc.py where startfile_prefix is None in libc_include_dir_from_startfile_prefix ideally, this gives a better error message telling you to provide or install a glibc with development headers.

General information

  • I have run spack debug report and reported the version of Spack/Python/Platform
  • I have searched the issues of this repo and believe this is not a duplicate
  • I have run the failing commands in debug mode and reported the output
@robertu94 robertu94 added bug Something isn't working triage The issue needs to be prioritized labels May 9, 2024
@alalazo alalazo added this to the v0.22.1 milestone May 14, 2024
@alalazo alalazo added impact-low and removed triage The issue needs to be prioritized labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working impact-low
Projects
Status: Todo
Development

No branches or pull requests

2 participants