[debian-mysql] Bug#979606: mariadb-10.5: reduce Build-Depends
Helmut Grohne
helmut at subdivi.de
Fri Jan 8 16:11:00 GMT 2021
Source: mariadb-10.5
Version: 1:10.5.8-3
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap
Hi,
mariadb-10.5 is involved in a number of dependency cycles relevant to
architecture bootstrap. Instead of looking into particular cycles, I
looked into easily droppable dependencies to reduce the size of the
problem. Here we go:
* chrpath seems entirely unused.
* cracklib-runtime is referenced in a number of tests, but not
elsewhere. I think it can be annotated <!nocheck>.
* apparmor is disabled. I think that means dh-apparmor can be dropped.
* gdb is referenced from tests only. I also propose <!nocheck> here.
* libarchive-dev is only used in ds_archive.cc, which is not built.
I've compared the resulting .debs of a build with these dependencies and
a nocheck build that turned these into Build-Conflicts. Given that
mariadb-10.5 is normally reproducible, these matched exactly. As such it
seems relatively safe to just apply my patch.
Helmut
-------------- next part --------------
--- mariadb-10.5-10.5.8/debian/changelog
+++ mariadb-10.5-10.5.8/debian/changelog
@@ -1,3 +1,15 @@
+mariadb-10.5 (1:10.5.8-3.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Reduce Build-Depends: (Closes: #-1)
+ + chrpath is not used at all.
+ + cracklib-runtime is only used for testing.
+ + apparmor is disabled. dh-apparmor is unused.
+ + gdb is only used for testing.
+ + libarchive-dev is only used in ds_archive.cc, which is not built.
+
+ -- Helmut Grohne <helmut at subdivi.de> Fri, 08 Jan 2021 16:29:19 +0100
+
mariadb-10.5 (1:10.5.8-3) unstable; urgency=medium
* Re-introduce deprecated transitional libmariadbclient-dev package
--- mariadb-10.5-10.5.8/debian/control
+++ mariadb-10.5-10.5.8/debian/control
@@ -4,15 +4,12 @@
Maintainer: Debian MySQL Maintainers <pkg-mysql-maint at lists.alioth.debian.org>
Uploaders: Otto Kekäläinen <otto at debian.org>
Build-Depends: bison,
- chrpath,
cmake,
- cracklib-runtime,
+ cracklib-runtime <!nocheck>,
debhelper (>= 10),
- dh-apparmor,
dh-exec,
- gdb,
+ gdb <!nocheck>,
libaio-dev [linux-any],
- libarchive-dev,
libboost-dev,
libcrack2-dev (>= 2.9.0),
libcurl4-openssl-dev | libcurl4-dev,
More information about the pkg-mysql-maint
mailing list