[Filesystems-devel] Bug#1132368: sload.f2fs: compression (-c) not functional
sitd2813
sitd2813 at gmail.com
Tue Mar 31 06:27:27 BST 2026
Package: f2fs-tools
Version: 1.16.0-1.1+b1
Severity: normal
Dear Maintainer,
`f2fs-tools` ships `sload.f2fs` with compression flags (`-c`, `-a`, ...)
but compression is not functional because it was not compiled with
`liblz4-dev` and `liblzo2-dev` in Build-Depends.
Upstream `configure.ac` uses `AC_CHECK_LIB` with a silent fallback, that
if the libraries are absent at build time, compression support is quietly
dropped. The result is that `sload.f2fs --help` shows `-c`, but using it
fails with:
```console
$ sload.f2fs -c -a lz4 -f dir/ -t / image.f2fs
... omitted ...
Error: The selected compression algorithm is not supported
```
Adding `liblz4-dev` and `liblzo2-dev` to Build-Depends would fix this issue
and enable compression support in `sload.f2fs`.
-- System Information:
Debian Release: 13.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: arm64 (aarch64)
Foreign Architectures: amd64
Kernel: Linux 6.6.87.2-microsoft-standard-WSL2 (SMP w/10 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages f2fs-tools depends on:
ii libblkid1 2.41-5
ii libc6 2.41-12+deb13u2
ii libselinux1 3.8.1-1
ii libuuid1 2.41-5
f2fs-tools recommends no packages.
f2fs-tools suggests no packages.
-- no debconf information
More information about the Filesystems-devel
mailing list