[Libguestfs] [libnbd PATCH 0/5] Introduce automated testing using GitLab CI

Daniel P. Berrangé berrange at redhat.com
Tue May 11 12:56:14 UTC 2021


On Tue, May 11, 2021 at 01:34:19PM +0100, Richard W.M. Jones wrote:
> On Tue, May 11, 2021 at 12:16:19PM +0100, Richard W.M. Jones wrote:
> > On Thu, May 06, 2021 at 01:30:05PM +0200, Martin Kletzander wrote:
> > > FreeBSD
> > > =======
> > > 
> > > The build fails because there is no fallocate() there.
> > 
> > I'm actually not seeing a failure (FreeBSD 12.2).  Do you happen to
> > know what the build error was?
> > 
> > I'm seeing test failures though which I'll fix if they are easy.  I
> > think for non-Linux right now I'm most concerned about build failures.
> 
> Another problem with the libnbd tests is that they use the installed
> nbdkit, but -- presumably for political rather than technical reasons --
> nbdkit on FreeBSD is built without GnuTLS support.  While I could add
> 'requires' lines everywhere to test this, it may be better (on
> FreeBSD) to either not test against nbdkit at all or to test against
> the latest nbdkit build.  Could CI tests allow this?  Don't worry
> about implementing this, I just want to know what's possible.
> 
> The situation for testing nbdkit is similar but reversed.  FreeBSD
> does not package libnbd at all so far, but I'm quite sure they'll also
> build a TLS-less version if they get around to it.

I wouldn't assume it is intentionale, as opposed to just a mistake.
They happily build other stuff with GNUTLS including both libvirt
and QEMU

Assuming this is current:

  https://cgit.freebsd.org/ports/plain/net/nbdkit/Makefile

it seems to suggest they're attempting to build with gnutls.

Perhaps the configure script failed to detect gnutls despite being
present and silently disabled it in their builds ?

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the Libguestfs mailing list