Source: dmidecode
Version: 3.2-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: cross-satisfiability
Control: affects -1 + src:gparted src:libvirt src:pyparted

The affected packages fail to satisfy their cross Build-Depends, because
they (transitively) depend on libparted2 for two architectures and
libparted2 depends on dmidecode, which results in a conflict.

One way to solve this issue is marking dmidecode Multi-Arch: foreign.
The interesting question now is whether that is correct. This is tricky,

All the tools in the dmidecode package have textual output (some include
hex). I ran dmidecode:i386, dmidecode:amd64 and dmidecode:arm64 (using
qemu) and compared their output. I didn't see a difference beyond the
table address (being represented as 32bit vs 64bit pointer). Sam
Hartmann indicated that this difference is not important. Some tools
(biosdecode, ownership, and vpddecode) are missing in the arm version. I
hope that nothing uses them (and libparted2 doesn't). So while the
marking isn't fully correct in all detail, it should be beneficial in
general. If it ends up being wrong, we can later move to M-A:allowed or
consider splitting those other tools into a different binary package.
For now, I recommend just marking it as such despite those differences.

Helmut
diff --minimal -Nru dmidecode-3.2/debian/changelog 
dmidecode-3.2/debian/changelog
--- dmidecode-3.2/debian/changelog      2018-10-07 06:05:15.000000000 +0200
+++ dmidecode-3.2/debian/changelog      2019-05-23 21:33:43.000000000 +0200
@@ -1,3 +1,10 @@
+dmidecode (3.2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark dmidecode Multi-Arch: foreign. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Thu, 23 May 2019 21:33:43 +0200
+
 dmidecode (3.2-1) unstable; urgency=medium
 
   * New upstream release:
diff --minimal -Nru dmidecode-3.2/debian/control dmidecode-3.2/debian/control
--- dmidecode-3.2/debian/control        2018-10-03 08:20:23.000000000 +0200
+++ dmidecode-3.2/debian/control        2019-05-23 21:33:41.000000000 +0200
@@ -11,6 +11,7 @@
 Package: dmidecode
 Priority: important
 Architecture: any-amd64 arm64 armhf ia64 any-i386
+Multi-Arch: foreign
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Description: SMBIOS/DMI table decoder
  Dmidecode reports information about the system's hardware as described in the

Reply via email to