debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/mercurial-6.9.3' /usr/bin/make all PYTHON=python3.13 make[2]: Entering directory '/build/reproducible-path/mercurial-6.9.3' python3.13 setup.py build Traceback (most recent call last): File "/build/reproducible-path/mercurial-6.9.3/setup.py", line 114, in <module> from distutils.core import setup ModuleNotFoundError: No module named 'distutils' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build/reproducible-path/mercurial-6.9.3/setup.py", line 116, in <module> from setuptools import setup ModuleNotFoundError: No module named 'setuptools'
setuptools
not being automatically installed on the RISC-V architecture and needs to be explicitly installed in debian/control
. I have tested this solution,and it works well.The debpatch is in the attachment.Attachment:
fix_mercurial_failed_on_riscv.patch
Description: Binary data