]> xenbits.xensource.com Git - libvirt.git/commit
meson: drop explicit python interpreter
authorBiswapriyo Nath <nathbappai@gmail.com>
Sun, 21 Jan 2024 06:25:57 +0000 (06:25 +0000)
committerPeter Krempa <pipo@pipo.sk>
Mon, 22 Jan 2024 09:14:29 +0000 (09:14 +0000)
commit642af05e3e58b90cb9d15936678f16bd7e454d26
tree22a6248b22d6c550141967c8e5f8d0c1a8785cf3
parent08f2add984e2c507ccc26041d3910147e05db966
meson: drop explicit python interpreter

meson wraps python scripts already on win32, so we end up with these
failing commands:

[185/868] Generating src/rpc/virnetprotocol.h with a custom command
FAILED: src/rpc/virnetprotocol.h
"sh" "libvirt/scripts/meson-python.sh" "F:/msys64/ucrt64/bin/python3.EXE" "F:/msys64/ucrt64/bin/python.exe" "libvirt/scripts/rpcgen/main.py" "--mode=header" "../src/rpc/virnetprotocol.x" "src/rpc/virnetprotocol.h"
SyntaxError: Non-UTF-8 code starting with '\x90' in file F:/msys64/ucrt64/bin/python.exe on line 1, but no encoding declared; see https://peps.python.org/pep-0263/ for details

The issue was introduced in a62486b95feed2cf17ce4adbe794a1ecff9ef22a commit.
These changes are similar as e06beacec2f8e57bbc5cd8f6eb9d44a1f291966d commit.

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
src/admin/meson.build
src/locking/meson.build
src/logging/meson.build
src/lxc/meson.build
src/remote/meson.build
src/rpc/meson.build