Source: html-xml-utils
Version: 7.7-1
Tags: patch
Control: block -1 by 902240
User: helm...@debian.org
Usertags: rebootstrap

html-xml-utils participates in dependency loops relevant to architecture
bootstrap. Rathern than look into such a difficult problem, I looked
into easily droppable dependencies. I rediscovered man2html (#902240),
but also found that netcat-openbsd is only needed for testing and can
thus be annotated <!nocheck>. Beyond that, my tooling reports gperf,
because the build falls back to using prebuilt files. Instead of
dropping it, I suggest cleaning the generated files to force building
them. Please consider applying the attached patch.

Helmut
diff --minimal -Nru html-xml-utils-7.7/debian/changelog 
html-xml-utils-7.7/debian/changelog
--- html-xml-utils-7.7/debian/changelog 2018-05-02 08:23:36.000000000 +0200
+++ html-xml-utils-7.7/debian/changelog 2021-01-31 11:13:20.000000000 +0100
@@ -1,3 +1,13 @@
+html-xml-utils (7.7-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + Drop man2html unused since 2015-03-12.
+    + Annotate netcat-openbsd dependency <!nocheck>.
+    + Clean gperf-generated files to ensure rebuilding them.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 31 Jan 2021 11:13:20 +0100
+
 html-xml-utils (7.7-1) unstable; urgency=medium
 
   * New upstream release.
diff --minimal -Nru html-xml-utils-7.7/debian/clean 
html-xml-utils-7.7/debian/clean
--- html-xml-utils-7.7/debian/clean     1970-01-01 01:00:00.000000000 +0100
+++ html-xml-utils-7.7/debian/clean     2021-01-31 11:13:20.000000000 +0100
@@ -0,0 +1,2 @@
+dtd.c
+unent.c
diff --minimal -Nru html-xml-utils-7.7/debian/control 
html-xml-utils-7.7/debian/control
--- html-xml-utils-7.7/debian/control   2018-05-02 08:23:36.000000000 +0200
+++ html-xml-utils-7.7/debian/control   2021-01-31 11:13:20.000000000 +0100
@@ -8,8 +8,7 @@
                gperf,
                libcurl4-gnutls-dev (>> 7.9.7) | libcurl-dev (>> 7.9.7),
                libidn2-0-dev,
-               man2html,
-               netcat-openbsd
+               netcat-openbsd <!nocheck>,
 Standards-Version: 4.1.4
 Homepage: https://www.w3.org/Tools/HTML-XML-utils/
 Vcs-Browser: https://salsa.debian.org/rnaundorf-guest/html-xml-utils

Reply via email to