From: Riko Ho <antonius.riko@gmail.com>
To: yocto@yoctoproject.org
Subject: bitbake core-image-web-kiosk question ?
Date: Wed, 14 Jun 2017 12:10:05 +0800 [thread overview]
Message-ID: <ed57e154-cbd7-176a-02fb-496c6f730d2a@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2685 bytes --]
Hello Everyone,
I tried doing "bitbake core-image-web-kiosk"
And I got this :
====================
Loading cache: 100%
|#####################################################################################################################################|
Time: 0:00:00
Loaded 1310 entries from dependency cache.
ERROR: ExpansionError during parsing
/home/bianchi77/poky/meta-web-kiosk/recipes-browser/vala/vala_0.16.0.bb
| ETA: --:--:--
Traceback (most recent call last):
File "/home/bianchi77/poky/bitbake/lib/bb/data_smart.py", line 412,
in
DataSmart.expandWithRefs(s='http://ftp.gnome.org/pub/GNOME/sources/${BPN}/${SHRT_VER}/${BP}.tar.xz
http://ftp.gnome.org/pub/GNOME/sources/vala/0.36/vala-0.36.0.tar.xz',
varname='SRC_URI'):
try:
> s = __expand_var_regexp__.sub(varparse.var_sub, s)
try:
File "/home/bianchi77/poky/bitbake/lib/bb/data_smart.py", line 111,
in VariableParse.var_sub(match=<_sre.SRE_Match object; span=(46, 57),
match='${SHRT_VER}'>):
else:
> var = self.d.getVarFlag(key, "_content")
self.references.add(key)
File "/home/bianchi77/poky/bitbake/lib/bb/data_smart.py", line 794,
in DataSmart.getVarFlag(var='SHRT_VER', flag='_content', expand=True,
noweakdefault=False, parsing=False):
cachename = var + "[" + flag + "]"
> value = self.expand(value, cachename)
File "/home/bianchi77/poky/bitbake/lib/bb/data_smart.py", line 436,
in
DataSmart.expand(s="${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}",
varname='SHRT_VER'):
def expand(self, s, varname = None):
> return self.expandWithRefs(s, varname).value
File "/home/bianchi77/poky/bitbake/lib/bb/data_smart.py", line 426,
in
DataSmart.expandWithRefs(s="${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}",
varname='SHRT_VER'):
except Exception as exc:
> raise ExpansionError(varname, s, exc) from exc
bb.data_smart.ExpansionError: Failure expanding variable SHRT_VER,
expression was
${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}
which triggered exception AttributeError: module 'bb.data' has no
attribute 'getVar'
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
===============
Does anyone know how to fix it ?
I used poky with pyro release,
Thanks
--
*
/*******/
Sent by Ubuntu LTS 16.04,
谢谢,
Regards,
Riko Ho
/*******/
*
[-- Attachment #2: Type: text/html, Size: 4285 bytes --]
next reply other threads:[~2017-06-14 4:10 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-14 4:10 Riko Ho [this message]
2017-06-14 5:38 ` bitbake core-image-web-kiosk question ? Khem Raj
2017-06-15 5:53 ` FriendlyArm Mini6410 ? Riko Ho
2017-06-15 6:05 ` Belisko Marek
2017-06-15 7:16 ` Riko Ho
2017-06-16 1:32 ` Image type on bitbake ? Riko Ho
2017-06-17 23:41 ` Compiling meta-browser ==>chromium ? cleaning ? Riko Ho
2017-06-18 7:49 ` Martin Jansa
2017-06-18 7:52 ` Riko Ho
2017-06-18 11:48 ` dd image to sdcard ? Riko Ho
2017-06-18 19:17 ` Burton, Ross
2017-06-18 19:37 ` Maciej Borzęcki
2017-06-18 22:03 ` Riko Ho
2017-06-19 3:00 ` RTL8192EU rev B (SMIC) ==> rtl8192eu_nic.bin ? Riko Ho
2017-06-19 19:57 ` Khem Raj
2017-06-20 3:35 ` Riko Ho
2017-06-20 3:46 ` Riko Ho
2017-06-20 4:51 ` Khem Raj
2017-06-21 1:52 ` Riko Ho
2017-06-21 2:28 ` Khem Raj
2017-06-21 2:32 ` Riko Ho
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ed57e154-cbd7-176a-02fb-496c6f730d2a@gmail.com \
--to=antonius.riko@gmail.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.