[Buildroot] [git commit branch/2021.08.x] package/nginx-dav-ext: needs libxslt

Peter Korsgaard peter at korsgaard.com
Mon Sep 13 17:36:21 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=26243e63233afd6b619b42e0e8f9360f9ea7e18e
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.08.x

Build is broken since bump to version 3.0.0 in commit
45524f10cd84855868c9be3901c2bd6ea1c9f079 because libxslt is needed
instead of expat since
https://github.com/arut/nginx-dav-ext-module/commit/37772c545314aa4a250066f4e7cbc8806d406fa8:

adding module in /tmp/instance-0/output-1/build/nginx-dav-ext-3.0.0
 + ngx_http_dav_ext_module was configured
checking for PCRE library ... found
checking for PCRE JIT support ... found
Package libxslt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxslt.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libxslt', required by 'virtual:world', not found
Package libxslt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxslt.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libxslt', required by 'virtual:world', not found
checking for libxslt ... not found
checking for libxslt in /usr/local/ ... not found
checking for libxslt in /usr/pkg/ ... not found
checking for libxslt in /opt/local/ ... not found

./configure: error: the HTTP XSLT module requires the libxml2/libxslt
libraries. You can either do not enable the module or install the libraries.

Fixes:
 - http://autobuild.buildroot.org/results/8735d20ca7ccf4eda2f79f9400bed70474855b40

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
(cherry picked from commit c4cae0b7c032e792b208360848659662aee4692f)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/nginx-dav-ext/Config.in        | 2 +-
 package/nginx-dav-ext/nginx-dav-ext.mk | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/nginx-dav-ext/Config.in b/package/nginx-dav-ext/Config.in
index 1e60321fe3..9e3a0faf28 100644
--- a/package/nginx-dav-ext/Config.in
+++ b/package/nginx-dav-ext/Config.in
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_NGINX_DAV_EXT
 	bool "nginx-dav-ext"
 	depends on BR2_PACKAGE_NGINX_HTTP_DAV_MODULE
-	select BR2_PACKAGE_EXPAT
+	select BR2_PACKAGE_LIBXSLT
 	help
 	  NGINX WebDAV missing commands support (PROPFIND & OPTIONS).
 
diff --git a/package/nginx-dav-ext/nginx-dav-ext.mk b/package/nginx-dav-ext/nginx-dav-ext.mk
index 1b3071851a..cce527e179 100644
--- a/package/nginx-dav-ext/nginx-dav-ext.mk
+++ b/package/nginx-dav-ext/nginx-dav-ext.mk
@@ -8,6 +8,6 @@ NGINX_DAV_EXT_VERSION = 3.0.0
 NGINX_DAV_EXT_SITE = $(call github,arut,nginx-dav-ext-module,v$(NGINX_DAV_EXT_VERSION))
 NGINX_DAV_EXT_LICENSE = BSD-2-Clause
 NGINX_DAV_EXT_LICENSE_FILES = LICENSE
-NGINX_DAV_EXT_DEPENDENCIES = expat
+NGINX_DAV_EXT_DEPENDENCIES = libxslt
 
 $(eval $(generic-package))


More information about the buildroot mailing list