* meson complains about "broken python installation"
@ 2021-11-01 14:53 Peter Maydell
2021-11-01 15:06 ` Daniel P. Berrangé
0 siblings, 1 reply; 3+ messages in thread
From: Peter Maydell @ 2021-11-01 14:53 UTC (permalink / raw)
To: QEMU Developers; +Cc: Paolo Bonzini
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 ?
thanks
-- PMM
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: meson complains about "broken python installation"
2021-11-01 14:53 meson complains about "broken python installation" Peter Maydell
@ 2021-11-01 15:06 ` Daniel P. Berrangé
2021-11-01 15:13 ` Peter Maydell
0 siblings, 1 reply; 3+ messages in thread
From: Daniel P. Berrangé @ 2021-11-01 15:06 UTC (permalink / raw)
To: Peter Maydell; +Cc: Paolo Bonzini, QEMU Developers
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 :|
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: meson complains about "broken python installation"
2021-11-01 15:06 ` Daniel P. Berrangé
@ 2021-11-01 15:13 ` Peter Maydell
0 siblings, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2021-11-01 15:13 UTC (permalink / raw)
To: Daniel P. Berrangé; +Cc: Paolo Bonzini, QEMU Developers
On Mon, 1 Nov 2021 at 15:07, Daniel P. Berrangé <berrange@redhat.com> wrote:
>
> 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.
> > 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.
Me neither. The warning is pretty unhelpful (in the sense that it
does not clearly describe what/where the problem is or how it might be
fixed) and seems mostly likely to cause our users who run Ubuntu or
Debian to come and complain at us about something that's not under
our control.
Also, Debian have been shipping Python for years and years and
years with nothing obviously being badly wrong with it.
thanks
-- PMM
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-11-01 15:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-01 14:53 meson complains about "broken python installation" Peter Maydell
2021-11-01 15:06 ` Daniel P. Berrangé
2021-11-01 15:13 ` Peter Maydell
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).