Package: librust-pyo3-ffi-dev
Version: 0.27.2-1
Tags: patch
User: [email protected]
Usertags: cross-satisfiability
Control: affects -1 + src:blake3-py src:breezy src:dulwich src:lintian-brush 
src:pendulum src:pydantic-core src:pysequoia src:python-bcrypt 
src:python-cotengrust src:python-cramjam src:python-cryptography 
src:python-fastbencode src:python-jellyfish src:python-libcst 
src:python-minijinja src:python-nh3 src:python-orjson 
src:python-proton-vpn-local-agent src:python-pycddl 
src:python-upstream-ontologist src:python-watchfiles src:python-zxcvbn-rs-py 
src:rpds-py src:ruff src:rust-buildlog-consultant src:rust-ognibuild 
src:safetensors src:silver-platter src:tiktoken src:unicode-segmentation-rs

The affected packages cannot be cross built from source, because they
transitively depend on the host architecture librust-pyo3-ffi-dev and
that package cannot be installed for foreign architectures, because it
depends on python3-all-dev. As far as I understand it, the crate is used
for building Python extension modules. For that purpose, the dependency
should be python3-all-dev:any plus libpython3-all-dev. I'm attaching a
patch for your convenience.

Helmut
diff -Nru rust-pyo3-ffi-0.27.2/debian/changelog 
rust-pyo3-ffi-0.27.2/debian/changelog
--- rust-pyo3-ffi-0.27.2/debian/changelog       2025-12-01 10:19:31.000000000 
+0100
+++ rust-pyo3-ffi-0.27.2/debian/changelog       2026-01-02 20:55:27.000000000 
+0100
@@ -1,3 +1,10 @@
+rust-pyo3-ffi (0.27.2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Multiarchify Python dependencies. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Fri, 02 Jan 2026 20:55:27 +0100
+
 rust-pyo3-ffi (0.27.2-1) unstable; urgency=medium
 
   * Package pyo3-ffi 0.27.2 from crates.io using debcargo 2.7.11
diff -Nru rust-pyo3-ffi-0.27.2/debian/control 
rust-pyo3-ffi-0.27.2/debian/control
--- rust-pyo3-ffi-0.27.2/debian/control 2025-12-01 10:19:31.000000000 +0100
+++ rust-pyo3-ffi-0.27.2/debian/control 2026-01-02 20:55:26.000000000 +0100
@@ -5,13 +5,14 @@
  dh-sequence-cargo
 Build-Depends-Arch: cargo:native <!nocheck>,
  rustc:native (>= 1.74) <!nocheck>,
+ libpython3-all-dev <!nocheck>,
  libstd-rust-dev <!nocheck>,
  librust-libc-0.2+default-dev (>= 0.2.62-~~) <!nocheck>,
  librust-pyo3-build-config-0.27+default-dev (<< 0.27.3-~~) <!nocheck>,
  librust-pyo3-build-config-0.27+default-dev (>= 0.27.2-~~) <!nocheck>,
  librust-pyo3-build-config-0.27+resolve-config-dev (<< 0.27.3-~~) <!nocheck>,
  librust-pyo3-build-config-0.27+resolve-config-dev (>= 0.27.2-~~) <!nocheck>,
- python3-all-dev <!nocheck>
+ python3-all-dev:native <!nocheck>
 Maintainer: Debian Rust Maintainers 
<[email protected]>
 Uploaders:
  Jelmer Vernooij <[email protected]>
@@ -26,6 +27,7 @@
 Multi-Arch: same
 Depends:
  ${misc:Depends},
+ libpython3-all-dev,
  librust-libc-0.2+default-dev (>= 0.2.62-~~),
  librust-pyo3-build-config-0.27+abi3-dev (<< 0.27.3-~~),
  librust-pyo3-build-config-0.27+abi3-dev (>= 0.27.2-~~),
@@ -51,7 +53,7 @@
  librust-pyo3-build-config-0.27+extension-module-dev (>= 0.27.2-~~),
  librust-pyo3-build-config-0.27+resolve-config-dev (<< 0.27.3-~~),
  librust-pyo3-build-config-0.27+resolve-config-dev (>= 0.27.2-~~),
- python3-all-dev
+ python3-all-dev:any
 Provides:
  librust-pyo3-ffi+abi3-dev (= ${binary:Version}),
  librust-pyo3-ffi+abi3-py310-dev (= ${binary:Version}),

Reply via email to