From fb5ced59149369d88ded2c44905b8a71dc8597a5 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Mon, 19 Jun 2023 20:14:57 +0200 Subject: [PATCH] package/syslog-ng: disable python support Upstream added a list of python modules declared as runtime dependencies https://github.com/syslog-ng/syslog-ng/commit/f18345d2a16aea1a95d891ebb24a4ace9c652621 most of them with fixed (and outdated) versions. Disable python support for the time being. Fixes: http://autobuild.buildroot.net/results/436/436e90bb1f77143b05cb98df78934555bbb7df35/ Signed-off-by: Bernd Kuhls Reviewed-by: Chris Packham Signed-off-by: Thomas Petazzoni (cherry picked from commit 227c42b8c3e0fada026e17a2b6e8d0d7a4450a3f) Signed-off-by: Peter Korsgaard --- package/syslog-ng/syslog-ng.mk | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/package/syslog-ng/syslog-ng.mk b/package/syslog-ng/syslog-ng.mk index 1c4cec6adb..ecc8eeddce 100644 --- a/package/syslog-ng/syslog-ng.mk +++ b/package/syslog-ng/syslog-ng.mk @@ -16,7 +16,8 @@ SYSLOG_NG_DEPENDENCIES = host-bison host-flex host-pkgconf \ # We're patching configure.ac SYSLOG_NG_AUTORECONF = YES SYSLOG_NG_CONF_OPTS = --disable-manpages --localstatedir=/var/run \ - --disable-java --disable-java-modules --disable-mongodb + --disable-java --disable-java-modules --disable-mongodb \ + --disable-python SYSLOG_NG_CFLAGS = $(TARGET_CFLAGS) ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_101915),y) @@ -39,15 +40,6 @@ else SYSLOG_NG_CONF_OPTS += --disable-linux-caps endif -ifeq ($(BR2_PACKAGE_PYTHON3),y) -SYSLOG_NG_DEPENDENCIES += python3 -SYSLOG_NG_CONF_OPTS += \ - --enable-python \ - --with-python=$(PYTHON3_VERSION_MAJOR) -else -SYSLOG_NG_CONF_OPTS += --disable-python -endif - ifeq ($(BR2_PACKAGE_LIBESMTP),y) SYSLOG_NG_DEPENDENCIES += libesmtp SYSLOG_NG_CONF_OPTS += --enable-smtp