Skip to contentSkip to conversation

configs: use default prefix for Windows compilation

PATCH In review Paolo Bonzini 3 participants 3 messages Jan 12 – Jan 13 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: use default prefix for Windows compilation

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.

---
 configs/meson/windows.txt | 1 -
 1 file changed, 1 deletion(-)
configs/meson/windows.txt +0 -1
index 55b192e71b1..9ef0fb3c8f3 100644
@@ -3,7 +3,6 @@
 
 [built-in options]
 bindir = ''
-prefix = '/qemu'
 
 [project options]
 qemu_suffix = ''
Signature · 1 line
2.52.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 23 lines · Paolo Bonzini

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.

---
  configs/meson/windows.txt | 1 -
  1 file changed, 1 deletion(-)
configs/meson/windows.txt +0 -0
index 55b192e71b1..9ef0fb3c8f3 100644

configs/meson/windows.txt line 8

Quoted 7 lines
configs/meson/windows.txt +0 -1
@@ -3,7 +3,6 @@
 
  [built-in options]
  bindir = ''
-prefix = '/qemu'
 
  [project options]
  qemu_suffix = ''
#2 lore raw
In reply to Paolo Bonzini
Quoted 23 lines · Paolo Bonzini

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.

---
  configs/meson/windows.txt | 1 -
  1 file changed, 1 deletion(-)
configs/meson/windows.txt +0 -0
index 55b192e71b1..9ef0fb3c8f3 100644

configs/meson/windows.txt line 8

Quoted 7 lines
configs/meson/windows.txt +0 -1
@@ -3,7 +3,6 @@
 
  [built-in options]
  bindir = ''
-prefix = '/qemu'
 
  [project options]
  qemu_suffix = ''

Thanks. Applied directly to master as a build fix.

r~