[Pkg-xfce-devel] Bug#842563: mark libxfce4util-common Multi-Arch: foreign

Helmut Grohne helmut at subdivi.de
Sun Oct 30 12:10:09 UTC 2016


Package: libxfce4util-common
Version: 4.12.1-2
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap
Control: affects -1 + src:desktopnova src:exo src:garcon src:libxfce4ui src:libxfcegui4 src:parole src:ristretto src:thunar src:thunar-volman src:xfburn src:xfce4-appfinder src:xfce4-cpufreq-plugin src:xfce4-cpugraph-plugin src:xfce4-datetime-plugin src:xfce4-diskperf-plugin src:xfce4-equake-plugin src:xfce4-hdaps src:xfce4-indicator-plugin src:xfce4-mpc-plugin src:xfce4-notifyd src:xfce4-panel src:xfce4-places-plugin src:xfce4-power-manager src:xfce4-pulseaudio-plugin src:xfce4-settings src:xfce4-verve-plugin src:xfce4-whiskermenu-plugin src:xfce4-xkb-plugin src:xfconf src:xfdesktop4 src:xfwm4

The affected packages cannot satisfy their cross Build-Depends, because
their (transitive) dependency on libxfce4util-common is not satisfiable.
In general, Architecture: all packages cannot satisfy cross build
dependencies unless marked Multi-Arch: foreign. In this case, such a
marking is correct, because libxfce4util-common does not have any
maintainer scripts or dependencies.

The attached patch also adds a Multi-Arch: same markings to
libxfce4util7, libxfce4util7-dbg and libxfce4util-dev. Of these, only
libxfce4util7 has maintainer scripts and those scripts are turned into
triggers on the next rebuild. Their content nicely lives on
architecture-specific paths or does not vary per architecture, so
marking them Multi-Arch: same is correct. Please consider applying the
full patch.

Helmut
-------------- next part --------------
diff --minimal -Nru libxfce4util-4.12.1/debian/changelog libxfce4util-4.12.1/debian/changelog
--- libxfce4util-4.12.1/debian/changelog	2015-05-06 15:34:32.000000000 +0200
+++ libxfce4util-4.12.1/debian/changelog	2016-10-30 12:36:46.000000000 +0100
@@ -1,3 +1,12 @@
+libxfce4util (4.12.1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add Multi-Arch stanzas: (Closes: #-1)
+    + libxfce4util-common: foreign
+    + libxfce4util7, libxfce4util7-dbg, libxfce4util-dev: same
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sun, 30 Oct 2016 12:35:46 +0100
+
 libxfce4util (4.12.1-2) unstable; urgency=medium
 
   * Upload to unstable.
diff --minimal -Nru libxfce4util-4.12.1/debian/control libxfce4util-4.12.1/debian/control
--- libxfce4util-4.12.1/debian/control	2015-03-08 15:09:57.000000000 +0100
+++ libxfce4util-4.12.1/debian/control	2016-10-30 12:35:43.000000000 +0100
@@ -13,6 +13,7 @@
 
 Package: libxfce4util-dev
 Architecture: any
+Multi-Arch: same
 Section: libdevel
 Depends: libxfce4util7 (= ${binary:Version}), ${misc:Depends}, libglib2.0-dev
 Suggests: devhelp
@@ -26,6 +27,7 @@
 
 Package: libxfce4util7
 Architecture: any
+Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}, libxfce4util-common
 Recommends: libxfce4util-bin
@@ -37,6 +39,7 @@
 Package: libxfce4util7-dbg
 Section: debug
 Architecture: any
+Multi-Arch: same
 Priority: extra
 Depends: ${shlibs:Depends}, ${misc:Depends}, libxfce4util7 (= ${binary:Version})
 Description: debugging information for libxfce4util7
@@ -55,6 +58,7 @@
 
 Package: libxfce4util-common
 Architecture: all
+Multi-Arch: foreign
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Breaks: libxfce4util4 (<< 4.6.1-2)
 Replaces: libxfce4util4 (<< 4.6.1-2)


More information about the Pkg-xfce-devel mailing list