[Libguestfs] libguestfs language bindings for CentOS/RHEL 9

Richard W.M. Jones rjones at redhat.com
Wed Nov 10 13:59:46 UTC 2021


On Wed, Nov 10, 2021 at 08:46:06AM -0500, Neal Gompa wrote:
> Hey Richard,
>
> I'm looking to use the libguestfs Python, PHP, and Go bindings on
> CentOS Stream 9, but it seems that these are not available right
> now. Could they be made available in CentOS/RHEL 9, if not, what was
> the reason for not shipping them?  I believe these are shipped in
> Fedora today.

Hi Neal, answer depends on the particular bindings.

For python3-libguestfs, we have a BZ to move these back to AppStream,
so they should be usable.  This should be done pretty soon:

https://bugzilla.redhat.com/show_bug.cgi?id=2019914

For PHP, the bindings are currently broken upstream.  Patches
welcome etc ...

For Golang I think most people are anticipating that you'll "vendor"
(ie. bundle) the bindings in your code.  While this is stupid, the
language effectively forces you to do that.  A longer term plan may
look more like what we recently did with the libnbd bindings, but
we're not there yet.

Search "golang" here:
https://listman.redhat.com/archives/libguestfs/2021-November/thread.html

Rich.

> Thanks in advance and best regards,
> 
> --
> Neal Gompa
> Senior DevOps Engineer
> Datto, Inc.
> www.datto.com

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html




More information about the Libguestfs mailing list