[Buildroot] [PATCH] package/pkg-meson.mk: set Python sysconfigdata

Adam Duskett aduskett at gmail.com
Tue Oct 15 17:52:08 UTC 2019


If you look at the Yocto project, it seems like they intentionally
unset _PYTHON_SYSCONFIGDATA_NAME when compiling libglib2.


On Sun, Oct 13, 2019 at 9:43 AM Arnout Vandecappelle <arnout at mind.be> wrote:
>
>
>
> On 13/10/2019 01:11, Adam Duskett wrote:
> > All;
> >
> > I inadvertently found an issue with this patch.
> > If the user has not selected python or python3,
> > _PYTHON_SYSCONFIGDATA_NAME will be passed as an empty string,
>
>  That's weird...
>
> +       _PYTHON_SYSCONFIGDATA_NAME="$$(if
> $$(BR2_PACKAGE_PYTHON3),$$(PKG_PYTHON_SYSCONFIGDATA_NAME),_sysconfigdata)" \
>
>  If python3 is not selected, it should be set to _sysonfigdata... I don't
> remember how extensively I tested that situation, but I definitely did take it
> into account!
>
>
>  Regards,
>  Arnout
>
> > which
> > causes libglib2 to fail during the configuration step.
> > Apparently, all of my previous testings were done with python3
> > enabled, and I didn't notice!
> [snip]



More information about the buildroot mailing list