[Buildroot] [PATCH 2/2] soletta: new package

Fabrice Fontaine fontaine.fabrice at gmail.com
Sun Dec 18 14:40:09 UTC 2016


Hello

2016-12-18 11:16 GMT+01:00 Thomas Petazzoni <
thomas.petazzoni at free-electrons.com>:

> Hello,
>
> Please keep the Buildroot mailing list in Cc when replying.
>
> On Sun, 18 Dec 2016 11:07:25 +0100, Fabrice Fontaine wrote:
>
> > > Have all those patches been submitted upstream?
> > >
> > Only the first patch has been accepted upstream, I was working to
> integrate
> > a second one but the project seems less active (no updates since November
> > 13th) so this is still work in progress.
>
> OK, thanks. At least it's in progress, which is good.
>
> > > SOLETTA_DEPENDENCIES = $(if $(BR2_PACKAGE_PYTHON3),host-
> > > python3,host-python)
> > >
> > My issue is that soletta depends on host-python3, it will not build with
> > host-python. However, if I do not also select python3 (which is not
> really
> > needed at runtime), then host-python-jsonschema will be compiled for the
> > default host-python interpreter which is host-python2. So, my issue is
> that
> > I can not add a dependency on host-python*3*-jsonschema as this is not
> > supported by buildroot.
>
> It really depends on python3 ? No way to make it compatible with
> python2 ?
>
I tried to migrate the python3 scripts to python2 but I will stop. There is
too many impacts which will not be easily upstreamable (shutil.which must
replaced by shutilwhich backport, access to tuple attributes is allowed
only through integers, f.write takes only one argument, configparser has to
be replaced by ConfigParser which does not support reading configuration
from a string, ...)

> If it really needs host-python3, then yes, we don't have any other
> choice than doing what you did.
>
> > I do not get this error, it seems that it is raised because the Makefile
> > uses multiple targets inside a rule, for example:
> > $(soletta_target) $(soletta_config): private export
> > BOARD_NAME:=$(BOARD_NAME)
> >
> > I think that multiple targets inside a rule is not supported by old
> > versions of make, so it seems I will have to add another patch ;-)
>
> I was testing on my autobuilder instance, which runs an old Debian. It
> uses make 3.81.
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com
>

Best Regards,

Fabrice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161218/a58338c5/attachment-0002.html>


More information about the buildroot mailing list