Bug#1108995: lz4: FTBFS on hurd-any: missing -pthread
From
Samuel Thibault@21:1/5 to
All on Wed Jul 9 10:50:01 2025
Package: lz4
Version: 1.10.0-4
Severity: important
Tags: ftbfs patch
Hello,
lz4 currently FTBFS on hurd-any because the link misses the -pthread
option. Upstream does add it in its Makefile in the threaded case, but debian/rules threading is enabled by hand, but misses adding the
-pthread flags, as the attached patch fixes.
(This is not posing problem on Linux where pthread_* functions have
recently been moved to libc.so)
Samuel
-- System Information:
Debian Release: 13.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'oldstable-proposed-updates-debug'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (
1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental') Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64
Kernel: Linux 6.15.0 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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.41-9
ii liblz4-1 1.10.0-4
ii libxxhash0 0.8.3-2
lz4 recommends no packages.
lz4 suggests no packages.
-- no debconf information
--
Samuel
R: Parce que �a renverse b�tement l'ordre naturel de lecture!
Q: Mais pourquoi citer en fin d'article est-il si effroyable?
R: Citer en fin d'article
Q: Quelle est la chose la plus d�sagr�able sur les groupes de news?
--- debian/rules.original 2025-07-08 21:29:52.253436659 +0200
+++ debian/rules 2025-07-08 21:29:54.483442572 +0200
@@ -5,7 +5,7 @@
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)
+LDFLAGS:= $(shell dpkg-buildflags --get LDFLAGS) -pthread
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
PREFIX:= /usr
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)