qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: meson complains about "broken python installation"


From: Daniel P . Berrangé
Subject: Re: meson complains about "broken python installation"
Date: Mon, 1 Nov 2021 15:06:58 +0000
User-agent: Mutt/2.0.7 (2021-05-04)

On Mon, Nov 01, 2021 at 02:53:44PM +0000, Peter Maydell wrote:
> At some point in the last month a meson change landed, and now
> when meson runs it complains:
> 
>  WARNING: Broken python installation detected. Python files installed
>  by Meson might not be found by python interpreter.
> 
> There's nothing in the meson log here that says what it's
> complaining about:
> 
> 
> Build machine cpu: x86_64
> Host machine cpu family: x86_64
> Host machine cpu: x86_64
> Target machine cpu family: x86_64
> Target machine cpu: x86_64
> Program sh found: YES (/bin/sh)
> Program python3 found: YES (/usr/bin/python3)
> WARNING: Broken python installation detected. Python files installed
> by Meson might not be found by python interpreter.
> Program bzip2 found: YES (/bin/bzip2)
> Sanity testing C++ compiler: c++ -m64 -mcx16
> Is cross compiler: False.
> 
> I didn't pass any --python option to configure, and this is
> a fresh build in a newly created build directory. Host is
> x86-64 Ubuntu 18.04.6 LTS (bionic). /usr/bin/python is
> Python 2.7.17 (which we do not use) and /usr/bin/python3
> is Python 3.6.9.
> 
> Any idea what meson is complaning about ?

The source code emitting this warning message has a comment
pointing to:

  https://github.com/mesonbuild/meson/issues/8739

It seems that there is something broken about Python on Debian but
can't say i especially understand the bug report discussion there.


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




reply via email to

[Prev in Thread] Current Thread [Next in Thread]