添加元数据层后的ParseError无法继承文件类/ autotools_stage.bbclass?

时间:2017-12-14 11:28:37

标签: yocto bitbake

更新:以下是每个图层的分支

private eventDelegateCallback: any;

@HostListener('delegateEvent', ['$event'])
  public onEvent(event) {
    this.eventDelegateCallback = event.detail;
    if(event.type == "click"){
       // run click stuff
       this.eventDelegateCallback(this.day)
    }
  }

我正在尝试添加一个名为元虚拟化的层,它依赖于某些meta-openembedded层,例如meta-oe。一个我添加这些必要的层我在bitbaking时得到以下错误:

rama@RR06:~/repositories/poky$ cd meta-qt4/
rama@RR06:~/repositories/poky/meta-qt4$ git checkout pyro
Already on 'pyro'
Your branch is up-to-date with 'origin/pyro'.
rama@RR06:~/repositories/poky/meta-qt4$ cd ..
rama@RR06:~/repositories/poky$ cd meta-virtualization/
rama@RR06:~/repositories/poky/meta-virtualization$ git checkout pyro
Already on 'pyro'
Your branch is up-to-date with 'origin/pyro'.
rama@RR06:~/repositories/poky/meta-virtualization$ cd ..
rama@RR06:~/repositories/poky$ cd oe-meta-go/
rama@RR06:~/repositories/poky/oe-meta-go$ git checkout pyro
error: pathspec 'pyro' did not match any file(s) known to git.
rama@RR06:~/repositories/poky/oe-meta-go$ cd ..
rama@RR06:~/repositories/poky$ cd meta-toradex/
rama@RR06:~/repositories/poky/meta-toradex$ git checkout pyro
M   meta/conf/machine/qemuarm64.conf
Already on 'pyro'
Your branch is up-to-date with 'origin/pyro'.
rama@RR06:~/repositories/poky/meta-toradex$ cd ..
rama@RR06:~/repositories/poky$ cd meta-openembedded/
rama@RR06:~/repositories/poky/meta-openembedded$ git checkout pyro
M   meta/conf/machine/qemuarm64.conf
Already on 'pyro'
Your branch is up-to-date with 'origin/pyro'.
rama@RR06:~/repositories/poky/meta-openembedded$ cd ..
rama@RR06:~/repositories/poky$ cd meta-freescale
rama@RR06:~/repositories/poky/meta-freescale$ git checkout pyro
Already on 'pyro'
Your branch is up-to-date with 'origin/pyro'.
rama@RR06:~/repositories/poky/meta-freescale$ 

和此:

NOTE: /home/rama/repositories/poky/meta-openembedded/meta-oe/recipes-support/vim/vim_7.4.769.bb: base_contains is deprecated, please use bb.utils.contains instead.               | ETA:  0:00:26
NOTE: /home/rama/repositories/poky/meta-openembedded/meta-oe/recipes-support/vim/vim_7.4.769.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/rama/repositories/poky/meta-openembedded/meta-oe/recipes-support/vim/vim-tiny_7.4.769.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/rama/repositories/poky/meta-openembedded/meta-oe/recipes-support/vim/vim-tiny_7.4.769.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/rama/repositories/poky/meta-openembedded/meta-oe/recipes-support/vim/vim-tiny_7.4.769.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/rama/repositories/poky/meta-openembedded/meta-oe/recipes-support/vim/vim-tiny_7.4.769.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/rama/repositories/poky/meta-openembedded/meta-oe/recipes-support/vim/vim_7.4.769.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/rama/repositories/poky/meta-openembedded/meta-oe/recipes-support/vim/vim_7.4.769.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/rama/repositories/poky/meta-openembedded/meta-oe/recipes-support/udisks/udisks2_2.1.5.bb: base_contains is deprecated, please use bb.utils.contains instead.          | ETA:  0:00:26
NOTE: /home/rama/repositories/poky/meta-openembedded/meta-oe/recipes-support/udisks/udisks2_2.1.5.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/rama/repositories/poky/meta-openembedded/meta-oe/recipes-support/udisks/udisks_1.0.5.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/rama/repositories/poky/meta-openembedded/meta-oe/recipes-support/udisks/udisks_1.0.5.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/rama/repositories/poky/meta-openembedded/meta-oe/recipes-support/udisks/udisks2_2.1.5.bb: base_contains is deprecated, please use bb.utils.contains instead.

我甚至没有看到构建配置输出。我检查了一下,发现autotools_stage.bbclass已从最新版本的scsirastools_1.6.4.bb文件中删除,并说可以删除csince未使用,我继续这样做并得到以下错误:< / p>

ERROR: ParseError at /home/rama/repositories/poky/meta-openembedded/meta-oe/recipes-extended/scsirastools/scsirastools_1.6.4.bb:17: Could not inherit file classes/autotools_stage.bbclass

是否有一些其他已弃用的文件调用这个旧的假设不存在的文件?正如我所说,我最近克隆了一切。 所以我再说回来。我刚刚克隆了repos yeaterday,除了主人之外的oe-meta-go,所有其他分支都在pyro分支上。

我的设置在Ubuntu 14.04上的pyro分支上很有用。

1 个答案:

答案 0 :(得分:2)

同样,您使用的是所有图层的哪些版本?您需要在所有图层中使用相应的版本/分支。

初始警告base_contains is deprecated, please use bb.utils.contains instead.表示您有最近(不太旧)的bitbake和oe-core。

但是,scsirastools确实在autotools_stage中继承了jethro;虽然此行已在krogoth中删除(2016年春季续签)。请参阅meta-oe/scsirastools_1.6.4.bb以确认它未在pyro中继承该类。

对于其他错误,openvpn_2.3.7.bb分支中meta-networking内的pyroypbind-mt,请参阅meta-networking / openvpn进行验证。

对于nis.inc,在包含的文件os = bb.data.getVar("TARGET_OS", d, 1) 中,没有行:

pyro
<{1>}分支中的

。相反,这一行是:

os = d.getVar("TARGET_OS", True)

上述所有发现都告诉我们你正在混合分支。

因此,如果你确保你的所有你的图层的相同的版本/分支,那么问题就会少得多。

混合版本/分支机构不支持,您可以自行离开。 (即,这只适用于知道自己正在做什么的人。)