Bug#1012804: rocksdb: Please build against liblz4-dev

2022-06-16 Thread GCS
Control: reassign 1012629 rocksdb
Control: found 1012629 7.2.2-3
Control tags -1 -patch
Control: merge -1 1012629

On Tue, Jun 14, 2022 at 3:33 PM Benjamin Drung  wrote:
> The autopkgtest for balboa fails against rocksdb 7.2.2-3 with:
>
> rocksdb_open() failed: `Invalid argument: Compression type LZ4 is not
> linked with the binary.`
 Thanks, but it's a duplicated bug report. I'm going to fix this soon.

Regards,
Laszlo/GCS



Bug#1012804: rocksdb: Please build against liblz4-dev

2022-06-14 Thread Benjamin Drung
Package: rocksdb
Version: 7.2.2-3
Severity: serious
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu kinetic ubuntu-patch
X-Debbugs-Cc: bdr...@ubuntu.com

Dear Maintainer,

The autopkgtest for balboa fails against rocksdb 7.2.2-3 with:

rocksdb_open() failed: `Invalid argument: Compression type LZ4 is not
linked with the binary.`

In Ubuntu, the attached patch was applied to achieve the following:

  * Enable LZ4 support (Closes: #1012629)


Thanks for considering the patch.

-- 
Benjamin Drung
Debian & Ubuntu Developer
diff -Nru rocksdb-7.2.2/debian/control rocksdb-7.2.2/debian/control
--- rocksdb-7.2.2/debian/control2022-05-19 23:16:32.0 +0200
+++ rocksdb-7.2.2/debian/control2022-06-14 15:22:00.0 +0200
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Laszlo Boszormenyi (GCS) 
 Build-Depends: debhelper-compat (= 13), cmake, libgflags-dev, libsnappy-dev,
- libbz2-dev, zlib1g-dev, libzstd-dev
+ libbz2-dev, zlib1g-dev, libzstd-dev, liblz4-dev
 Standards-Version: 4.6.0
 Homepage: https://rocksdb.org/
 
diff -Nru rocksdb-7.2.2/debian/rules rocksdb-7.2.2/debian/rules
--- rocksdb-7.2.2/debian/rules  2022-05-21 19:47:37.0 +0200
+++ rocksdb-7.2.2/debian/rules  2022-06-14 14:31:59.0 +0200
@@ -26,6 +26,7 @@
dh_auto_configure -O--buildsystem=cmake \
 -- \
 -DWITH_BZ2=ON \
+-DWITH_LZ4=ON \
 -DWITH_ZLIB=ON \
 -DWITH_ZSTD=ON \
 -DWITH_SNAPPY=ON \