Bug#980898: elogind: reduce Build-Depends

Helmut Grohne helmut at subdivi.de
Sat Jan 23 18:11:01 GMT 2021


Source: elogind
Version: 246.9.1-1+debian1
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

elogind participates in dependency loops relevant to architecture
bootstrap. Instead of looking into such a difficult problem, I looked
for easily droppable dependencies:
 * libblkid-dev and libmount-dev are mentioned in multiple meson files
   as not needed by elogind. They can be dropped with no replacement.
 * dbus and libglib2.0-dev are used in unit tests only. They can be
   annotated <!nocheck>.

Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru elogind-246.9.1/debian/changelog elogind-246.9.1/debian/changelog
--- elogind-246.9.1/debian/changelog	2020-12-22 17:53:57.000000000 +0100
+++ elogind-246.9.1/debian/changelog	2021-01-23 19:03:38.000000000 +0100
@@ -1,3 +1,12 @@
+elogind (246.9.1-1+debian1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + libblkid-dev and libmount-dev are unused.
+    + dbus and libglib2.0-dev are only used for tests. Mark <!nocheck>.
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sat, 23 Jan 2021 19:03:38 +0100
+
 elogind (246.9.1-1+debian1) unstable; urgency=medium
 
   * New upstream version 246.9.1
diff --minimal -Nru elogind-246.9.1/debian/control elogind-246.9.1/debian/control
--- elogind-246.9.1/debian/control	2020-12-22 17:53:57.000000000 +0100
+++ elogind-246.9.1/debian/control	2021-01-23 19:03:38.000000000 +0100
@@ -21,12 +21,11 @@
                libudev-dev,
                libmount-dev (>= 2.27.1),
                libseccomp-dev (>= 2.3.1) [amd64 arm64 armel armhf i386 mips mipsel mips64 mips64el x32 powerpc ppc64 ppc64el s390x],
-               libblkid-dev (>= 2.24),
                libpam0g-dev (>= 1.1.2),
                libacl1-dev,
                libselinux1-dev,
-               libglib2.0-dev,
-               dbus (>= 1.9.14)
+               libglib2.0-dev <!nocheck>,
+               dbus (>= 1.9.14) <!nocheck>,
 
 Package: elogind
 Section: admin


More information about the Debian-init-diversity mailing list