[meta-xilinx] ZynqMP causes tons of recipes to fail to parse because of PMU build
Mike Looijmans
mike.looijmans at topic.nl
Thu Aug 17 06:12:19 PDT 2017
I'm attempting to revive my build for the MPSOC machines. If one does
something like this:
MACHINE=zcu102-zynqmp bitbake my-image
I get parsing errors like:
ERROR: ExpansionError during parsing /home/mike/projects/@@@.bb
Traceback (most recent call last):
File "/home/mike/projects/zynq-platform/bitbake/lib/bb/data_smart.py", line
412, in DataSmart.expandWithRefs(s='0.${SRCPV}', varname='PV'):
try:
> s = __expand_var_regexp__.sub(varparse.var_sub, s)
try:
File "/home/mike/projects/zynq-platform/bitbake/lib/bb/data_smart.py", line
111, in VariableParse.var_sub(match=<_sre.SRE_Match object; span=(2, 10),
match='${SRCPV}'>):
else:
> var = self.d.getVarFlag(key, "_content")
self.references.add(key)
File "/home/mike/projects/zynq-platform/bitbake/lib/bb/data_smart.py", line
794, in DataSmart.getVarFlag(var='SRCPV', flag='_content', expand=True,
noweakdefault=False, parsing=False):
cachename = var + "[" + flag + "]"
> value = self.expand(value, cachename)
File "/home/mike/projects/zynq-platform/bitbake/lib/bb/data_smart.py", line
436, in DataSmart.expand(s='${@bb.fetch2.get_srcrev(d)}', varname='SRCPV'):
def expand(self, s, varname = None):
> return self.expandWithRefs(s, varname).value
File "/home/mike/projects/zynq-platform/bitbake/lib/bb/data_smart.py", line
426, in DataSmart.expandWithRefs(s='${@bb.fetch2.get_srcrev(d)}',
varname='SRCPV'):
except Exception as exc:
> raise ExpansionError(varname, s, exc) from exc
bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was
${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher
failure: The SRCREV_FORMAT variable must be set when multiple SCMs are used.
The cause is this line in zcu102-zynqmp.conf:
include conf/machine/include/zynqmp-pmu-config.inc
This breaks almost all recipes that use some kind of version control. Adding
this line to any machine's config yields the same error. Removing it results in:
ERROR: Nothing PROVIDES 'zynqmp-pmu-pmu-firmware'
How does one build zynqmp image these days?
Kind regards,
Mike Looijmans
System Expert
TOPIC Products
Materiaalweg 4, NL-5681 RJ Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: mike.looijmans at topicproducts.com
Website: www.topicproducts.com
Please consider the environment before printing this e-mail
More information about the meta-xilinx
mailing list