[Debian-ha-maintainers] Bug#979368: pacemaker should drop unused Build-Depends
Helmut Grohne
helmut at subdivi.de
Tue Jan 5 20:21:33 GMT 2021
Source: pacemaker
Version: 2.0.5-1
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap
pacemaker has a lot of build dependencies and is involved in a number of
dependency cycles relevant to architecture bootstrap. Before looking
into the actual cycles, an easy measure is dropping those that are not
used in any way. Here we go:
* dctrl-tools is documented (thanks) as being used for
debian/check_header_deps. That file does not exist.
* libesmtp-dev seems entirely unused. I looked for #includes or
something that would link it to no avail.
* libsnmp-dev also seems unused. I couldn't find and use of it.
* libsensors-dev is documented as used by net-snmp-config --agent-libs,
which we just dropped.
The nice thing is that pacemaker builds reproducibly. I attempted a
build with all of these dependencies turned into Build-Conflicts and
doing so results in bit-identical artifacts. It seems like a relatively
safe bet that we can just drop them. Please consider applying my patch.
Helmut
-------------- next part --------------
diff --minimal -Nru pacemaker-2.0.5/debian/changelog pacemaker-2.0.5/debian/changelog
--- pacemaker-2.0.5/debian/changelog 2020-12-26 18:25:28.000000000 +0100
+++ pacemaker-2.0.5/debian/changelog 2021-01-05 20:54:59.000000000 +0100
@@ -1,3 +1,10 @@
+pacemaker (2.0.5-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Drop unused Build-Depends. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Tue, 05 Jan 2021 20:54:59 +0100
+
pacemaker (2.0.5-1) unstable; urgency=medium
* [b0f97de] New upstream release (2.0.5)
diff --minimal -Nru pacemaker-2.0.5/debian/control pacemaker-2.0.5/debian/control
--- pacemaker-2.0.5/debian/control 2020-11-18 19:02:38.000000000 +0100
+++ pacemaker-2.0.5/debian/control 2021-01-05 20:54:37.000000000 +0100
@@ -7,8 +7,6 @@
Adrian Vondendriesch <adrian.vondendriesch at credativ.de>,
Build-Depends:
cluster-glue-dev,
-# debian/check_header_deps needs:
- dctrl-tools,
debhelper-compat (= 12),
dh-exec,
dh-python,
@@ -20,7 +18,6 @@
libcmap-dev (>= 1.99),
libcpg-dev (>= 1.99),
libdbus-1-dev,
- libesmtp-dev,
libglib2.0-dev,
libgnutls28-dev,
libltdl-dev,
@@ -28,9 +25,6 @@
libpam0g-dev,
libqb-dev (>= 0.17.1),
libquorum-dev (>= 1.99),
-# net-snmp-config --agent-libs contains -lsensors in sid on 2015-09-15
- libsensors-dev,
- libsnmp-dev,
libxml2-dev,
libxml2-utils,
libxslt1-dev,
More information about the Debian-ha-maintainers
mailing list