Control: severity 1142711 serious Hello,
The package is falling because: The [[bin]] "parse" target in Cargo.toml is compiled with feature="py" active, which enables pyo3/extension-module. Since pyo3 >= 0.27 this feature suppresses -lpython from the linker command. During cross-compilation no target Python interpreter is available, so all Python C-API symbols (PyTuple_New, _Py_Dealloc, PyGILState_Ensure, etc.) are unresolved -> link fails. The binary is not shipped in any Debian package (bin=false in debcargo.toml), so the fix is simply to disable building it, the same way benchmarks are disabled in the existing debian/patches/disable-benches patch. Below patch fix the issue on all ppc64el, powerpc and ppc64 architecture I have tested it on my ppc64el system. Index: rust-libcst-1.8.6/Cargo.toml =================================================================== --- rust-libcst-1.8.6.orig/Cargo.toml +++ rust-libcst-1.8.6/Cargo.toml @@ -49,7 +49,7 @@ crate-type = [ ] path = "src/lib.rs" -[[bin]] +[[disabled.bin]] name = "parse" path = "src/bin.rs" Thanks, Trupti

