Source: tlog Version: 12.1-1 Severity: important Tags: ftbfs patch Justification: fails to build from source (but built successfully in the past)
Hello, tlog FTBFS on non-linux architectures because it tries to build systemd/journald support Disable journald support on non-linux architecture should fix this 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.19.0-2-amd64 (SMP w/8 CPU threads; PREEMPT) 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
diff -Nru tlog-12.1/debian/control tlog-12.1/debian/control --- tlog-12.1/debian/control 2022-05-19 16:23:08.000000000 +0200 +++ tlog-12.1/debian/control 2022-09-30 22:57:22.000000000 +0200 @@ -6,7 +6,7 @@ debhelper-compat (= 12), libcurl4-gnutls-dev, libjson-c-dev, - libsystemd-dev, + libsystemd-dev [linux-any], libutempter-dev, pkg-config, Rules-Requires-Root: no diff -Nru tlog-12.1/debian/rules tlog-12.1/debian/rules --- tlog-12.1/debian/rules 2022-05-19 16:23:08.000000000 +0200 +++ tlog-12.1/debian/rules 2022-09-30 22:57:22.000000000 +0200 @@ -8,12 +8,16 @@ DPKG_EXPORT_BUILDFLAGS = 1 -include /usr/share/dpkg/buildflags.mk +ifneq ($(DEB_HOST_ARCH_OS),linux) +DISABLE_JOURNAL:=--disable-journal +endif + %: dh $@ override_dh_auto_configure: dh_auto_configure -- \ - --enable-utempter + --enable-utempter $(DISABLE_JOURNAL) override_dh_auto_install: # dh_install -p libtlog0 lib/tlog/.libs/libtlog.so.0.0.0 usr/lib/$(DEB_HOST_MULTIARCH)/