Package: libgarcon-common,libgarcon-1-0-dev Version: 0.6.1-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap Control: affects -1 + src:vala-panel-appmenu src:xfce4-cpufreq-plugin src:xfce4-cpugraph-plugin src:xfce4-equake-plugin src:xfce4-hdaps src:xfce4-messenger-plugin src:xfce4-panel src:xfce4-places-plugin src:xfce4-power-manager src:xfce4-settings src:xfce4-whiskermenu-plugin src:xfce4-wmdock-plugin src:xfce4-xkb-plugin src:xfdesktop4 src:xfswitch-plugin
The affected packages cannot satify their cross Build-Depends. Each of them has a transitive dependency reaching out to libgarcon-common or libgarcon-1-0-dev. Both of these packages are Architecture: all and thus can never satisfy cross Build-Depends unless marked Multi-Arch: foreign. For libgarcon-common that marking is correct as it lacks maintainer scripts and dependencies, but for libgarcon-1-0-dev that marking would be fatal: It would pull the build architecture libgarcon-1-dev and cross builds would be unable to find the library for the host architecture. Thus libgarcon-1-0-dev must be switched to Architecture: any. Rule of thumb: Transitional packages should copy the Architecture field of their target dependency. The attached patch implements both changes and additionally marks all packages Multi-Arch: same (as that happens to be correct and might help lateron). Please consider applying it. Helmut
diff --minimal -Nru garcon-0.6.1/debian/changelog garcon-0.6.1/debian/changelog --- garcon-0.6.1/debian/changelog 2017-09-03 19:14:03.000000000 +0200 +++ garcon-0.6.1/debian/changelog 2018-02-12 06:31:08.000000000 +0100 @@ -1,3 +1,16 @@ +garcon (0.6.1-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix cross build issues: closes: #-1 + + Switch transitional package libgarcon-1-0-dev to Architecture: any to + allow satisfying dependencies from non-native architectures. It cannot + be Multi-Arch: foreign due to its dependency on libgarcon-1-dev. + + Mark libgarcon-common Multi-Arch: foreign to allow satisfying + dependencies from non-native architectures. + + Mark all other packages Multi-Arch: same to allow coinstallation. + + -- Helmut Grohne <hel...@subdivi.de> Mon, 12 Feb 2018 06:31:08 +0100 + garcon (0.6.1-2) unstable; urgency=medium [ Unit 193 ] diff --minimal -Nru garcon-0.6.1/debian/control garcon-0.6.1/debian/control --- garcon-0.6.1/debian/control 2017-07-26 00:32:41.000000000 +0200 +++ garcon-0.6.1/debian/control 2018-02-12 06:30:58.000000000 +0100 @@ -22,6 +22,7 @@ Package: libgarcon-1-dev Section: libdevel Architecture: any +Multi-Arch: same Depends: libgarcon-1-0 (= ${binary:Version}), ${misc:Depends} Breaks: libgarcon-1-0-dev (<< 0.6.1-1~) Provides: libgarcon-1-0-dev @@ -36,13 +37,15 @@ Priority: extra Depends: libgarcon-1-dev, ${misc:Depends} -Architecture: all +Architecture: any +Multi-Arch: same Description: transitional package for libgarcon-1-dev This package has been renamed to libgarcon-1-dev. Package: libgarcon-gtk3-1-dev Section: libdevel Architecture: any +Multi-Arch: same Depends: libgarcon-gtk3-1-0 (= ${binary:Version}), libgarcon-1-dev, libxfce4ui-2-dev, @@ -55,6 +58,7 @@ Package: libgarcon-1-0 Section: libs Architecture: any +Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: libgarcon-common, ${misc:Depends}, ${shlibs:Depends} Description: freedesktop.org compliant menu implementation for Xfce @@ -66,6 +70,7 @@ Package: libgarcon-gtk3-1-0 Section: libs Architecture: any +Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Description: menu library for Xfce (GTK3 library) @@ -77,6 +82,7 @@ Package: libgarcon-common Section: libs Architecture: all +Multi-Arch: foreign Depends: ${misc:Depends}, ${shlibs:Depends} Replaces: libgarcon-1-0 (<< 0.1.2-1), xfdesktop4 (<< 4.7.0),