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

task cannot be cross built from source, because it has a number of
unsatisfiable Build-Depends. Before thinking too long about this, one
immediately spots that dh-buildinfo is not used (in debian/rules) and
can be dropped with no replacement and that a number of build depends
are required for unit tests only and can thus be tagged <!nocheck>. The
attached patch performs change while ensuring that the resulting .debs
remain identical to unmodified ones. Please consider applying it.

Helmut
diff --minimal -Nru task-2.5.2+dfsg/debian/changelog 
task-2.5.2+dfsg/debian/changelog
--- task-2.5.2+dfsg/debian/changelog    2020-12-15 11:05:56.000000000 +0100
+++ task-2.5.2+dfsg/debian/changelog    2021-01-02 11:26:41.000000000 +0100
@@ -1,3 +1,12 @@
+task (2.5.2+dfsg-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + Drop unused dh-buildinfo.
+    + Annotate test dependencies with <!nocheck>.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 02 Jan 2021 11:26:41 +0100
+
 task (2.5.2+dfsg-1) unstable; urgency=medium
 
   * d/watch: check github instead of taskwarrior.org
diff --minimal -Nru task-2.5.2+dfsg/debian/control 
task-2.5.2+dfsg/debian/control
--- task-2.5.2+dfsg/debian/control      2020-12-15 11:05:56.000000000 +0100
+++ task-2.5.2+dfsg/debian/control      2021-01-02 11:25:58.000000000 +0100
@@ -6,12 +6,11 @@
 Build-Depends: bash-completion,
                cmake,
                debhelper-compat (= 13),
-               dh-buildinfo,
-               git,
+               git <!nocheck>,
                libgnutls28-dev,
-               libjson-perl,
-               libreadline-dev,
-               python3,
+               libjson-perl <!nocheck>,
+               libreadline-dev <!nocheck>,
+               python3 <!nocheck>,
                uuid-dev
 Standards-Version: 4.5.0
 Homepage: https://taskwarrior.org

Reply via email to