<div dir="ltr"><div dir="ltr">On Wed, Nov 10, 2021 at 9:00 AM Richard W.M. Jones <<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Nov 10, 2021 at 08:46:06AM -0500, Neal Gompa wrote:<br>
> Hey Richard,<br>
><br>
> I'm looking to use the libguestfs Python, PHP, and Go bindings on<br>
> CentOS Stream 9, but it seems that these are not available right<br>
> now. Could they be made available in CentOS/RHEL 9, if not, what was<br>
> the reason for not shipping them?  I believe these are shipped in<br>
> Fedora today.<br>
<br>
Hi Neal, answer depends on the particular bindings.<br>
<br>
For python3-libguestfs, we have a BZ to move these back to AppStream,<br>
so they should be usable.  This should be done pretty soon:<br>
<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=2019914" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=2019914</a><br>
<br>
For PHP, the bindings are currently broken upstream.  Patches<br>
welcome etc ...<br>
<br></blockquote><div><br></div><div>Is there a particular report indicating what's broken upstream that I can look at? I see that the bindings are built in Fedora against PHP 8.0 (which RHEL 9 ships with), so I somewhat expect them to work.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
For Golang I think most people are anticipating that you'll "vendor"<br>
(ie. bundle) the bindings in your code.  While this is stupid, the<br>
language effectively forces you to do that.  A longer term plan may<br>
look more like what we recently did with the libnbd bindings, but<br>
we're not there yet.<br>
<br>
Search "golang" here:<br>
<a href="https://listman.redhat.com/archives/libguestfs/2021-November/thread.html" rel="noreferrer" target="_blank">https://listman.redhat.com/archives/libguestfs/2021-November/thread.html</a><br><br></blockquote><div><br></div><div>But since libguestfs dynamically generates the bindings for various languages, is it even workable to separate it like that? You could build it as a pile of Go binding sources and ship it that way (similar to how other Go bindings are shipped in Fedora).</div></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><b>Neal Gompa</b><div>Senior DevOps Engineer</div><div>Datto, Inc.</div><div><a href="https://www.datto.com" target="_blank">www.datto.com</a><br></div></div></div></div>