Clang build from source

I am currently trying to create Clang from the PKGBUILDs. Somehow it fails in the chroot and locally:

/home/username/packages/CachyOS-PKGBUILDS/clang/PKGBUILD: Line 74: 2to3: Command not found.

Can anyone help me with this?

It seems that the python package must be included in the build dependencies.

2to3 may be found in the following packages:
  cachyos-v3/python 3.12.4-2    /usr/bin/2to3
  core/python 3.12.4-1          /usr/bin/2to3

Yes, I saw that :slight_smile: and fixed it locally.

I gonna push a fix soon.

I wanted to say that the dependencies should be resolved by themselves.

  # Attempt to convert script to Python 3
  2to3 -wn --no-diffs \
    tools/extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py

Is that even necessary ?