Source: dbus-python Version: 1.2.14-1 Tags: patch User: debian-cr...@lists.debian.org Usertags: cross-satisfiability
dbus-python cannot satisfy its cross Build-Depends, because the dependency on sphinx-common is not satisfiable. In general, Architecture: all packages can never satisfy cross Build-Depends unless marked Multi-Arch: foreign or annotated :native. In this case, we can fully elide the depedency from an arch-only build by making the dh addon optional. Please consider applying the attached patch. Helmut
diff --minimal -Nru dbus-python-1.2.14/debian/changelog dbus-python-1.2.14/debian/changelog --- dbus-python-1.2.14/debian/changelog 2019-11-25 20:18:13.000000000 +0100 +++ dbus-python-1.2.14/debian/changelog 2019-12-05 16:13:09.000000000 +0100 @@ -1,3 +1,10 @@ +dbus-python (1.2.14-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Cross satisfiability: remove sphinx-common dependency. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Thu, 05 Dec 2019 16:13:09 +0100 + dbus-python (1.2.14-1) unstable; urgency=medium * New upstream release diff --minimal -Nru dbus-python-1.2.14/debian/control dbus-python-1.2.14/debian/control --- dbus-python-1.2.14/debian/control 2019-11-25 20:18:13.000000000 +0100 +++ dbus-python-1.2.14/debian/control 2019-12-05 16:12:59.000000000 +0100 @@ -27,7 +27,6 @@ python3-all-dev, python3-gi, python3-tap <!nocheck>, - sphinx-common, xmlto, Build-Depends-Indep: python3-sphinx, diff --minimal -Nru dbus-python-1.2.14/debian/rules dbus-python-1.2.14/debian/rules --- dbus-python-1.2.14/debian/rules 2019-11-25 20:18:13.000000000 +0100 +++ dbus-python-1.2.14/debian/rules 2019-12-05 16:07:55.000000000 +0100 @@ -21,7 +21,8 @@ FLAVOURS := $(patsubst %,%-dbg,$(PYTHON2) $(PYTHON3)) $(PYTHON2) $(PYTHON3) %: - dh $@ --with sphinxdoc --buildsystem=autoconf + dh $@ $(DH_ADDONS) --buildsystem=autoconf +build binary %-indep: DH_ADDONS=--with=sphinxdoc # The special case for 2.7-dbg is a workaround. Python 2 doesn't have the # LDVERSION sysconfig variable, which would give AX_PYTHON_DEVEL the