On 17 August 2017 at 23:12, Mike Looijmans <mike.looijm...@topic.nl> wrote: > 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.
Looks like a very odd failure, unfortunately I cannot reproduce with pyro or master on recipes that use version control or dynamic SRCREV features. Could you provide some build config info and if possible the recipe that is generating the error? > > > > 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' If you don't need the pmu-firmware built via the meta-xilinx layer (e.g. you source it externally or via meta-xilinx-tools), you can remove the include and that dependency. Regards, Nathan -- _______________________________________________ meta-xilinx mailing list meta-xilinx@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-xilinx