Bug#840205: please turn libgcrypt11-dev into an Arch:any package

Helmut Grohne helmut at subdivi.de
Sun Oct 9 14:55:57 UTC 2016

Package: libgcrypt11-dev
Version: 1.7.3-1
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap
Control: affects -1 + src:aircrack-ng src:aria2 src:bitlbee src:cadaver src:charybdis src:chntpw src:clamfs src:clamz src:collectd src:cupt src:event-dance src:filetea src:fis-gtm src:freeipmi src:garmin-plugin src:gnome-keyring src:gnupg-pkcs11-scd src:hexchat-otr src:irssi-plugin-otr src:jpilot src:kadu src:kadu-mime-tex src:kmess src:kopete src:ktp-common-internals src:kvpnc src:libaacs src:libccrtp src:libccscript3 src:libcommoncpp2 src:libdisplaymigration src:libgnome-keyring src:libgwenhywfar src:libktorrent src:libmtp src:libotr src:libpam-ccreds src:libquvi src:libsecret src:libxslt src:libzrtpcpp src:lightdm src:linux-minidisc src:mcabber src:munge src:netatalk src:openvpn-auth-radius src:php5 src:php7.0 src:pidgin-otr src:poldi src:profanity src:psi-plus src:shishi src:sngrep src:srecord src:stress-ng src:strongswan src:systemd src:tcplay src:twinkle src:ui-gxmlcpp src:ui-utilcpp src:uswsusp src:vdr-plugin-fritzbox src:yubikey-server-c src:yubiserver

The packages listed above cannot satisfy their cross Build-Depends,
because their libgcrypt11-dev dependency is unsatisfiable. In general,
Architecture: all packages that are not marked Multi-Arch: foreign can
never satisfy cross Build-Depends.

In this case, marking it Multi-Arch: foreign would be wrong. The
architecture constraint must be passed through to the real -dev package.
Thus I suggest to simply switch it from Architecture: all to
Architecture: any.

Please consider applying the attached patch. I understand that
libgcrypt11-dev is meant to go away, but fixing all the packages above
takes a long time and prevents them from being cross built now.

-------------- next part --------------
diff --minimal -Nru libgcrypt20-1.7.3/debian/changelog libgcrypt20-1.7.3/debian/changelog
--- libgcrypt20-1.7.3/debian/changelog	2016-08-18 07:47:10.000000000 +0200
+++ libgcrypt20-1.7.3/debian/changelog	2016-10-09 16:28:55.000000000 +0200
@@ -1,3 +1,10 @@
+libgcrypt20 (1.7.3-1.1) UNRELEASED; urgency=medium
+  * Non-maintainer upload.
+  * Turn libgcrypt11-dev into an Arch:any package. (Closes: #-1)
+ -- Helmut Grohne <helmut at subdivi.de>  Sun, 09 Oct 2016 16:28:43 +0200
 libgcrypt20 (1.7.3-1) unstable; urgency=high
   * New upstream version.
diff --minimal -Nru libgcrypt20-1.7.3/debian/control libgcrypt20-1.7.3/debian/control
--- libgcrypt20-1.7.3/debian/control	2016-06-18 07:51:53.000000000 +0200
+++ libgcrypt20-1.7.3/debian/control	2016-10-09 16:28:40.000000000 +0200
@@ -92,8 +92,8 @@
 Package: libgcrypt11-dev
 Section: oldlibs
 Priority: extra
-Architecture: all
-Depends: libgcrypt20-dev (>= ${source:Upstream-Version}), ${misc:Depends}
+Architecture: any
+Depends: libgcrypt20-dev (= ${binary:Version}), ${misc:Depends}
 Breaks: libgnutls-dev (<< 2.12.23-18)
 Description: transitional libgcrypt11-dev package
  This is a transitional dummy package to ease the migration from

More information about the Pkg-gnutls-maint mailing list