#1092907 Could be Architecture: all

Package:
librust-zmq-dev
Source:
librust-zmq-dev
Description:
High-level bindings to the zeromq library - Rust source code
Submitter:
Simon Richter
Date:
2025-01-13 13:48:02 UTC
Severity:
normal
Tags:
#1092907#5
Date:
2025-01-13 10:05:21 UTC
From:
To:
Hi,

this package is identical across architectures, and contains source code
only, so it can probably be made "Architecture: all"

   Simon

- -- System Information:
Debian Release: 12.9
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 'stable'), (500, 'stable-debug'), (500, 'proposed-updates-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-29-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages librust-zmq-dev depends on:
pn  librust-bitflags-1+default-dev    <none>
pn  librust-libc-0.2+default-dev      <none>
pn  librust-log-0.4+default-dev       <none>
pn  librust-zmq-sys-0.11+default-dev  <none>

librust-zmq-dev recommends no packages.

librust-zmq-dev suggests no packages.
-----BEGIN PGP SIGNATURE-----

iQFDBAEBCgAtFiEEtjuqOJSXmNjSiX3Tfr04e7CZCBEFAmeE5WAPHHNqckBkZWJp
YW4ub3JnAAoJEH69OHuwmQgRzjMH/juuWgsrnuRkVIb1MhpOmSYJi4KOOFe96Si8
gV3mhXklcnCZmW5pqwapi7iKkA/JsKywRJWhieiQvuLnZNNYkxNXkIq6jOLva59w
quIDqxKesR4zaX1m4l8bFkEDjZQS6m53urft7PXS8wr5IQNRQq03KvIOsTaCgcgI
DM/+Z1T1UmIqAUXlDutV7YKOM+9IJtOhK7tIz9u9ByJkn3kexlnWGRxcxObDJSSZ
+CqUzZ21zqVDOKgnsa9muUUgkdT0sKN9E7ZcHyla8GohcqiFecTFY8DxHNI05MLs
CSFcYSZLiCKLASw+xOcnmR0A2oQn1acG0NevKpUtPq2zGJO4VIc=
=9iPV
-----END PGP SIGNATURE-----

#1092907#10
Date:
2025-01-13 13:39:03 UTC
From:
To:
Control: tags -1 +wontfix

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.