[libvirt PATCH 0/3] RFC: fix compilation on msys2

marcandre.lureau@redhat.com posted 3 patches 1 year, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20230406155852.299579-1-marcandre.lureau@redhat.com
docs/manpages/meson.build     |  4 ++--
docs/meson.build              |  6 ++----
meson.build                   | 14 +++++++++-----
src/admin/meson.build         |  4 ++--
src/esx/meson.build           |  4 ++--
src/hyperv/meson.build        |  2 +-
src/meson.build               |  8 ++++----
src/rpc/virnetlibsshsession.c | 14 ++++++++++++--
src/util/meson.build          |  4 ++--
9 files changed, 36 insertions(+), 24 deletions(-)
[libvirt PATCH 0/3] RFC: fix compilation on msys2
Posted by marcandre.lureau@redhat.com 1 year, 1 month ago
From: Marc-André Lureau <marcandre.lureau@redhat.com>

Hi,

libvirt fails to compile on msys2/win32. Here is a few patches that solve it,
but the way python scripts are being handled in general is a bit odd, so this is
RFC. (fwiw, a lot of tests fail though, I can send the log if anyone is
interested - or attach it to a gitlab issue)

Fixes:
https://gitlab.com/libvirt/libvirt/-/issues/453

Marc-André Lureau (3):
  meson: don't look for unix paths on win32
  meson: drop explicit python interpreter
  rpc/ssh: ssh_userauth_agent() is not supported on win32

 docs/manpages/meson.build     |  4 ++--
 docs/meson.build              |  6 ++----
 meson.build                   | 14 +++++++++-----
 src/admin/meson.build         |  4 ++--
 src/esx/meson.build           |  4 ++--
 src/hyperv/meson.build        |  2 +-
 src/meson.build               |  8 ++++----
 src/rpc/virnetlibsshsession.c | 14 ++++++++++++--
 src/util/meson.build          |  4 ++--
 9 files changed, 36 insertions(+), 24 deletions(-)

-- 
2.39.2

Re: [libvirt PATCH 0/3] RFC: fix compilation on msys2
Posted by Michal Prívozník 1 year, 1 month ago
On 4/6/23 17:58, marcandre.lureau@redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
> 
> Hi,
> 
> libvirt fails to compile on msys2/win32. Here is a few patches that solve it,
> but the way python scripts are being handled in general is a bit odd, so this is
> RFC. (fwiw, a lot of tests fail though, I can send the log if anyone is
> interested - or attach it to a gitlab issue)
> 
> Fixes:
> https://gitlab.com/libvirt/libvirt/-/issues/453
> 
> Marc-André Lureau (3):
>   meson: don't look for unix paths on win32
>   meson: drop explicit python interpreter
>   rpc/ssh: ssh_userauth_agent() is not supported on win32
> 
>  docs/manpages/meson.build     |  4 ++--
>  docs/meson.build              |  6 ++----
>  meson.build                   | 14 +++++++++-----
>  src/admin/meson.build         |  4 ++--
>  src/esx/meson.build           |  4 ++--
>  src/hyperv/meson.build        |  2 +-
>  src/meson.build               |  8 ++++----
>  src/rpc/virnetlibsshsession.c | 14 ++++++++++++--
>  src/util/meson.build          |  4 ++--
>  9 files changed, 36 insertions(+), 24 deletions(-)
> 

Hey, thanks for this. I have couple of questions though. No need to
resend, I can squash in obvious changes if you agree before pushing.

Michal