Skip to content

Installation issue: clingo-bootstrap #23946

@adamjstewart

Description

@adamjstewart

Clingo fails to bootstrap on my system.

Steps to reproduce the issue

Enable clingo as your preferred concretizer and let Spack build it.

config:
  concretizer: clingo

You end up with many error messages like:

CMake Error at /data/keeling/a/adamjs5/.spack/bootstrap/store/linux-centos7-x86_64/gcc-9.3.0/cmake-3.20.2-kcsfzcfzurr7ywxdigfb2xg6dt27wsxr/share/cmake-3.20/Modules/FindPython/Support.cmake:602 (file):
  file STRINGS file "/usr/include/python3.6m/patchlevel.h" cannot be read.
Call Stack (most recent call first):
  /data/keeling/a/adamjs5/.spack/bootstrap/store/linux-centos7-x86_64/gcc-9.3.0/cmake-3.20.2-kcsfzcfzurr7ywxdigfb2xg6dt27wsxr/share/cmake-3.20/Modules/FindPython/Support.cmake:2916 (_python_get_version)
  /data/keeling/a/adamjs5/.spack/bootstrap/store/linux-centos7-x86_64/gcc-9.3.0/cmake-3.20.2-kcsfzcfzurr7ywxdigfb2xg6dt27wsxr/share/cmake-3.20/Modules/FindPython.cmake:535 (include)
  CMakeLists.txt:130 (find_package)

Information on your system

  • Spack: 0.14.1-6785-a40e39f
  • Python: 3.6.8
  • Platform: linux-centos7-haswell
  • Concretizer: clingo

Additional information

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

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions