Bug#842545: switch transitional package kdoctools-dev to Architecture: any
Package: kdoctools-dev
Version: 5.27.0-1
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
Control: affects -1 + src:ark src:artikulate src:blinken src:bomber src:bovo src:cantor src:dolphin src:dragon src:filelight src:granatier src:k4dirstat src:kaffeine src:kalgebra src:kamera src:kanagram src:kapman src:kapptemplate src:kate src:katomic src:kblackbox src:kblocks src:kbounce src:kbreakout src:kbruch src:kcalc src:kcharselect src:kconfigwidgets src:kcron src:kde-spectacle src:kded src:kdelibs4support src:kdenetwork-filesharing src:kdenlive src:kdesignerplugin src:kdf src:kdiamond src:kf5-kdepimlibs src:kfloppy src:kfourinline src:kgeography src:khangman src:khelpcenter src:kid3 src:kig src:killbots src:kinit src:kio src:kio-extras src:kiriki src:kiten src:kjs src:kjsembed src:kjumpingcube src:kleopatra src:klettres src:klickety src:klines src:kmahjongg src:kmines src:kmplot src:knavalbattle src:knetwalk src:kollision src:kompare src:konsole src:konversation src:kpackage src:kpat src:krfb src:kross src:kruler src:kshisen src:ksquares src:ksystemlog src:kteatime src:ktimer src:kturtle src:kwallet-kf5 src:kwalletmanager src:kwave src:kwordquiz src:lokalize src:marble src:okteta src:parley src:picmi src:plasma-framework src:poxml src:rocs src:rsibreak src:skanlite src:skrooge src:step src:umbrello
The affected packages cannot satisfy their cross Build-Depends, because
their dependencies on kdoctools-dev are unsatisfiable. In general,
Architecture: all packages can never satisfy cross build dependencies
unless marked Multi-Arch: foreign. In this case, a foreign marking would
be fatal as it would result in installing the build architecture version
of libkf5doctools-dev when the host architecture version was requested.
An Architecture: all package cannot forward an architecture constraint
to its dependencies. In general, the Architecture field of transitional
packages should match the Architecture field of the target package. Thus
switching kdoctools-dev to Architecture: any is the right solution here.
In addition to changing the Architecture, the attached patch adds
Multi-Arch annotations as appropriate. Please consider applying this
aspect as well.
I understand that kdoctools-dev is meant to go away. I believe that the
high number of reverse dependencies justifies putting a little more
effort here.
Helmut
diff --minimal -Nru kdoctools-5.27.0/debian/changelog kdoctools-5.27.0/debian/changelog
--- kdoctools-5.27.0/debian/changelog 2016-10-15 16:59:47.000000000 +0200
+++ kdoctools-5.27.0/debian/changelog 2016-10-30 10:51:11.000000000 +0100
@@ -1,3 +1,11 @@
+kdoctools (5.27.0-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Switch kdoctools-dev to Architecture: any. (Closes: #-1)
+ * Mark {libkf5,k}doctools-dev Multi-Arch: same.
+
+ -- Helmut Grohne <helmut@subdivi.de> Sun, 30 Oct 2016 10:50:11 +0100
+
kdoctools (5.27.0-1) unstable; urgency=medium
[ Automatic packaging ]
diff --minimal -Nru kdoctools-5.27.0/debian/control kdoctools-5.27.0/debian/control
--- kdoctools-5.27.0/debian/control 2016-10-15 16:59:47.000000000 +0200
+++ kdoctools-5.27.0/debian/control 2016-10-30 10:50:06.000000000 +0100
@@ -23,7 +23,8 @@
Package: kdoctools-dev
Depends: libkf5doctools-dev, ${misc:Depends}
-Architecture: all
+Architecture: any
+Multi-Arch: same
Priority: extra
Section: oldlibs
Description: transitional dummy package
@@ -33,6 +34,7 @@
Package: libkf5doctools-dev
Section: libdevel
Architecture: any
+Multi-Arch: same
Depends: kdoctools5 (= ${binary:Version}),
libkf5archive-dev (>= 5.27.0~),
qtbase5-dev (>= 5.5.0~),
Reply to: