96boards / oe-rpb-manifest

RPB development environment setup using Android repo tool
MIT License
17 stars 58 forks source link

Cannot build with the sumo branch #93

Open km13park opened 5 years ago

km13park commented 5 years ago

We are trying to configure LUV (Linux UEFI Validation) using the OE-RPB model. 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.

error log

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'

fboudra commented 5 years ago

I assume it's related to https://lists.linaro.org/pipermail/openembedded/2018-October/000149.html Copying the reply from Nicolas: 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.