diff options
author | Daniel Black <daniel@mariadb.org> | 2021-10-13 09:05:56 +1100 |
---|---|---|
committer | Daniel Black <daniel@mariadb.org> | 2021-10-13 13:17:23 +1100 |
commit | 8c5e5e1be9353b90f341aad73cb3d2ed7c405a96 (patch) | |
tree | f5ac71b056abcf10538914f48ed60e00d4676a8b | |
parent | 6ba63f86e71083e0b458aadc913285c8fec490e4 (diff) | |
download | mariadb-git-8c5e5e1be9353b90f341aad73cb3d2ed7c405a96.tar.gz |
Deb: zstd to disabled in stretch
Debian stretch is supported until Jun 2022.
MyRocks definitavely does require 1.1.3+.
Mroonga has never been zstd enabled, though
support for it exists in the codebase.
While a 1.1.3+ version exists in stretch backports
we don't support this.
Fixes: b67210b1054118fe14b6346bdee3f9bbd3416870
-rwxr-xr-x | debian/autobake-deb.sh | 9 | ||||
-rw-r--r-- | debian/control | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/debian/autobake-deb.sh b/debian/autobake-deb.sh index e695d27b4c2..2b9b87ce23e 100755 --- a/debian/autobake-deb.sh +++ b/debian/autobake-deb.sh @@ -88,6 +88,15 @@ then sed '/-DWITH_PMEM=yes/d' -i debian/rules fi +# Debian stretch doesn't support the zstd version 1.1.3 required +# for RocksDB. zstd isn't enabled in Mroonga even though code exists +# for it. If someone happens to have a non-default zstd installed +# (not 1.1.2), assume its a backport and build with it. +if [ "$(lsb_release -sc)" = stretch ] && [ "$(apt-cache madison 'libzstd-dev' | grep -v 1.1.2)" = '' ] +then + sed '/libzstd-dev/d' -i debian/control +fi + # Adjust changelog, add new version echo "Incrementing changelog and starting build scripts" diff --git a/debian/control b/debian/control index 290dd37d98c..22f0bea2b7b 100644 --- a/debian/control +++ b/debian/control @@ -38,7 +38,7 @@ Build-Depends: bison, libsystemd-dev [linux-any], liburing-dev [linux-any], libxml2-dev, - libzstd-dev (>= 1.3.3), + libzstd-dev (>= 1.1.3), lsb-release, perl:any, po-debconf, |