On Mon, Mar 14, 2022 at 11:54:57AM +0000, Richard W.M. Jones
wrote:>On Mon, Mar 14, 2022 at 11:33:16AM +0000, Richard W.M. Jones wrote:
>> Pipeline is currently running:
>>
>> https://gitlab.com/nbdkit/nbdkit/-/pipelines/491516164
>
>I had previously fixed this failure in Alpine:
>
>perl.c:45:10: fatal error: XSUB.h: No such file or directory
> 45 | #include <XSUB.h>
> | ^~~~~~~~
>
>This file comes from the perl-dev package which is missing on Alpine.
>I had that fixed before (but only in the generated files) so I backed
>that change out accidentally in the commit I just added to nbdkit.
>
>While I remember, Martin had an alternate fix for this:
>
>
https://gitlab.com/nertpinx/nbdkit/-/commit/d93302150766415aaa7381c56120ad0fe3ccf2fe
>
>but this fix is wrong - it completely disables Perl on every platform
>(which is why it appears to work).
>
>The true fix is this one (to libvirt-ci). I will send it upstream
>separately.
>
>diff --git a/guests/lcitool/lcitool/ansible/vars/mappings.yml
b/guests/lcitool/lcitool/ansible/vars/mappings.yml
>index c05e59c..8b0825a 100644
>--- a/guests/lcitool/lcitool/ansible/vars/mappings.yml
>+++ b/guests/lcitool/lcitool/ansible/vars/mappings.yml
>@@ -1617,6 +1617,8 @@ mappings:
> deb: libperl-dev
> rpm: perl-devel
> pkg: perl5-devel
>+ Alpine314: perl-dev
>+ AlpineEdge: perl-dev
You can also set if for all Alpine versions with Alpine: perl-dev or all
distros using apk package manager with apk: perl-dev.
> MacOS: perl5-devel
> OpenSUSE:
>
>Rich.
>
>--
>Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
>Read my programming and virtualization blog: http://rwmj.wordpress.com
>virt-df lists disk usage of guests without needing to install any
>software inside the virtual machine. Supports Linux and Windows.
>http://people.redhat.com/~rjones/virt-df/
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL:
<http://listman.redhat.com/archives/libguestfs/attachments/20220314/fea6c614/attachment.sig>