Bug#1109616: mingw-w64 should be Multi-Arch: foreign
Package: mingw-w64
Version: 12.0.0-5
Severity: normal
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
X-Debbugs-Cc: debian-cross@lists.debian.org
Control: affects -1 + src:nvda2speechd
Hello,
While trying to cross-build nvda2speechd, I had to make make the
mingw-w64 build-dep qualified :native.
Since the point of mingw-w64 is to provide a build environment for
mingw-w64, the actual architecture providing the package does not
matter, the result produced by the programs is the same, so it should be
marked
Multi-Arch: foreign
as the attached patch does, so we can drop the :native qualifier.
With regards,
Samuel
-- System Information:
Debian Release: 13.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'oldstable-proposed-updates-debug'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64
Kernel: Linux 6.15.0 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages mingw-w64 depends on:
ii g++-mingw-w64 14.2.0-17+27
ii gcc-mingw-w64 14.2.0-17+27
mingw-w64 recommends no packages.
mingw-w64 suggests no packages.
-- no debconf information
--
Samuel
Now I know someone out there is going to claim, "Well then, UNIX is intuitive,
because you only need to learn 5000 commands, and then everything else follows
from that! Har har har!"
(Andy Bates in comp.os.linux.misc, on "intuitive interfaces", slightly
defending Macs.)
--- debian/control.original 2025-07-21 01:23:08.927398915 +0200
+++ debian/control 2025-07-21 01:23:15.217441821 +0200
@@ -79,6 +79,7 @@
Package: mingw-w64
Architecture: all
+Multi-Arch: foreign
Depends: gcc-mingw-w64,
g++-mingw-w64,
${misc:Depends}
Reply to: