[Pkg-bazaar-maint] Bug#1012015: breezy: FTBFS: error: can't find Rust compiler

Andreas Beckmann anbe at debian.org
Sat May 28 20:22:59 BST 2022

Source: breezy
Version: 3.3.0~bzr7571-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

breezy/experimental did FTBFS on all architectures:

 debian/rules clean
dh clean --with python3,sphinxdoc,bash_completion  --buildsystem=pybuild
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
I: pybuild base:239: python3.9 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/dist.py:493: UserWarning: Normalizing '3.3.0.dev' to '3.3.0.dev0'
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_breezy/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.9' does not exist -- can't clean it
running clean_rust
error: can't find Rust compiler

If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.

To update pip, run:

    pip install --upgrade pip

and then retry package installation.

If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
E: pybuild pybuild:369: clean: plugin distutils failed with: exit code=1: python3.9 setup.py clean 
dh_auto_clean: error: pybuild --clean -i python{version} -p "3.9 3.10" returned exit code 13
make[1]: *** [debian/rules:36: override_dh_auto_clean] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:15: clean] Error 2


More information about the Pkg-bazaar-maint mailing list