--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libgarcon-common and libgarcon-1-0-dev cannot satify dependencies from foreign architectures
- From: Helmut Grohne <helmut@subdivi.de>
- Date: Mon, 12 Feb 2018 06:43:33 +0100
- Message-id: <20180212054332.GA10824@alf.mars>
Package: libgarcon-common,libgarcon-1-0-dev
Version: 0.6.1-2
Tags: patch
User: helmutg@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 <helmut@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),
--- End Message ---
--- Begin Message ---
Source: garcon
Source-Version: 0.6.3-1
We believe that the bug you reported is fixed in the latest version of
garcon, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 890223@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Yves-Alexis Perez <corsac@debian.org> (supplier of updated garcon package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 13 Jul 2019 13:26:02 +0200
Source: garcon
Architecture: source
Version: 0.6.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Xfce Maintainers <debian-xfce@lists.debian.org>
Changed-By: Yves-Alexis Perez <corsac@debian.org>
Closes: 890223
Changes:
garcon (0.6.3-1) unstable; urgency=medium
.
[ Unit 193 ]
* New upstream version 0.6.3
* d/compat, d/control:
- Drop d/compat in favor of debhelper-compat, bump to 11.
* d/control: Build-depend on gtk-doc-tools and xfce4-dev-tools.
* d/rules:
- Drop the now-default options '--parallel' and '--disable-silent-rules'.
- Drop dbgsym migration, it is complete.
- Use dh_missing instead of dh_install --fail-missing.
* Bump Standards-Version to 4.4.0.
.
[ Helmut Grohne ]
* Fix cross build issues: closes: #890223
+ 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.
Checksums-Sha1:
59096d5e4766746265fe45336a7c21b8347bedca 2128 garcon_0.6.3-1.dsc
e3fa4f1ce100e8b9ff1ec1207a7ed5d163d3319d 538164 garcon_0.6.3.orig.tar.bz2
3ff8ebcc2da2273496147bfa58c39db2f9501de9 5068 garcon_0.6.3-1.debian.tar.xz
a2acda6a97799fc9cbf619eebe831bd3aaa45f5d 17976 garcon_0.6.3-1_amd64.buildinfo
Checksums-Sha256:
8cc89581cc3ef5aebabb397668c87ae774781e886a5cb21e82fffae8cf441b7d 2128 garcon_0.6.3-1.dsc
76b1fea531363e9c5e767f1899039b4fe854edf23f6c0f260807e5551f798401 538164 garcon_0.6.3.orig.tar.bz2
36d3c3d5e74c1a7569bc59758c17c320d2335173c1bc4591632a2156b1a296c8 5068 garcon_0.6.3-1.debian.tar.xz
54bdd33b61b0dc7fc1640fe63dde8001a237a6a84d53d4cb10aea191f1e631db 17976 garcon_0.6.3-1_amd64.buildinfo
Files:
cf823b5895571141f55fd91e5a46a0eb 2128 xfce optional garcon_0.6.3-1.dsc
3b54d210adec3b6be781a1da26b53da2 538164 xfce optional garcon_0.6.3.orig.tar.bz2
7207b4a282517da17be69e8916ce2b66 5068 xfce optional garcon_0.6.3-1.debian.tar.xz
8315d11426f4596b911409970e5b8588 17976 xfce optional garcon_0.6.3-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAl0pwdMACgkQ3rYcyPpX
RFtNtgf/TKmAXFUpvAUWtl0SduRNpXD+aaoV9+ryvrlRwceLepEZCCfFAnN5L4HR
e4QKkGNVkL2TcGfkJLMwvPzARLX1A24OviNb6psQd/LSXZRwiK0G//pLg9NIw0tP
x4udy7M42b01fXAA0Dy4As2WQXdEnrghkZhUVTqqaq8O1pd9MqSVTfxRsDrAzlQ1
F4wbXbYKtvVJkHnFchnffDrnU/EKGrjEm5t8ZuMaOs8+v4ZuiCBckQoUG9Q6mcS1
EyjKiQnkeOcbX4Wm5FKQnOE9BZkKEwYo+QuLC7aQJEoV53rrZ4rp6VrnrW7Nj8vw
uGO8LbhGvUhgnQ8ChUexZMpPJKaWLg==
=SgMU
-----END PGP SIGNATURE-----
--- End Message ---