[Pkg-rust-maintainers] Bug#1092907: Bug#1092907: Could be Architecture: all

Fabian Grünbichler f.gruenbichler at proxmox.com
Mon Jan 13 13:39:03 GMT 2025


Control: tags -1 +wontfix

> Simon Richter <sjr at debian.org> hat am 13.01.2025 11:05 CET geschrieben:
> 
>  
> Package: librust-zmq-dev
> Version: 0.9.2-3
> Severity: minor
> X-Debbugs-Cc: sjr at debian.org
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> Hi,
> 
> this package is identical across architectures, and contains source code
> only, so it can probably be made "Architecture: all"

it is intentionally arch:any to avoid the interpreter problem when cross-building. if it were arch:all, a (transitive) dependency on an arch:any package would pick up the wrong architecture and thus break cross building.

see the last part of https://wiki.debian.org/Teams/RustPackaging/Policy and this comment: https://salsa.debian.org/rust-team/debcargo/-/blob/master/src/debian/control.rs#L357

this came up last year on d-devel a well with the consensus being that there is no other workaround unless we want to break cross building for most rust packages.



More information about the Pkg-rust-maintainers mailing list