Skip to content

pip install cmake fails #262

@d-leroy

Description

@d-leroy

As the title says, pip install cmake in an activated graalpython venv fails with the following output:

Collecting cmake
  WARNING: Cache entry deserialization failed, entry ignored
  Downloading cmake-3.22.4.tar.gz (31 kB)
Looking for Graal Python patches for cmake
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  ERROR: Command errored out with exit status 1:
   command: /home/leroyd/venv-graalvm/bin/graalpython /home/leroyd/venv-graalvm/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpy3ss3k36
       cwd: /tmp/pip-install-59vrd70q/cmake
  Complete output (97 lines):
  Traceback (most recent call last):
    "<internal>", line 1, in <module>
    File "_in_process.py", line 280, in <module '_in_process.py'>
    File "_in_process.py", line 263, in main
    File "_in_process.py", line 114, in get_requires_for_build_wheel
    File "build_meta.py", line 177, in get_requires_for_build_wheel
    File "build_meta.py", line 159, in _get_build_requires
    File "build_meta.py", line 174, in run_setup
    File "setup.py", line 8, in <module 'setup.py'>
    "/importlib/_bootstrap.py", line 991, in _find_and_load
    "/importlib/_bootstrap.py", line 975, in _find_and_load_unlocked
    "/importlib/_bootstrap.py", line 671, in _load_unlocked
    "/importlib/_bootstrap_external.py", line 788, in exec_module
    "/importlib/_bootstrap.py", line 219, in _call_with_frames_removed
    File "__init__.py", line 9, in <module '__init__.py'>
    "/importlib/_bootstrap.py", line 991, in _find_and_load
    "/importlib/_bootstrap.py", line 975, in _find_and_load_unlocked
    "/importlib/_bootstrap.py", line 671, in _load_unlocked
    "/importlib/_bootstrap_external.py", line 788, in exec_module
    "/importlib/_bootstrap.py", line 219, in _call_with_frames_removed
    File "setuptools_wrap.py", line 36, in <module 'setuptools_wrap.py'>
    "/importlib/_bootstrap.py", line 991, in _find_and_load
    "/importlib/_bootstrap.py", line 975, in _find_and_load_unlocked
    "/importlib/_bootstrap.py", line 671, in _load_unlocked
    "/importlib/_bootstrap_external.py", line 788, in exec_module
    "/importlib/_bootstrap.py", line 219, in _call_with_frames_removed
    File "requirements.py", line 10, in <module 'requirements.py'>
    "/importlib/_bootstrap.py", line 991, in _find_and_load
    "/importlib/_bootstrap.py", line 975, in _find_and_load_unlocked
    "/importlib/_bootstrap.py", line 671, in _load_unlocked
    "/importlib/_bootstrap_external.py", line 788, in exec_module
    "/importlib/_bootstrap.py", line 219, in _call_with_frames_removed
    File "__init__.py", line 144, in <module '__init__.py'>
    "/importlib/_bootstrap.py", line 991, in _find_and_load
    "/importlib/_bootstrap.py", line 975, in _find_and_load_unlocked
    "/importlib/_bootstrap.py", line 671, in _load_unlocked
    "/importlib/_bootstrap_external.py", line 788, in exec_module
    "/importlib/_bootstrap.py", line 219, in _call_with_frames_removed
    File "helpers.py", line 686, in <module 'helpers.py'>
    File "core.py", line 2717, in __init__
  list does not support iterable object ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_:
  Traceback (most recent call last):
    "<internal>", line 1, in <module>
    File "_in_process.py", line 280, in <module '_in_process.py'>
    File "_in_process.py", line 263, in main
    File "_in_process.py", line 114, in get_requires_for_build_wheel
    File "build_meta.py", line 177, in get_requires_for_build_wheel
    File "build_meta.py", line 159, in _get_build_requires
    File "build_meta.py", line 174, in run_setup
    File "setup.py", line 8, in <module 'setup.py'>
    "/importlib/_bootstrap.py", line 991, in _find_and_load
    "/importlib/_bootstrap.py", line 975, in _find_and_load_unlocked
    "/importlib/_bootstrap.py", line 671, in _load_unlocked
    "/importlib/_bootstrap_external.py", line 788, in exec_module
    "/importlib/_bootstrap.py", line 219, in _call_with_frames_removed
    File "__init__.py", line 9, in <module '__init__.py'>
    "/importlib/_bootstrap.py", line 991, in _find_and_load
    "/importlib/_bootstrap.py", line 975, in _find_and_load_unlocked
    "/importlib/_bootstrap.py", line 671, in _load_unlocked
    "/importlib/_bootstrap_external.py", line 788, in exec_module
    "/importlib/_bootstrap.py", line 219, in _call_with_frames_removed
    File "setuptools_wrap.py", line 36, in <module 'setuptools_wrap.py'>
    "/importlib/_bootstrap.py", line 991, in _find_and_load
    "/importlib/_bootstrap.py", line 975, in _find_and_load_unlocked
    "/importlib/_bootstrap.py", line 671, in _load_unlocked
    "/importlib/_bootstrap_external.py", line 788, in exec_module
    "/importlib/_bootstrap.py", line 219, in _call_with_frames_removed
    File "requirements.py", line 10, in <module 'requirements.py'>
    "/importlib/_bootstrap.py", line 991, in _find_and_load
    "/importlib/_bootstrap.py", line 975, in _find_and_load_unlocked
    "/importlib/_bootstrap.py", line 671, in _load_unlocked
    "/importlib/_bootstrap_external.py", line 788, in exec_module
    "/importlib/_bootstrap.py", line 219, in _call_with_frames_removed
    File "__init__.py", line 144, in <module '__init__.py'>
    "/importlib/_bootstrap.py", line 991, in _find_and_load
    "/importlib/_bootstrap.py", line 975, in _find_and_load_unlocked
    "/importlib/_bootstrap.py", line 671, in _load_unlocked
    "/importlib/_bootstrap_external.py", line 788, in exec_module
    "/importlib/_bootstrap.py", line 219, in _call_with_frames_removed
    File "helpers.py", line 686, in <module 'helpers.py'>
    File "core.py", line 2717, in __init__
  list does not support iterable object ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_:
  Traceback (most recent call last):
    File "_in_process.py", line 280, in <module '_in_process.py'>
    File "_in_process.py", line 263, in main
    File "_in_process.py", line 114, in get_requires_for_build_wheel
    File "build_meta.py", line 177, in get_requires_for_build_wheel
    File "build_meta.py", line 159, in _get_build_requires
    File "build_meta.py", line 174, in run_setup
    File "setup.py", line 8, in <module 'setup.py'>
    File "__init__.py", line 9, in <module '__init__.py'>
    File "setuptools_wrap.py", line 36, in <module 'setuptools_wrap.py'>
    File "requirements.py", line 10, in <module 'requirements.py'>
    File "__init__.py", line 144, in <module '__init__.py'>
    File "helpers.py", line 686, in <module 'helpers.py'>
    File "core.py", line 2717, in __init__
  com.oracle.truffle.api.CompilerDirectives$ShouldNotReachHere: list does not support iterable object ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions