Adding the Linaro OE mailing list.
I am not familiar with the details of what you are doing, but it looks like your layer needs to be updated. See https://bugzilla.yoctoproject.org/show_bug.cgi?id=3314, the getVar() function was updated and that requires updating your layer.
nico
On Thu, Oct 18, 2018 at 9:06 PM Park, Kyung Min kyung.min.park@intel.com wrote:
Copying Nicolas/Fathi here.
Hi Nicolas/Fathi,
Can you comment on this?
Thanks,
Kyung Min
From: Dey, Megha Sent: Wednesday, October 17, 2018 4:40 PM To: Park, Kyung Min kyung.min.park@intel.com; koen.kooi@linaro.org Subject: RE: oe-rpb-manifest sumo branch?
Hi Koen,
We are trying to configure LUV (Linux UEFI Validation) using the OE-RPB model, as per our discussion at the Linaro connect.
As a start, we tried to build the oe-rpb-manifest with the default morty branch and everything builds fine. However, if we switch to the sumo branch, we see the error below.
We wanted to confirm if the sumo branch build fine on your end and if we are missing something on our end.
Please let us know.
Thanks,
Megha
From: Park, Kyung Min Sent: Tuesday, October 9, 2018 5:22 PM To: koen.kooi@linaro.org Cc: Dey, Megha megha.dey@intel.com Subject: oe-rpb-manifest sumo branch?
Hi Koen,
We’ve been trying to build the oe-rpb-manifest with ‘sumo’ branch. But, we’re getting an error in data_smart.py as below.
Do you know if anybody tried sumo branch or validated? Everything went well with ‘morty’ branch.
# git repo
https://github.com/96boards/oe-rpb-manifest
# error log when build
ERROR: Unable to parse /home/km/Documents/rpb-yocto-tue/oe-rpb-manifest/bitbake/lib/bb/data_smart.py
Traceback (most recent call last):
File "/home/km/Documents/rpb-yocto-tue/oe-rpb-manifest/bitbake/lib/bb/data_smart.py", line 401, in DataSmart.ex pandWithRefs(s="${@os.path.dirname(bb.utils.which(d.getVar('PATH'),'bitbake'))}:${HOSTTOOLS_DIR}", varname='PATH[ :=]'):
raise ExpansionError(varname, s, exc) from exc
bb.data_smart.ExpansionError: Failure expanding variable PATH[:=], expression was ${@os.path.dirname(bb.utils.whi ch(d.getVar('PATH'),'bitbake'))}:${HOSTTOOLS_DIR} which triggered exception TypeError: getVar() missing 1 require d positional argument: 'expand'
Thanks,
Kyung Min