Closed as not planned
Description
Bug report
Bug description:
I installed clang19
and llvm19
packages:
sudo pacman -S clang19 llvm19
Then
./configure --enable-experimental-jit=yes
and command make -j$(nproc)
fails with this error:
+ Exception Group Traceback (most recent call last): | File "/home/me/cpython/./Tools/jit/build.py", line 52, in <module> | target.build( | ~~~~~~~~~~~~^ | comment=comment, | ^^^^^^^^^^^^^^^^ | force=args.force, | ^^^^^^^^^^^^^^^^^ | jit_stencils=args.output_dir / f"jit_stencils-{target.triple}.h", | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ) | ^ | File "/home/me/cpython/Tools/jit/_targets.py", line 222, in build | stencil_groups = ASYNCIO_RUNNER.run(self._build_stencils()) | File "/home/me/.pyenv/versions/3.13.5/lib/python3.13/asyncio/runners.py", line 118, in run | return self._loop.run_until_complete(task) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ | File "/home/me/.pyenv/versions/3.13.5/lib/python3.13/asyncio/base_events.py", line 725, in run_until_complete | return future.result() | ~~~~~~~~~~~~~^^ | File "/home/me/cpython/Tools/jit/_targets.py", line 182, in _build_stencils | async with asyncio.TaskGroup() as group: | ~~~~~~~~~~~~~~~~~^^ | File "/home/me/.pyenv/versions/3.13.5/lib/python3.13/asyncio/taskgroups.py", line 71, in __aexit__ | return await self._aexit(et, exc) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/home/me/.pyenv/versions/3.13.5/lib/python3.13/asyncio/taskgroups.py", line 173, in _aexit | raise BaseExceptionGroup( | ...<2 lines>... | ) from None | ExceptionGroup: unhandled errors in a TaskGroup (313 sub-exceptions) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/home/me/cpython/Tools/jit/_targets.py", line 166, in _compile | await _llvm.run("clang", args_s, echo=self.verbose) | File "/home/me/cpython/Tools/jit/_llvm.py", line 107, in run | raise RuntimeError(f"Can't find {tool}-{_LLVM_VERSION}!") | RuntimeError: Can't find clang-19! ... +---------------- ... ---------------- | and 298 more exceptions +------------------------------------
It write that Can't find clang-19!
, but clang19 is installed (maybe the thing is that package name doesn't contain -
?)
System information:
$ make --version GNU Make 4.4.1 $ gcc --version gcc (GCC) 15.1.1 20250425 $ python --version Python 3.13.5
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux