Package: libupnp-dev
Version: 1:1.6.19+git20160116-1.1
Tags: patch
User: [email protected]
Usertags: rebootstrap
Control: affects -1 + src:amule src:djmount src:gmediaserver 
src:gmrender-resurrect src:linphone src:linux-igd src:mpd src:openclonk 
src:ring src:silverjuke src:vlc src:wmaloader

The affected packages cannot satisfy their cross Build-Depends, because
their dependency on libupnp-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 those source package would receive a build architecture
libupnp when requesting a host architecture one and thus failing to find
libupnp. So libupnp-dev needs to switch to Architecture: any and thus
transfer any architecture constraints to its dependencies. In general,
the architecture of transitional and meta packages should match the
architecture of their main dependency.

The attached patch also adds a few Multi-Arch headers to further aid
cross compilation. Please consider applying both changes.

Helmut
diff --minimal -Nru libupnp-1.6.19+git20160116/debian/changelog 
libupnp-1.6.19+git20160116/debian/changelog
--- libupnp-1.6.19+git20160116/debian/changelog 2016-10-19 22:03:51.000000000 
+0200
+++ libupnp-1.6.19+git20160116/debian/changelog 2016-11-05 06:43:41.000000000 
+0100
@@ -1,3 +1,10 @@
+libupnp (1:1.6.19+git20160116-1.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Switch libupnp-dev to Arch:any and add Multi-Arch (Closes: #-1).
+
+ -- Helmut Grohne <[email protected]>  Sat, 05 Nov 2016 06:43:19 +0100
+
 libupnp (1:1.6.19+git20160116-1.1) unstable; urgency=high
 
   * Non-maintainer upload.
diff --minimal -Nru libupnp-1.6.19+git20160116/debian/control 
libupnp-1.6.19+git20160116/debian/control
--- libupnp-1.6.19+git20160116/debian/control   2016-01-04 09:26:07.000000000 
+0100
+++ libupnp-1.6.19+git20160116/debian/control   2016-11-05 06:42:47.000000000 
+0100
@@ -9,6 +9,7 @@
 
 Package: libupnp6
 Architecture: any
+Multi-Arch: same
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Conflicts: libupnp0, libupnp2, libupnp3, libupnp4 (<< 1.8.0~svn20090313)
@@ -41,7 +42,8 @@
  uPnP.
 
 Package: libupnp-dev
-Architecture: all
+Architecture: any
+Multi-Arch: same
 Section: libdevel
 Depends: libupnp6-dev (>= ${binary:Version}), ${misc:Depends}
 Description: Portable SDK for UPnP Devices (development files)
@@ -56,6 +58,7 @@
 
 Package: libupnp6-dbg
 Architecture: any
+Multi-Arch: same
 Section: debug
 Priority: extra
 Depends: libupnp6 (= ${binary:Version}), ${misc:Depends}
@@ -76,6 +79,7 @@
 
 Package: libupnp6-doc
 Architecture: all
+Multi-Arch: foreign
 Section: doc
 Depends: ${misc:Depends}
 Replaces: libupnp3-dev

Reply via email to