Re: [Buildroot] [PATCH] package/libxml-parser-perl: add host-libxcrypt dependency

Thomas Petazzoni via buildroot <[email protected]>
Newsgroups net.busybox.buildroot
Message-ID <aox73MQnOLsOq-tt@windsurf>
Hello,

On Thu, Jul 16, 2026 at 08:30:01AM -0500, Adam Ford wrote:
> host-libxml-parser-perl compiles XS modules against the system perl
> headers, which #include <crypt.h>. 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.
> 
> Signed-off-by: Adam Ford <[email protected]>

Sorry for the delay in getting back to you. Could you provide some
details on the environment/distribution where crypt.h is not available
on the host? I've tried but on Fedora or Ubuntu, as soon as
glibc-devel (or equivalent) is installed, it pulls in
libxcrypt-devel. On Archlinux, /usr/include/crypt.h is also present.

Thanks for the additional information that you'll provide on this
topic!

Best regards,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.