From 8480e7ba017b283d133b1ccdac52713d3527dac6 Mon Sep 17 00:00:00 2001 From: Adam Ford Date: Thu, 16 Jul 2026 08:30:01 -0500 Subject: [PATCH] package/libxml-parser-perl: add host-libxcrypt dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit host-libxml-parser-perl compiles XS modules against the system perl headers, which #include . On build hosts without libcrypt-dev installed, the build fails: .../CORE/reentr.h:126:16: fatal error: crypt.h: No such file or directory Declaring host-libxcrypt ensures crypt.h is present in the per-package host sysroot before the build. This can for example be reproduced on a minimal Debian Forky system, where libc6-dev no longer pulls libxcrypt-dev. Signed-off-by: Adam Ford Signed-off-by: Thomas Petazzoni (cherry picked from commit 7e036c739ff82bf3a5aaf5dc79b7c560e5040787) Signed-off-by: Raphaël Mélotte --- package/libxml-parser-perl/libxml-parser-perl.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libxml-parser-perl/libxml-parser-perl.mk b/package/libxml-parser-perl/libxml-parser-perl.mk index 06bbd3b1ad..7cc60774bd 100644 --- a/package/libxml-parser-perl/libxml-parser-perl.mk +++ b/package/libxml-parser-perl/libxml-parser-perl.mk @@ -7,7 +7,7 @@ LIBXML_PARSER_PERL_VERSION = 2.47 LIBXML_PARSER_PERL_SOURCE = XML-Parser-$(LIBXML_PARSER_PERL_VERSION).tar.gz LIBXML_PARSER_PERL_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TO/TODDR -HOST_LIBXML_PARSER_PERL_DEPENDENCIES = host-expat +HOST_LIBXML_PARSER_PERL_DEPENDENCIES = host-expat host-libxcrypt LIBXML_PARSER_PERL_LICENSE = Artistic or GPL-1.0+ LIBXML_PARSER_PERL_LICENSE_FILES = README LIBXML_PARSER_PERL_RUN_PERL = `which perl`