[Debian-ha-maintainers] Bug#1001473: libqb: Please disable journald support on non-linux architectures
Laurent Bigonville
bigon at debian.org
Fri Dec 10 17:51:48 GMT 2021
Source: libqb
Version: 2.0.1-1
Severity: important
Tags: ftbfs patch
Justification: fails to build from source (but built successfully in the past)
Hello,
libqb currently FTBFS on non-linux architectures because journald
support is unconditionally enabled
The attached patch disable that on non-linux architectures
Could you apply it? I'm not 100% sure that the package will build as
there was also tests failures in the past, but at least that will help
Kind regards,
Laurent Bigonville
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.15.0-2-amd64 (SMP w/8 CPU threads)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy
-------------- next part --------------
diff -Nru libqb-2.0.4/debian/control libqb-2.0.4/debian/control
--- libqb-2.0.4/debian/control 2021-11-21 13:43:31.000000000 +0100
+++ libqb-2.0.4/debian/control 2021-12-10 18:44:53.000000000 +0100
@@ -9,7 +9,7 @@
debhelper-compat (= 12),
doxygen,
libglib2.0-dev,
- libsystemd-dev,
+ libsystemd-dev [linux-any],
libxml2-dev,
pkg-config,
Standards-Version: 4.6.0
diff -Nru libqb-2.0.4/debian/rules libqb-2.0.4/debian/rules
--- libqb-2.0.4/debian/rules 2021-03-04 06:18:37.000000000 +0100
+++ libqb-2.0.4/debian/rules 2021-12-10 18:44:50.000000000 +0100
@@ -9,12 +9,18 @@
# verbose testsuite results (#754692)
export VERBOSE=1
+ifeq ($(DEB_HOST_ARCH_OS), linux)
+ENABLE_JOURNALD=--enable-systemd-journal
+else
+ENABLE_JOURNALD=--disable-systemd-journal
+endif
+
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- \
- --enable-systemd-journal \
+ $(ENABLE_JOURNALD) \
--with-socket-dir=/tmp \
--disable-static
More information about the Debian-ha-maintainers
mailing list