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

git cannot be cross built from source, because its Build-Depends are not
cross satisfiable. Instead of looking into such a difficult problem, I
looked for easily droppable dependencies. Given that git is normally
reproducible, one can easily verify that a nocheck build with the
following dependencies turned into Build-Conflicts exactly reproduces a
regular build if one keeps debian/changelog unmodified:

 * subversion
 * libsvn-perl
 * libyaml-perl
 * libhttp-date-perl
 * libcgi-pm-perl
 * liberror-perl
 * libmailtools-perl
 * cvs
 * cvsps
 * libdbd-sqlite3-perl
 * unzip
 * libio-pty-perl

It could be that some of these really are unused, but that's difficult
to tell without deeper git knowledge. The safe bet is annotating them
<!nocheck>. Please consider applying the attached patch.

Helmut
diff --minimal -Nru git-2.30.0/debian/changelog git-2.30.0/debian/changelog
--- git-2.30.0/debian/changelog 2020-12-29 01:22:30.000000000 +0100
+++ git-2.30.0/debian/changelog 2021-01-26 10:53:55.000000000 +0100
@@ -1,3 +1,10 @@
+git (1:2.30.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Annotate test dependencies <!nocheck>. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 26 Jan 2021 10:53:55 +0100
+
 git (1:2.30.0-1) unstable; urgency=low
 
   * new upstream release (see RelNotes/2.30.0.txt).
diff --minimal -Nru git-2.30.0/debian/control git-2.30.0/debian/control
--- git-2.30.0/debian/control   2020-12-29 01:21:37.000000000 +0100
+++ git-2.30.0/debian/control   2021-01-26 10:53:54.000000000 +0100
@@ -6,14 +6,14 @@
 Build-Depends: libz-dev, gettext,
  libpcre2-dev | libpcre3-dev,
  libcurl4-gnutls-dev, libexpat1-dev,
- subversion, libsvn-perl, libyaml-perl,
+ subversion <!nocheck>, libsvn-perl <!nocheck>, libyaml-perl <!nocheck>,
  tcl, python3,
- libhttp-date-perl | libtime-parsedate-perl,
- libcgi-pm-perl,
- liberror-perl,
- libmailtools-perl,
- cvs, cvsps, libdbd-sqlite3-perl,
- unzip, libio-pty-perl,
+ libhttp-date-perl <!nocheck> | libtime-parsedate-perl <!nocheck>,
+ libcgi-pm-perl <!nocheck>,
+ liberror-perl <!nocheck>,
+ libmailtools-perl <!nocheck>,
+ cvs <!nocheck>, cvsps <!nocheck>, libdbd-sqlite3-perl <!nocheck>,
+ unzip <!nocheck>, libio-pty-perl <!nocheck>,
  debhelper-compat (= 10),
  dh-exec (>= 0.7),
  dh-apache2,

Reply via email to