aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2024-12-18 07:21:59 +0100
committerThomas Huth <thuth@redhat.com>2024-12-18 11:54:33 +0100
commite2d98f257138b83b6a492d1da5847a7fe0930d10 (patch)
tree19dd11b46e4cbc540b4b23012d5bda5f13d80dec
parentbf850896961fe228a79044c79e97f8aac464a16f (diff)
downloadqemu-e2d98f257138b83b6a492d1da5847a7fe0930d10.zip
qemu-e2d98f257138b83b6a492d1da5847a7fe0930d10.tar.gz
qemu-e2d98f257138b83b6a492d1da5847a7fe0930d10.tar.bz2
meson.build: Disallow libnfs v6 to fix the broken macOS build
The macOS builds in our CI (and possibly other very recent distros) are currently broken since the update to libnfs version 6 there. That version apparently comes with a big API breakage. v5.0.3 was the final release of the old API (see the libnfs commit here: https://github.com/sahlberg/libnfs/commit/4379837 ). Disallow version 6.x for now to get the broken CI job working again. Once somebody had enough time to adapt our code in block/nfs.c, we can revert this change again. Message-ID: <20241218065157.209020-1-thuth@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 85f7485..6149b50 100644
--- a/meson.build
+++ b/meson.build
@@ -1145,7 +1145,7 @@ endif
libnfs = not_found
if not get_option('libnfs').auto() or have_block
- libnfs = dependency('libnfs', version: '>=1.9.3',
+ libnfs = dependency('libnfs', version: ['>=1.9.3', '<6.0.0'],
required: get_option('libnfs'),
method: 'pkg-config')
endif