Commit 8c5e5e1b authored by Daniel Black's avatar Daniel Black

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
parent 6ba63f86
...@@ -88,6 +88,15 @@ then ...@@ -88,6 +88,15 @@ then
sed '/-DWITH_PMEM=yes/d' -i debian/rules sed '/-DWITH_PMEM=yes/d' -i debian/rules
fi 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 # Adjust changelog, add new version
echo "Incrementing changelog and starting build scripts" echo "Incrementing changelog and starting build scripts"
......
...@@ -38,7 +38,7 @@ Build-Depends: bison, ...@@ -38,7 +38,7 @@ Build-Depends: bison,
libsystemd-dev [linux-any], libsystemd-dev [linux-any],
liburing-dev [linux-any], liburing-dev [linux-any],
libxml2-dev, libxml2-dev,
libzstd-dev (>= 1.3.3), libzstd-dev (>= 1.1.3),
lsb-release, lsb-release,
perl:any, perl:any,
po-debconf, po-debconf,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment