Package: npapi-sdk-dev
Version: 0.27.3~r23-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap
Control: affects -1 + src:icedtea-web src:npapi-vlc src:spice-xpi

The packages listed above fail to satisfy their cross Build-Depends,
because their dependency on npapi-sdk-dev is unsatisfiable. In general,
cross build dependencies on Architecture: all packages are never
satisfiable unless those packages are marked Multi-Arch: foreign. In
this case, the marking is correct, because npapi-sdk-dev does not have
any maintainer scripts nor dependencies that could induce an
architecture awareness.

Furthermore pkg-config will not consider /usr/lib/pkgconfig during cross
compilation and thus miss the shipped .pc files. Please move them to
either /usr/lib/<triplet>/pkgconfig or /usr/share/pkgconfig. The latter
makes more sense for an Architecture: all package.

Both of these issues are addressed in the attached patch. Please
consider applying it.

Helmut
diff --minimal -Nru npapi-sdk-0.27.3~r23/debian/changelog 
npapi-sdk-0.27.3~r23/debian/changelog
--- npapi-sdk-0.27.3~r23/debian/changelog       2014-06-12 14:37:37.000000000 
+0200
+++ npapi-sdk-0.27.3~r23/debian/changelog       2016-10-30 08:06:59.000000000 
+0100
@@ -1,3 +1,11 @@
+npapi-sdk (0.27.3~r23-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Move pkg-config files to /usr/share/pkg-config.
+  * Mark npapi-sdk-dev Multi-Arch: foreign. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 30 Oct 2016 08:06:28 +0100
+
 npapi-sdk (0.27.3~r23-1) unstable; urgency=low
 
   * Initial release (Closes: #642168)
diff --minimal -Nru npapi-sdk-0.27.3~r23/debian/control 
npapi-sdk-0.27.3~r23/debian/control
--- npapi-sdk-0.27.3~r23/debian/control 2014-06-12 14:37:37.000000000 +0200
+++ npapi-sdk-0.27.3~r23/debian/control 2016-10-30 08:04:49.000000000 +0100
@@ -10,6 +10,7 @@
 
 Package: npapi-sdk-dev
 Architecture: all
+Multi-Arch: foreign
 Depends: ${misc:Depends}
 Conflicts: xulrunner-dev, iceweasel-dev
 Description: NPAPI headers bundle for building plugins
diff --minimal -Nru npapi-sdk-0.27.3~r23/debian/npapi-sdk-dev.install 
npapi-sdk-0.27.3~r23/debian/npapi-sdk-dev.install
--- npapi-sdk-0.27.3~r23/debian/npapi-sdk-dev.install   2014-06-12 
14:37:37.000000000 +0200
+++ npapi-sdk-0.27.3~r23/debian/npapi-sdk-dev.install   2016-10-30 
08:05:11.000000000 +0100
@@ -1,2 +1,2 @@
 headers/*              usr/include/npapi-sdk
-build-aux/npapi-sdk.pc usr/lib/pkgconfig
+build-aux/npapi-sdk.pc usr/share/pkgconfig
diff --minimal -Nru npapi-sdk-0.27.3~r23/debian/npapi-sdk-dev.links 
npapi-sdk-0.27.3~r23/debian/npapi-sdk-dev.links
--- npapi-sdk-0.27.3~r23/debian/npapi-sdk-dev.links     2014-06-12 
14:37:37.000000000 +0200
+++ npapi-sdk-0.27.3~r23/debian/npapi-sdk-dev.links     2016-10-30 
08:06:26.000000000 +0100
@@ -1 +1 @@
-usr/lib/pkgconfig/npapi-sdk.pc usr/lib/pkgconfig/mozilla-plugin.pc
+usr/share/pkgconfig/npapi-sdk.pc usr/share/pkgconfig/mozilla-plugin.pc

Reply via email to