[Buildroot] [PATCH 1/1] libglib2: Avoid absolute path to python in shebang

anisse at astier.eu anisse at astier.eu
Thu Jul 19 12:58:28 UTC 2018


On Thu, Jul 19, 2018 at 02:15:57PM +0200, Thomas Petazzoni wrote:
> Hello,
> 
> On Thu, 19 Jul 2018 13:50:33 +0200, anisse at astier.eu wrote:
> 
> > I opened an issue upstream:
> > https://gitlab.gnome.org/GNOME/glib/issues/1455
> 
> In this, they say that using "python" is not correct, because python3
> is needed to run libglib python code. Is this correct ? If that is
> correct, then our patch in package/libglib2/ is not good, as it uses
> just python, which might be python2.
> 
> And also, it's not correct because our libglib package does not depend
> on having python3 available on the host.
> 

My understanding is that the scripts work with python2 too but that
upstream is moving to python3 by default, because meson already requires
host python3, which narrows the number of build-time dependencies.

So I don't think there's anything to change here, since host python2 is
already a mandatory buidroot dependency.

Regards,

Anisse



More information about the buildroot mailing list