Package: libibverbs1
Version: 1.2.1-2
Tags: patch
User: [email protected]
Usertags: rebootstrap
Control: affects -1 + src:armci-mpi src:ffindex src:gfsview src:lammps 
src:mpi-defaults src:otf src:scotch

The affected packages cannot satisfy their cross build dependencies,
because their transitive dependencies on libibverbs1 cannot be
satisfied. The bootstrap.d.n metadata processing indicates[1] more
affected packages. All of the packages need libibverbs1 for both the
build architecture and the host architecture. Such dependencies can only
be satisfied when the dependee, libibverbs1, is marked as Multi-Arch:
foreign or Multi-Arch: same. The former doesn't make any sense for
shared libraries, so we need to consider whether the latter is correct.
libibverbs1 already uses multiarch paths and its postinst keeps working
when executed repeatedly. Thus the marking is correct. libibverbs-dev
and libibverbs-dbg also use multiarch paths and none of the latter has
maintainer scripts, so marking them Multi-Arch: same is correct as well.
The attached patch adds all of those markings. Please consider applying
it after stretch is released.

Helmut

[1] https://bootstrap.debian.net/cross_all/libibverbs.html
diff --minimal -Nru libibverbs-1.2.1/debian/changelog 
libibverbs-1.2.1/debian/changelog
--- libibverbs-1.2.1/debian/changelog   2016-09-13 22:17:54.000000000 +0200
+++ libibverbs-1.2.1/debian/changelog   2017-02-05 08:04:11.000000000 +0100
@@ -1,3 +1,10 @@
+libibverbs (1.2.1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark lib* packages Multi-Arch: same (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sun, 05 Feb 2017 08:04:11 +0100
+
 libibverbs (1.2.1-2) unstable; urgency=medium
 
   * Add patch update_barriers: add barriers for MIPS and
diff --minimal -Nru libibverbs-1.2.1/debian/control 
libibverbs-1.2.1/debian/control
--- libibverbs-1.2.1/debian/control     2016-09-12 00:29:26.000000000 +0200
+++ libibverbs-1.2.1/debian/control     2017-02-05 08:04:04.000000000 +0100
@@ -16,6 +16,7 @@
 
 Package: libibverbs1
 Architecture: any
+Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}, adduser
 Description: Library for direct userspace use of RDMA (InfiniBand/iWARP)
  libibverbs is a library that allows userspace processes to use RDMA
@@ -35,6 +36,7 @@
 Package: libibverbs-dev
 Section: libdevel
 Architecture: any
+Multi-Arch: same
 Depends: ${misc:Depends}, libibverbs1 (= ${binary:Version})
 Description: Development files for the libibverbs library
  libibverbs is a library that allows userspace processes to use RDMA
@@ -53,6 +55,7 @@
 Package: libibverbs1-dbg
 Section: debug
 Architecture: any
+Multi-Arch: same
 Depends: ${misc:Depends}, libibverbs1 (= ${binary:Version})
 Description: Debugging symbols for the libibverbs library
  libibverbs is a library that allows userspace processes to use RDMA

Reply via email to