Bug#946110: silx FTCBFS: unsatisfiable cross Build-Depends

Helmut Grohne helmut at subdivi.de
Tue Dec 3 21:02:03 GMT 2019


Source: silx
Version: 0.11.0+dfsg-2
Tags: patch
User: debian-cross at lists.debian.org
Usertags: cross-satisfiability

silx cannot satisfy its cross Build-Depends for many reasons. One of
them is sphinx. However, sphinx is only needed for building the arch:all
documentation package, so it should only be required by
Build-Depends-Indep. The attached patch implements that and thus reduces
dependencies for arch-only builds such as cross builds. Please consider
applying it. I used reproducible builds to verify that the artifacts
remain unchanged by the patch.

Helmut
-------------- next part --------------
diff --minimal -Nru silx-0.11.0+dfsg/debian/changelog silx-0.11.0+dfsg/debian/changelog
--- silx-0.11.0+dfsg/debian/changelog	2019-10-19 13:19:44.000000000 +0200
+++ silx-0.11.0+dfsg/debian/changelog	2019-12-03 20:32:52.000000000 +0100
@@ -1,3 +1,10 @@
+silx (0.11.0+dfsg-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Demote documentation dependencies to B-D-I. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Tue, 03 Dec 2019 20:32:52 +0100
+
 silx (0.11.0+dfsg-2) unstable; urgency=medium
 
   * Use debhelper-compat instead of debian/compat.
diff --minimal -Nru silx-0.11.0+dfsg/debian/control silx-0.11.0+dfsg/debian/control
--- silx-0.11.0+dfsg/debian/control	2019-10-19 13:19:44.000000000 +0200
+++ silx-0.11.0+dfsg/debian/control	2019-12-03 20:32:44.000000000 +0100
@@ -12,7 +12,6 @@
                help2man,
                ipython3,
                ipython3-qtconsole,
-               pandoc <!nodoc>,
                python3-all-dbg,
                python3-all-dev,
                python3-fabio,
@@ -22,7 +21,6 @@
                python3-mako,
                python3-matplotlib,
                python3-matplotlib-dbg,
-               python3-nbsphinx <!nodoc>,
                python3-numpy,
                python3-numpy-dbg,
                python3-opengl,
@@ -38,10 +36,13 @@
                python3-scipy,
                python3-scipy-dbg,
                python3-setuptools,
-               python3-sphinx,
-               python3-sphinxcontrib.programoutput,
                xauth,
                xvfb
+Build-Depends-Indep:
+               pandoc <!nodoc>,
+               python3-nbsphinx <!nodoc>,
+               python3-sphinx,
+               python3-sphinxcontrib.programoutput,
 Standards-Version: 4.1.3
 Vcs-Browser: https://salsa.debian.org/science-team/silx
 Vcs-Git: https://salsa.debian.org/science-team/silx.git
diff --minimal -Nru silx-0.11.0+dfsg/debian/rules silx-0.11.0+dfsg/debian/rules
--- silx-0.11.0+dfsg/debian/rules	2019-10-19 13:19:44.000000000 +0200
+++ silx-0.11.0+dfsg/debian/rules	2019-12-03 20:31:15.000000000 +0100
@@ -11,6 +11,8 @@
 export SPECFILE_USE_GNU_SOURCE=1
 export SILX_FULL_INSTALL_REQUIRES=1
 
+DOPACKAGES=$(shell dh_listpackages)
+
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 # Make does not offer a recursive wildcard function, so here's one:
@@ -24,7 +26,8 @@
 PY3VER := $(shell py3versions -dv)
 
 %:
-	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
+	dh $@ --with python3 $(DH_ADDONS) --buildsystem=pybuild
+build binary %-indep: DH_ADDONS=--with=sphinxdoc
 
 override_dh_clean:
 	dh_clean


More information about the debian-science-maintainers mailing list