[meta-ti] Getting started with meta-ti (beaglebone)

Gary Thomas gary at mlbassoc.com
Mon Aug 1 19:12:19 PDT 2016


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
------------------------------------------------------------


More information about the meta-ti mailing list