Package: libmdds-dev
Version: 1.2.2-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap
Control: affects -1 + src:libetonyek src:libixion src:liborcus src:libreoffice

The affected packages cannot satisfy their cross Build-Depends, because
their (transitive) dependency on libmdds-dev is not satisfiable. In
general, Architecture: all packages can never satisfy cross build
dependencies unless marked Multi-Arch: foreign. In this case, such a
marking would be fatal, because libmdds-dev depends on libboost-dev and
exposes libboost-dev. If libmdds-dev were marked Multi-Arch: foreign, a
host architecture dependency on it would result in the build
architecture libboost-dev. Thus libmdds-dev should become Architecture:
any to transport any architecture constraints to libboost-dev.

Alternatively, if you have more knowledge as to why that dependency
exists and whether it really is needed. libmdds-dev can stay
Architecture: all after removing the dependency on libboost-dev and can
then be marked Multi-Arch: foreign.

I am attaching a patch for the former solution as the latter is not
necessarily correct. Please consider applying it.

Helmut
diff --minimal -Nru mdds-1.2.2/debian/changelog mdds-1.2.2/debian/changelog
--- mdds-1.2.2/debian/changelog 2016-09-10 17:46:53.000000000 +0200
+++ mdds-1.2.2/debian/changelog 2016-11-03 09:34:53.000000000 +0100
@@ -1,3 +1,10 @@
+mdds (1.2.2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Switch libmdds-dev to Architecture: any. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Thu, 03 Nov 2016 09:33:38 +0100
+
 mdds (1.2.2-1) unstable; urgency=medium
 
   * [adc1995] New upstream version 1.2.2
diff --minimal -Nru mdds-1.2.2/debian/control mdds-1.2.2/debian/control
--- mdds-1.2.2/debian/control   2016-06-27 16:24:37.000000000 +0200
+++ mdds-1.2.2/debian/control   2016-11-03 09:33:25.000000000 +0100
@@ -9,7 +9,8 @@
 Homepage: https://gitlab.com/mdds/mdds
 
 Package: libmdds-dev
-Architecture: all
+Architecture: any
+Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}, libboost-dev (>= 1.39)
 Description: Multi Dimension Data structure library -- headers
  A collection of multi-dimensional data structure and indexing algorithm.

Reply via email to