Run of multiarch-fixes for opensm

Try this locally (using the package):

debcheckout opensm
cd opensm
apply-multiarch-hints

Summary

Multi-arch fixes.

Diff

diff --git a/debian/control b/debian/control
index ff7d558c..ca2c7549 100644
--- a/debian/control
+++ b/debian/control
@@ -33,6 +33,7 @@ Package: opensm-doc
 Section: doc
 Architecture: all
 Depends: ${misc:Depends}
+Multi-Arch: foreign
 Description: Documentation for the InfiniBand subnet manager
  OpenSM provides an implementation of an InfiniBand Subnet Manager (SM) and
  Administrator (SA). One Subnet Manager is required to run on each InfiniBand
@@ -48,6 +49,7 @@ Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Breaks: libopensm2, libopensm4, libopensm5
 Replaces: libopensm2, libopensm4, libopensm5
+Multi-Arch: same
 Description: InfiniBand subnet manager library
  OpenSM provides an implementation of an InfiniBand Subnet Manager (SM) and
  Administrator (SA). One Subnet Manager is required to run on each InfiniBand
@@ -62,6 +64,7 @@ Depends: libopensm9 (= ${binary:Version}),
          ${misc:Depends}
 Conflicts: libopensm2-dev
 Replaces: libopensm2-dev
+Multi-Arch: same
 Description: Header files for compiling against libopensm
  OpenSM provides an implementation of an InfiniBand Subnet Manager (SM) and
  Administrator (SA). One Subnet Manager is required to run on each InfiniBand
@@ -77,6 +80,7 @@ Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Breaks: libopensm5 (<< 3.3.18-2~)
 Replaces: libopensm5 (<< 3.3.18-2~)
+Multi-Arch: same
 Description: InfiniBand subnet manager - component library
  OpenSM provides an implementation of an InfiniBand Subnet Manager (SM) and
  Administrator (SA). One Subnet Manager is required to run on each InfiniBand
@@ -89,6 +93,7 @@ Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Breaks: libopensm5 (<< 3.3.18-2~)
 Replaces: libopensm5 (<< 3.3.18-2~)
+Multi-Arch: same
 Description: InfiniBand subnet manager - vendor library
  OpenSM provides an implementation of an InfiniBand Subnet Manager (SM) and
  Administrator (SA). One Subnet Manager is required to run on each InfiniBand

Resulting package

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t unstable libopensm-dev
apt install -t unstable libopensm9-dbgsym
apt install -t unstable libopensm9
apt install -t unstable libosmcomp5-dbgsym
apt install -t unstable libosmcomp5
apt install -t unstable libosmvendor5-dbgsym
apt install -t unstable libosmvendor5
apt install -t unstable opensm-dbgsym
apt install -t unstable opensm-doc
apt install -t unstable opensm

Lintian Result

Full worker log Full build log