qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: meson complains about "broken python installation"
Date: Mon, 1 Nov 2021 15:06:58 +0000	[thread overview]
Message-ID: <YYACktMpIIswE9Zi@redhat.com> (raw)
In-Reply-To: <CAFEAcA_UiCrYEkv3uC_6VD9mY3jzKY+ziKTxSE4ydDbHd4U5vw@mail.gmail.com>

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	other threads:[~2021-11-01 15:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-01 14:53 meson complains about "broken python installation" Peter Maydell
2021-11-01 15:06 ` Daniel P. Berrangé [this message]
2021-11-01 15:13   ` Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YYACktMpIIswE9Zi@redhat.com \
    --to=berrange@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).