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

Nicolas Cavallari <[email protected]>
Newsgroups net.busybox.buildroot
Message-ID <[email protected]>
Le 24/08/2026 à 19:15, Thomas Petazzoni via buildroot a écrit :
> 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!

Not the author but in Debian Forky (testing) and Sid, libc6-dev no 
longer depends on libcrypt-dev, the provider of crypt.h.  libcrypt-dev 
now only have these reverse dependencies:

gauche-dev, guile-3.0-dev, heimdal-multidev, libapr1-dev, 
libidzebra-2.0-dev, libperl-dev, libuser1-dev, sa-compile

None of which would be typically present on a developer or builder system.
_______________________________________________
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.