Source: mercurial
Version: 5.6.1-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: cross-satisfiability

mercurial cannot be cross built from source, because its Build-Depends
are not cross-satisfiable. Rather than look into this difficult problem,
I looked for easily droppable dependencies and there are some. A regular
full build of mercurial on amd64 exactly reproduces the binary artifacts
of a nocheck build with the following Build-Depends turned into
Build-Conflicts:
 * netbase
 * patchutils
 * rename
 * zip
 * unzip

I can spot a number of these in test cases, so annotating them
<!nocheck> seems right, but it might just be that one of these has gone
entirely unused. Please consider applying and improving the attached
patch.

Helmut
diff --minimal -Nru mercurial-5.6.1/debian/changelog 
mercurial-5.6.1/debian/changelog
--- mercurial-5.6.1/debian/changelog    2021-01-08 17:16:53.000000000 +0100
+++ mercurial-5.6.1/debian/changelog    2021-01-17 08:36:12.000000000 +0100
@@ -1,3 +1,10 @@
+mercurial (5.6.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Annotate test dependencies <!nocheck>. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 17 Jan 2021 08:36:12 +0100
+
 mercurial (5.6.1-1) unstable; urgency=medium
 
   * New upstream release.
diff --minimal -Nru mercurial-5.6.1/debian/control 
mercurial-5.6.1/debian/control
--- mercurial-5.6.1/debian/control      2020-10-14 15:07:55.000000000 +0200
+++ mercurial-5.6.1/debian/control      2021-01-17 08:36:00.000000000 +0100
@@ -10,14 +10,14 @@
  debhelper-compat (= 13),
  dh-python,
  gettext,
- netbase,
- patchutils (>= 0.2.25),
+ netbase <!nocheck>,
+ patchutils (>= 0.2.25) <!nocheck>,
  python3-all-dev,
  python3-docutils,
  python3-roman,
- rename,
- unzip,
- zip,
+ rename <!nocheck>,
+ unzip <!nocheck>,
+ zip <!nocheck>,
  less <!nocheck>,
 Standards-Version: 4.5.0
 Homepage: https://www.mercurial-scm.org/

Reply via email to