[Buildroot] [PATCH 1/1] package/scons: remove python from SCONS

Fabrice Fontaine fontaine.fabrice at gmail.com
Sun Mar 31 12:39:40 UTC 2019


Hello Thomas,

Le dim. 31 mars 2019 à 14:25, Thomas Petazzoni
<thomas.petazzoni at bootlin.com> a écrit :
>
> Hello Fabrice,
>
> On Sun, 31 Mar 2019 14:18:10 +0200
> Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:
>
> > diff --git a/package/alljoyn-base/alljoyn-base.mk b/package/alljoyn-base/alljoyn-base.mk
> > index ad19802823..64ba647ab0 100644
> > --- a/package/alljoyn-base/alljoyn-base.mk
> > +++ b/package/alljoyn-base/alljoyn-base.mk
> > @@ -11,7 +11,7 @@ ALLJOYN_BASE_SITE = \
> >  # See https://allseenalliance.org/alliance/ip-policy
> >  ALLJOYN_BASE_LICENSE = ISC
> >
> > -ALLJOYN_BASE_DEPENDENCIES = host-scons alljoyn openssl
> > +ALLJOYN_BASE_DEPENDENCIES = host-python host-scons alljoyn openssl
> >  ALLJOYN_BASE_INSTALL_STAGING = YES
>
> Hm, don't we have a problem when BR2_PACKAGE_PYTHON3=y ? In this case,
> scons being a host-python-package, it will be installed for
> host-python3, i.e in /usr/lib/python3/.../, so how can it then work to
> call it using python2 ?
I tested it with the defconfig from the alljoyn autobuild falures
(which have BR2_PACKAGE_PYTHON3=y) and it works because scons script
is installed in $(HOST_DIR)/bin/scons and scons libraries are
installed in $(HOST_DIR)/lib/scons-$(SCONS_VERSION) because we pass
this path through --install-lib in scons.mk.
But perhaps you should try to rebuild it too with these defconfigs to
double-check that I did not miss something.
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
Best Regards,

Fabrice


More information about the buildroot mailing list