[Debian-ha-maintainers] Bug#980989: corosync: reduce Build-Depends

Helmut Grohne helmut at subdivi.de
Mon Jan 25 05:32:37 GMT 2021


Source: corosync
Version: 3.1.0-2
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

corosync participates in dependency loops relevant to architecture
bootstrap. Instead of working on such a difficult problem, I looked into
easily droppable dependencies. It turns out that while corosync installs
an augeas lens, it does not actually call anything from augeas-tools to
do so. And while it does support an xml based configuration format, it
doesn't parse it using libxml2, but uses xsltproc instead. Therefore,
both augeas-tools and libxml2-dev can be dropped from Build-Depends with
no replacement. Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru corosync-3.1.0/debian/changelog corosync-3.1.0/debian/changelog
--- corosync-3.1.0/debian/changelog	2021-01-01 09:11:36.000000000 +0100
+++ corosync-3.1.0/debian/changelog	2021-01-25 06:23:08.000000000 +0100
@@ -1,3 +1,13 @@
+corosync (3.1.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + Drop unused libxml2-dev dependency. It deals with xml via xsltproc.
+    + Drop unused augeas-tools dependency. While it ships a lens, it does not
+      further integrate with augeas.
+
+ -- Helmut Grohne <helmut at subdivi.de>  Mon, 25 Jan 2021 06:23:08 +0100
+
 corosync (3.1.0-2) unstable; urgency=medium
 
   * [d92f1d8] Drop the log directory placeholder file.
diff --minimal -Nru corosync-3.1.0/debian/control corosync-3.1.0/debian/control
--- corosync-3.1.0/debian/control	2021-01-01 09:11:12.000000000 +0100
+++ corosync-3.1.0/debian/control	2021-01-25 06:23:08.000000000 +0100
@@ -7,7 +7,6 @@
  Ferenc Wágner <wferi at debian.org>,
 Standards-Version: 4.5.1
 Build-Depends:
- augeas-tools,
  debhelper-compat (= 12),
  dctrl-tools,
 # maybe too strict, but the buster dwz failed:
@@ -23,7 +22,6 @@
 # libstatgrab is Linux-only until #823899 and #823900 gets fixed:
  libstatgrab-dev [linux-any],
  libsystemd-dev [linux-any],
- libxml2-dev,
  pkg-config,
  zlib1g-dev
 Build-Depends-Indep:


More information about the Debian-ha-maintainers mailing list