Bug#797347: dpkg-gencontrol: option to exclude specific architectures

Andreas Metzler <[email protected]> Sun, 3 May 2026 13:52:20 +0200
Newsgroups gmane.linux.debian.devel.dpkg.bugs
Message-ID <afc29Lq91rm3XM0P__13126.5247402311$1777809210$gmane$org@argenau.bebt.de>
Hello,

is there a workaround for this nowadays?

I just got a merge-request against pinentry:
| Don't build qt6 package on i386 or m68k
| Ubuntu only builds some packages on i386. pinentry is built on Ubuntu
| i386 but qt6 is not. This change would enable Ubuntu to automatically
| sync pinentry package updates from Debian. This is similar to how
| poppler-qt6 isn't built on Debian's i386.

with (inter alia) this change to control:
 Package: pinentry-qt
-Architecture: any
+Architecture: amd64 arm64 armhf loong64 ppc64el riscv64 s903x alpha hppa hurd-any powerpc ppc64 sh4 sparc64 x32

I do not think it is a strange or exotic wish to not build some software on
i386 which we only keep around for legacy software (therefore e.g. no t64-
transition).

cu Andreas