无法运行bitbake

时间:2016-06-16 16:03:37

标签: beagleboneblack bitbake

如果这样做我无法运行bitbake命令

joe@joe-O-E-M:~/BeagleBone/poky-dora-10.0.1/build$ bitbake core-image-minimal
ERROR: Traceback (most recent call last):
  File "/home/joe/BeagleBone/poky-dora-10.0.1/bitbake/lib/bb/cookerdata.py", line 162, in wrapped
    return func(fn, *args)
  File "/home/joe/BeagleBone/poky-dora-10.0.1/bitbake/lib/bb/cookerdata.py", line 172, in parse_config_file
    return bb.parse.handle(fn, data, include)
  File "/home/joe/BeagleBone/poky-dora-10.0.1/bitbake/lib/bb/parse/__init__.py", line 99, in handle
    return h['handle'](fn, data, include)
  File "/home/joe/BeagleBone/poky-dora-10.0.1/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 147, in handle
    feeder(lineno, s, fn, statements)
  File "/home/joe/BeagleBone/poky-dora-10.0.1/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 184, in feeder
    raise ParseError("unparsed line: '%s'" % s, fn, lineno);
ParseError: ParseError at /home/joe/BeagleBone/poky-dora-10.0.1/build/conf/bblayers.conf:12: unparsed line: 'BBLAYERS ?= " /home/joe/BeagleBone/poky-dora-10.0.1/meta /home/joe/BeagleBone/poky-dora-10.0.1/meta-yocto /home/joe/BeagleBone/poky-dora-10.0.1/meta-yocto-bsp '

ERROR: Unable to parse /home/joe/BeagleBone/poky-dora-10.0.1/build/conf/bblayers.conf: ParseError at /home/joe/BeagleBone/poky-dora-10.0.1/build/conf/bblayers.conf:12: unparsed line: 'BBLAYERS ?= " /home/joe/BeagleBone/poky-dora-10.0.1/meta /home/joe/BeagleBone/poky-dora-10.0.1/meta-yocto /home/joe/BeagleBone/poky-dora-10.0.1/meta-yocto-bsp '

请帮我解决一下我使用ubentu 16.04

1 个答案:

答案 0 :(得分:3)

你的第二行:

ParseError: ParseError at /home/joe/BeagleBone/poky-dora-10.0.1/build/conf/bblayers.conf:12: unparsed line: 'BBLAYERS ?= " /home/joe/BeagleBone/poky-dora-10.0.1/meta /home/joe/BeagleBone/poky-dora-10.0.1/meta-yocto /home/joe/BeagleBone/poky-dora-10.0.1/meta-yocto-bsp '

表示您在"

中的BBLAYERS定义中缺少结尾conf/bblayers.conf