[Libguestfs] [libnbd PATCH 4/6] macOS: Do not use --version_script

2021-07-13 Thread Martin Kletzander
The linker does not support this option. Signed-off-by: Martin Kletzander --- configure.ac| 10 ++ lib/Makefile.am | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 9f6ba03a4773..18a66ee9114f 100644 --- a/configure.ac +++

[Libguestfs] [libnbd PATCH 5/6] Update CI files

2021-07-13 Thread Martin Kletzander
- removes valgrind from macOS but makes the package installation not fail because of its installation which cannot be done on macOS. - fixes python update from 3.7 to 3.8 on FreeBSDs and the followup renaming of packages. Signed-off-by: Martin Kletzander --- ci/cirrus/freebsd-12.vars

[Libguestfs] [libnbd PATCH 6/6] CI: Add testing on Alpine

2021-07-13 Thread Martin Kletzander
It is the favourite small container distribution and it just works. Signed-off-by: Martin Kletzander --- .gitlab-ci.yml | 23 +++ ci/containers/alpine-314.Dockerfile | 57 ci/containers/alpine-edge.Dockerfile | 57

[Libguestfs] [libnbd PATCH 2/6] One more VSOCK include fix

2021-07-13 Thread Martin Kletzander
This file was forgotten in commit e8ed016c34e1. Signed-off-by: Martin Kletzander --- lib/uri.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/uri.c b/lib/uri.c index bcecbad5005a..56f47376ed98 100644 --- a/lib/uri.c +++ b/lib/uri.c @@ -32,6 +32,8 @@ #ifdef HAVE_LINUX_VM_SOCKETS_H

[Libguestfs] [libnbd PATCH 1/6] info: Require nbdkit >= 1.14 for info-can.sh

2021-07-13 Thread Martin Kletzander
The can_cache flag was introduced in 1.13.4, so the tests might fail on an older one. To make the check easier, only run this test with nbdkit >= 1.14 Signed-off-by: Martin Kletzander --- info/info-can.sh | 4 1 file changed, 4 insertions(+) diff --git a/info/info-can.sh

[Libguestfs] [libnbd PATCH 0/6] Paint the pipeline complete green, finally

2021-07-13 Thread Martin Kletzander
I hated the fact that it was not finished and it was (is) keeping me awake even though I do not really have tome to do this, but it is finally finished. We can even enable CI notifications to go public if that's something we'd like to do. Anyway, with this I hope I can finally get libnbd CI out

[Libguestfs] [libnbd PATCH 3/6] macOS: Simple cloexec/nonblock fix

2021-07-13 Thread Martin Kletzander
This is the most trivial way to fix the issue with macOS not having SOCK_CLOEXEC and SOCK_NONBLOCK. There is not much better way, so this is the only way to make it work on such platform(s). Signed-off-by: Martin Kletzander --- lib/internal.h | 3 +