Source: postgresql-13
Version: 13.1-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

postgresql-13 is a central package with many dependencies. As such it is
involved in architecture bootstrap via dependency cycles. Rather than
working on such hard problems, I've looked into easily droppable
dependencies and postgresql-13 has two:

 * gdb is used in debian/rules in a nocheck-guarded section. Please
   annotate it <!nocheck>. Such dependencies become irrelevant to
   bootstrapping.
 * docbook-xml is not used. There is a
   doc/src/sgml/standalone-install.xml file, but it is not built. As
   such the dependency is not needed.

Please consider applying the attached patch. I checked that a modified
postgresql-13 with these dependencies turned into Build-Conflicts
exactly reproduces the original .debs.

Helmut
--- postgresql-13-13.1/debian/changelog
+++ postgresql-13-13.1/debian/changelog
@@ -1,3 +1,12 @@
+postgresql-13 (13.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + docbook-xml is unused as standalone-install.xml is not built.
+    + gdb is only used for testing.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 06 Jan 2021 17:00:38 +0100
+
 postgresql-13 (13.1-1) unstable; urgency=medium
 
   * New upstream version.
--- postgresql-13-13.1/debian/control
+++ postgresql-13-13.1/debian/control
@@ -13,11 +13,10 @@
  clang-11 [!alpha !hppa !hurd-i386 !ia64 !kfreebsd-amd64 !kfreebsd-i386 !m68k 
!powerpc !riscv64 !sh4 !sparc64 !x32],
  debhelper-compat (= 13),
  dh-exec (>= 0.13~),
- docbook-xml,
  docbook-xsl (>= 1.77),
  dpkg-dev (>= 1.16.1~),
  flex,
- gdb,
+ gdb <!nocheck>,
  gettext,
  libicu-dev,
  libio-pty-perl,

Reply via email to