* Getting started with meta-ti (beaglebone)
@ 2016-08-01 22:49 Manjukumar Harthikote Matha
2016-08-01 23:34 ` Denys Dmytriyenko
0 siblings, 1 reply; 6+ messages in thread
From: Manjukumar Harthikote Matha @ 2016-08-01 22:49 UTC (permalink / raw)
To: meta-ti
All,
I am trying to build for beaglebone but facing some errors on master
branch. Maybe I am missing some configuration for the builds, can you
please help me out
I cloned, poky, meta-openembedded and meta-ti master branch
source oe-init-build-env beaglebone
Added BBMASK = "meta-ti/recipes-misc" in local.conf
MACHINE=beaglebone bitbake core-image-minimal
Gives me an error
ERROR: Unable to parse
/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/ti-cgt6x_6.1.20.bb
Traceback (most recent call last):
File
"/workspaces/manjukum/meta-ti-build/poky/bitbake/lib/bb/siggen.py", line
151, in
SignatureGeneratorOEBasicHash.finalise(fn='/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/ti-cgt6x_6.1.20.bb',
d=<bb.data_smart.DataSmart object at 0x7fd9cd6f1b38>, variant=None):
try:
> taskdeps = self._build_data(fn, d)
except:
File
"/workspaces/manjukum/meta-ti-build/poky/bitbake/lib/bb/siggen.py", line
104, in
SignatureGeneratorOEBasicHash._build_data(fn='/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/ti-cgt6x_6.1.20.bb',
d=<bb.data_smart.DataSmart object at 0x7fd9cd6f1b38>):
> tasklist, gendeps, lookupcache =
bb.data.generate_dependencies(d)
File
"/workspaces/manjukum/meta-ti-build/poky/bitbake/lib/bb/data.py", line
438, in generate_dependencies(d=<bb.data_smart.DataSmart object at
0x7fd9cd6f1b38>):
if dep not in deps:
> deps[dep], values[dep] =
build_dependencies(dep, keys, shelldeps, varflagsexcl, d)
newdeps |= deps[dep]
....
....
='/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/../includes/../includes/ti-unpack.inc'):
code = compile(check_indent(str(node)), filename, "exec",
> ast.PyCF_ONLY_AST)
File
"/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/../includes/../includes/ti-unpack.inc",
line 51
os.chmod(binfile, 0755)
^
SyntaxError: invalid token
Any help is appreciated.
Thanks
Manju
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Getting started with meta-ti (beaglebone)
2016-08-01 22:49 Getting started with meta-ti (beaglebone) Manjukumar Harthikote Matha
@ 2016-08-01 23:34 ` Denys Dmytriyenko
2016-08-02 2:12 ` Gary Thomas
0 siblings, 1 reply; 6+ messages in thread
From: Denys Dmytriyenko @ 2016-08-01 23:34 UTC (permalink / raw)
To: Manjukumar Harthikote Matha; +Cc: meta-ti
On Mon, Aug 01, 2016 at 03:49:37PM -0700, Manjukumar Harthikote Matha wrote:
> All,
>
> I am trying to build for beaglebone but facing some errors on master
> branch. Maybe I am missing some configuration for the builds, can
> you please help me out
>
> I cloned, poky, meta-openembedded and meta-ti master branch
>
> source oe-init-build-env beaglebone
>
> Added BBMASK = "meta-ti/recipes-misc" in local.conf
What's this ^^^ for?
> MACHINE=beaglebone bitbake core-image-minimal
>
> Gives me an error
Are those Python3 related errors?
> ERROR: Unable to parse /workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/ti-cgt6x_6.1.20.bb
> Traceback (most recent call last):
> File
> "/workspaces/manjukum/meta-ti-build/poky/bitbake/lib/bb/siggen.py",
> line 151, in SignatureGeneratorOEBasicHash.finalise(fn='/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/ti-cgt6x_6.1.20.bb',
> d=<bb.data_smart.DataSmart object at 0x7fd9cd6f1b38>, variant=None):
> try:
> > taskdeps = self._build_data(fn, d)
> except:
> File
> "/workspaces/manjukum/meta-ti-build/poky/bitbake/lib/bb/siggen.py",
> line 104, in SignatureGeneratorOEBasicHash._build_data(fn='/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/ti-cgt6x_6.1.20.bb',
> d=<bb.data_smart.DataSmart object at 0x7fd9cd6f1b38>):
>
> > tasklist, gendeps, lookupcache =
> bb.data.generate_dependencies(d)
>
> File
> "/workspaces/manjukum/meta-ti-build/poky/bitbake/lib/bb/data.py",
> line 438, in generate_dependencies(d=<bb.data_smart.DataSmart object
> at 0x7fd9cd6f1b38>):
> if dep not in deps:
> > deps[dep], values[dep] =
> build_dependencies(dep, keys, shelldeps, varflagsexcl, d)
> newdeps |= deps[dep]
>
> ....
> ....
> ='/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/../includes/../includes/ti-unpack.inc'):
> code = compile(check_indent(str(node)), filename, "exec",
> > ast.PyCF_ONLY_AST)
>
> File "/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/../includes/../includes/ti-unpack.inc",
> line 51
> os.chmod(binfile, 0755)
> ^
> SyntaxError: invalid token
>
>
> Any help is appreciated.
>
> Thanks
> Manju
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Getting started with meta-ti (beaglebone)
2016-08-01 23:34 ` Denys Dmytriyenko
@ 2016-08-02 2:12 ` Gary Thomas
2016-08-02 18:17 ` Manjukumar Harthikote Matha
0 siblings, 1 reply; 6+ messages in thread
From: Gary Thomas @ 2016-08-02 2:12 UTC (permalink / raw)
To: meta-ti
On 2016-08-02 01:34, Denys Dmytriyenko wrote:
> On Mon, Aug 01, 2016 at 03:49:37PM -0700, Manjukumar Harthikote Matha wrote:
>> All,
>>
>> I am trying to build for beaglebone but facing some errors on master
>> branch. Maybe I am missing some configuration for the builds, can
>> you please help me out
>>
>> I cloned, poky, meta-openembedded and meta-ti master branch
>>
>> source oe-init-build-env beaglebone
>>
>> Added BBMASK = "meta-ti/recipes-misc" in local.conf
>
> What's this ^^^ for?
>
>
>> MACHINE=beaglebone bitbake core-image-minimal
>>
>> Gives me an error
>
> Are those Python3 related errors?
>
>
>> ERROR: Unable to parse /workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/ti-cgt6x_6.1.20.bb
>> Traceback (most recent call last):
>> File
>> "/workspaces/manjukum/meta-ti-build/poky/bitbake/lib/bb/siggen.py",
>> line 151, in SignatureGeneratorOEBasicHash.finalise(fn='/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/ti-cgt6x_6.1.20.bb',
>> d=<bb.data_smart.DataSmart object at 0x7fd9cd6f1b38>, variant=None):
>> try:
>> > taskdeps = self._build_data(fn, d)
>> except:
>> File
>> "/workspaces/manjukum/meta-ti-build/poky/bitbake/lib/bb/siggen.py",
>> line 104, in SignatureGeneratorOEBasicHash._build_data(fn='/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/ti-cgt6x_6.1.20.bb',
>> d=<bb.data_smart.DataSmart object at 0x7fd9cd6f1b38>):
>>
>> > tasklist, gendeps, lookupcache =
>> bb.data.generate_dependencies(d)
>>
>> File
>> "/workspaces/manjukum/meta-ti-build/poky/bitbake/lib/bb/data.py",
>> line 438, in generate_dependencies(d=<bb.data_smart.DataSmart object
>> at 0x7fd9cd6f1b38>):
>> if dep not in deps:
>> > deps[dep], values[dep] =
>> build_dependencies(dep, keys, shelldeps, varflagsexcl, d)
>> newdeps |= deps[dep]
>>
>> ....
>> ....
>> ='/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/../includes/../includes/ti-unpack.inc'):
>> code = compile(check_indent(str(node)), filename, "exec",
>> > ast.PyCF_ONLY_AST)
>>
>> File "/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/../includes/../includes/ti-unpack.inc",
>> line 51
>> os.chmod(binfile, 0755)
>> ^
>> SyntaxError: invalid token
In python3 this needs to be 0o755
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Getting started with meta-ti (beaglebone)
2016-08-02 2:12 ` Gary Thomas
@ 2016-08-02 18:17 ` Manjukumar Harthikote Matha
2016-08-03 17:28 ` Denys Dmytriyenko
0 siblings, 1 reply; 6+ messages in thread
From: Manjukumar Harthikote Matha @ 2016-08-02 18:17 UTC (permalink / raw)
To: Gary Thomas, meta-ti
All,
On 08/01/2016 07:12 PM, Gary Thomas wrote:
> On 2016-08-02 01:34, Denys Dmytriyenko wrote:
>> On Mon, Aug 01, 2016 at 03:49:37PM -0700, Manjukumar Harthikote Matha
>> wrote:
>>> All,
>>>
>>> I am trying to build for beaglebone but facing some errors on master
<..>
>>> Added BBMASK = "meta-ti/recipes-misc" in local.conf
>>
>> What's this ^^^ for?
This is not required, I copied it from a wiki page (getting started on
meta-ti)
>>
>>
>>> MACHINE=beaglebone bitbake core-image-minimal
>>>
>>> Gives me an error
>>
>> Are those Python3 related errors?
>>
<...>>>
>>> line 51
>>> os.chmod(binfile, 0755)
>>> ^
>>> SyntaxError: invalid token
>
> In python3 this needs to be 0o755
Yes this works and fails on a tar extraction command. Another Python3
error, will look into it. For now, I just deleted the extraction block
to surpass the error.
Thanks
Manju
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Getting started with meta-ti (beaglebone)
2016-08-02 18:17 ` Manjukumar Harthikote Matha
@ 2016-08-03 17:28 ` Denys Dmytriyenko
2016-08-03 17:37 ` Manjukumar Harthikote Matha
0 siblings, 1 reply; 6+ messages in thread
From: Denys Dmytriyenko @ 2016-08-03 17:28 UTC (permalink / raw)
To: Manjukumar Harthikote Matha; +Cc: meta-ti, Gary Thomas
On Tue, Aug 02, 2016 at 11:17:35AM -0700, Manjukumar Harthikote Matha wrote:
> All,
>
> On 08/01/2016 07:12 PM, Gary Thomas wrote:
> >On 2016-08-02 01:34, Denys Dmytriyenko wrote:
> >>On Mon, Aug 01, 2016 at 03:49:37PM -0700, Manjukumar Harthikote Matha
> >>wrote:
> >>>All,
> >>>
> >>>I am trying to build for beaglebone but facing some errors on master
> <..>
> >>>Added BBMASK = "meta-ti/recipes-misc" in local.conf
> >>
> >>What's this ^^^ for?
> This is not required, I copied it from a wiki page (getting started
> on meta-ti)
I don't know what that wiki is or how old it is, but there's no recipes-misc
in meta-ti... It's not a good idea to collect random outdated tidbits on the
Internet and try to get it all working...
> >>>MACHINE=beaglebone bitbake core-image-minimal
> >>>
> >>>Gives me an error
> >>
> >>Are those Python3 related errors?
> >>
> <...>>>
> >>>line 51
> >>> os.chmod(binfile, 0755)
> >>> ^
> >>>SyntaxError: invalid token
> >
> >In python3 this needs to be 0o755
> Yes this works and fails on a tar extraction command. Another
> Python3 error, will look into it. For now, I just deleted the
> extraction block to surpass the error.
Yeah, that was my other question - why master? There's currently Python3
migration going on upstream and meta-ti is slightly behind on this. I'd
recommend using krogoth stable release to get your stuff working. You
should only be playing with latest master code, especially with several
additional layers, only if you really know what you are doing...
--
Denys
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Getting started with meta-ti (beaglebone)
2016-08-03 17:28 ` Denys Dmytriyenko
@ 2016-08-03 17:37 ` Manjukumar Harthikote Matha
0 siblings, 0 replies; 6+ messages in thread
From: Manjukumar Harthikote Matha @ 2016-08-03 17:37 UTC (permalink / raw)
To: Denys Dmytriyenko; +Cc: meta-ti, Gary Thomas
On 08/03/2016 10:28 AM, Denys Dmytriyenko wrote:
> On Tue, Aug 02, 2016 at 11:17:35AM -0700, Manjukumar Harthikote Matha wrote:
>> All,
>>
>> On 08/01/2016 07:12 PM, Gary Thomas wrote:
>>> On 2016-08-02 01:34, Denys Dmytriyenko wrote:
>>>> On Mon, Aug 01, 2016 at 03:49:37PM -0700, Manjukumar Harthikote Matha
>>>> wrote:
>>>>> All,
>>>>>
>>>>> I am trying to build for beaglebone but facing some errors on master
>> <..>
>>>>> Added BBMASK = "meta-ti/recipes-misc" in local.conf
>>>>
>>>> What's this ^^^ for?
>
>> This is not required, I copied it from a wiki page (getting started
>> on meta-ti)
>
> I don't know what that wiki is or how old it is, but there's no recipes-misc
> in meta-ti... It's not a good idea to collect random outdated tidbits on the
> Internet and try to get it all working...
>
Agreed :)
>
>>>>> MACHINE=beaglebone bitbake core-image-minimal
>>>>>
>>>>> Gives me an error
>>>>
>>>> Are those Python3 related errors?
>>>>
>> <...>>>
>>>>> line 51
>>>>> os.chmod(binfile, 0755)
>>>>> ^
>>>>> SyntaxError: invalid token
>>>
>>> In python3 this needs to be 0o755
>
>> Yes this works and fails on a tar extraction command. Another
>> Python3 error, will look into it. For now, I just deleted the
>> extraction block to surpass the error.
>
> Yeah, that was my other question - why master? There's currently Python3
> migration going on upstream and meta-ti is slightly behind on this. I'd
> recommend using krogoth stable release to get your stuff working. You
> should only be playing with latest master code, especially with several
> additional layers, only if you really know what you are doing...
>
I was working on a patch to OE-CORE for u-boot. I got a pushback stating
beaglebone was not working on master. So I started on master, however I
did verify my patch on Krogoth as well(both works and build u-boot using
outoftree source code). Didn't realize beaglebone also existed in
meta-yocto-bsp, now i have verified in all the possible combinations for
beaglebone :)
Thanks for all the help, much appreciated
Thanks
Manju
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-08-03 17:40 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-01 22:49 Getting started with meta-ti (beaglebone) Manjukumar Harthikote Matha
2016-08-01 23:34 ` Denys Dmytriyenko
2016-08-02 2:12 ` Gary Thomas
2016-08-02 18:17 ` Manjukumar Harthikote Matha
2016-08-03 17:28 ` Denys Dmytriyenko
2016-08-03 17:37 ` Manjukumar Harthikote Matha
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.