Source: botan
Version: 2.17.3+dfsg-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: cross-satisfiability

botan cannot be cross built from source, because its python3-sphinx
dependency is not satisfiable. It turns out that it is only needed for
building the -doc package, so it should be movable to B-D-I. When doing
so, the build fails finding rst2man. That script comes with
python3-docutils, which is part of python3-sphinx' dependency tree. When
moving it, the python3-docutils dependency must be added. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru botan-2.17.3+dfsg/debian/changelog 
botan-2.17.3+dfsg/debian/changelog
--- botan-2.17.3+dfsg/debian/changelog  2020-12-22 07:15:56.000000000 +0100
+++ botan-2.17.3+dfsg/debian/changelog  2021-02-17 14:29:22.000000000 +0100
@@ -1,3 +1,13 @@
+botan (2.17.3+dfsg-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + Move python3-sphinx to B-D-I.
+    + Explicitly B-D: python3-docutils for rst2man no longer implied by
+      python3-sphinx.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 17 Feb 2021 14:29:22 +0100
+
 botan (2.17.3+dfsg-1) unstable; urgency=medium
 
   * New upstream release.
diff --minimal -Nru botan-2.17.3+dfsg/debian/control 
botan-2.17.3+dfsg/debian/control
--- botan-2.17.3+dfsg/debian/control    2020-11-05 17:57:32.000000000 +0100
+++ botan-2.17.3+dfsg/debian/control    2021-02-17 14:29:22.000000000 +0100
@@ -5,14 +5,16 @@
 Build-Depends:
  debhelper-compat (= 12),
  dh-python,
- python3-sphinx,
  libbz2-dev,
  liblzma-dev,
  libssl-dev,
  libsqlite3-dev,
  libtspi-dev,
  zlib1g-dev,
- python3-all-dev
+ python3-all-dev,
+ python3-docutils,
+Build-Depends-Indep:
+ python3-sphinx,
 Standards-Version: 4.5.0
 Homepage: https://botan.randombit.net/
 

Reply via email to