Package: lz4
Version: 1.10.0-3
Severity: normal

Dear Maintainer,

The lz4 1.10.0-3 in Debian repo is compiled without multithreading support:
$ lz4 --help
*** lz4 v1.10.0 64-bit single-thread, by Yann Collet ***

Since lz4 >= 1.0 supports multithreading, please enable it with option "-DLZ4IO_MULTITHREAD", i.e., modify rules as:
$ diff -uN debian/rules.old debian/rules
==============
--- debian/rules.old    2025-02-15 19:00:13.591852843 +0800
+++ debian/rules        2025-02-15 18:57:25.424893389 +0800
@@ -2,7 +2,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1

-CPPFLAGS:= $(shell dpkg-buildflags --get CPPFLAGS) -fvisibility=hidden -DLZ4F_PUBLISH_STATIC_FUNCTIONS +CPPFLAGS:= $(shell dpkg-buildflags --get CPPFLAGS) -fvisibility=hidden -DLZ4F_PUBLISH_STATIC_FUNCTIONS -DLZ4IO_MULTITHREAD
 CFLAGS:= $(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
 CXXFLAGS:= $(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
 LDFLAGS:= $(shell dpkg-buildflags --get LDFLAGS)
==============

With this:
$ lz4 -h
*** lz4 v1.10.0 64-bit multithread, by Yann Collet ***

Thank you very much.

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.13-amd64 (SMP w/6 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)
LSM: AppArmor: enabled

Versions of packages lz4 depends on:
ii  libc6       2.40-6
ii  liblz4-1    1.10.0-3
ii  libxxhash0  0.8.3-2

lz4 recommends no packages.

lz4 suggests no packages.

-- no debconf information

--
Steven Shiau <steven _at_ stevenshiau org>
Public Key Server PGP Key ID: 4096R/163E3FB0
Fingerprint: EB1D D5BF 6F88 820B BCF5  356C 8E94 C9CD 163E 3FB0

Reply via email to