The update to Python 3.13 causes meson configuration to fail, see e.g.:
https://gitlab.com/qemu-project/qemu/-/jobs/12672816538#L397
meson.build:1:0: ERROR: prefix value '/qemu' must be an absolute path
This is https://github.com/mesonbuild/meson/issues/14303. Remove the
prefix='/qemu' line in configs/meson/windows.txt, since commit d17f305a264
("configure: use a platform-neutral prefix", 2020-09-30) says that the
NSIS installer doesn't care.
Cc: qemu-stable@nongnu.org
Cc: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
configs/meson/windows.txt | 1 -
1 file changed, 1 deletion(-)
diff --git a/configs/meson/windows.txt b/configs/meson/windows.txt
index 55b192e71b1..9ef0fb3c8f3 100644
--- a/configs/meson/windows.txt
+++ b/configs/meson/windows.txt
@@ -3,7 +3,6 @@
[built-in options]
bindir = ''
-prefix = '/qemu'
[project options]
qemu_suffix = ''
--
2.52.0
On 1/13/26 03:07, Paolo Bonzini wrote:
> The update to Python 3.13 causes meson configuration to fail, see e.g.:
>
> https://gitlab.com/qemu-project/qemu/-/jobs/12672816538#L397
>
> meson.build:1:0: ERROR: prefix value '/qemu' must be an absolute path
>
> This is https://github.com/mesonbuild/meson/issues/14303. Remove the
> prefix='/qemu' line in configs/meson/windows.txt, since commit d17f305a264
> ("configure: use a platform-neutral prefix", 2020-09-30) says that the
> NSIS installer doesn't care.
>
> Cc: qemu-stable@nongnu.org
> Cc: Thomas Huth <thuth@redhat.com>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> configs/meson/windows.txt | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/configs/meson/windows.txt b/configs/meson/windows.txt
> index 55b192e71b1..9ef0fb3c8f3 100644
> --- a/configs/meson/windows.txt
> +++ b/configs/meson/windows.txt
> @@ -3,7 +3,6 @@
>
> [built-in options]
> bindir = ''
> -prefix = '/qemu'
>
> [project options]
> qemu_suffix = ''
Thanks. Applied directly to master as a build fix.
r~
On 12/01/2026 17.07, Paolo Bonzini wrote:
> The update to Python 3.13 causes meson configuration to fail, see e.g.:
>
> https://gitlab.com/qemu-project/qemu/-/jobs/12672816538#L397
>
> meson.build:1:0: ERROR: prefix value '/qemu' must be an absolute path
>
> This is https://github.com/mesonbuild/meson/issues/14303. Remove the
> prefix='/qemu' line in configs/meson/windows.txt, since commit d17f305a264
> ("configure: use a platform-neutral prefix", 2020-09-30) says that the
> NSIS installer doesn't care.
>
> Cc: qemu-stable@nongnu.org
> Cc: Thomas Huth <thuth@redhat.com>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> configs/meson/windows.txt | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/configs/meson/windows.txt b/configs/meson/windows.txt
> index 55b192e71b1..9ef0fb3c8f3 100644
> --- a/configs/meson/windows.txt
> +++ b/configs/meson/windows.txt
> @@ -3,7 +3,6 @@
>
> [built-in options]
> bindir = ''
> -prefix = '/qemu'
>
> [project options]
> qemu_suffix = ''
Reviewed-by: Thomas Huth <thuth@redhat.com>
© 2016 - 2026 Red Hat, Inc.