[PATCH] configs: use default prefix for Windows compilation

Paolo Bonzini posted 1 patch 3 weeks, 6 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260112160736.1028280-1-pbonzini@redhat.com
configs/meson/windows.txt | 1 -
1 file changed, 1 deletion(-)
[PATCH] configs: use default prefix for Windows compilation
Posted by Paolo Bonzini 3 weeks, 6 days ago
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
Re: [PATCH] configs: use default prefix for Windows compilation
Posted by Richard Henderson 3 weeks, 5 days ago
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~
Re: [PATCH] configs: use default prefix for Windows compilation
Posted by Thomas Huth 3 weeks, 6 days ago
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>