What branch ? We resolved that issue quite some time ago for master
and for the older branches.

If something happened to Joshua's change in master, I'm not aware of
it, and will wait for a patch to meta-virt to fix it up.

Bruce

On Mon, Nov 20, 2023 at 4:51 PM Alexandre Belloni
<[email protected]> wrote:
>
> Hi Bruce,
>
> check-layer-nightly is failing for meta-virt:
>
> Loaded 0 entries from dependency cache.
> Parsing recipes...ERROR: ExpansionError during parsing 
> /home/pokybuild/yocto-worker/check-layer-nightly/build/meta-virtualization/recipes-extended/images/container-base.bb
> Traceback (most recent call last):
>   File 
> "/home/pokybuild/yocto-worker/check-layer-nightly/build/bitbake/lib/bb/data_smart.py",
>  line 481, in 
> DataSmart.expandWithRefs(s="${@oe.go.map_arch(d.getVar('TARGET_ARCH'))}", 
> varname='OCI_IMAGE_ARCH'):
>                      tb = sys.exc_info()[2]
>     >                raise ExpansionError(varname, s, exc).with_traceback(tb) 
> from exc
>
>   File 
> "/home/pokybuild/yocto-worker/check-layer-nightly/build/bitbake/lib/bb/data_smart.py",
>  line 465, in 
> DataSmart.expandWithRefs(s="${@oe.go.map_arch(d.getVar('TARGET_ARCH'))}", 
> varname='OCI_IMAGE_ARCH'):
>                      try:
>     >                    s = 
> __expand_python_regexp__.sub(varparse.python_sub, s)
>                      except SyntaxError as e:
>   File 
> "/home/pokybuild/yocto-worker/check-layer-nightly/build/bitbake/lib/bb/data_smart.py",
>  line 153, in VariableParse.python_sub(match=<re.Match object; span=(0, 43), 
> match="${@oe.go.map_arch(d.getVar('TARGET_ARCH'))}">):
>                          self.contains[k].update(parser.contains[k])
>     >            value = utils.better_eval(codeobj, DataContext(self.d), {'d' 
> : self.d})
>                  return str(value)
>   File 
> "/home/pokybuild/yocto-worker/check-layer-nightly/build/bitbake/lib/bb/utils.py",
>  line 434, in better_eval(source=<code object <module> at 0x7f1275c759a0, 
> file "Var <OCI_IMAGE_ARCH>", line 1>, locals={'d': <bb.data_smart.DataSmart 
> object at 0x7f127678f790>}, extraglobals={'d': <bb.data_smart.DataSmart 
> object at 0x7f127678f790>}):
>                  ctx[g] = extraglobals[g]
>     >    return eval(source, ctx, locals)
>
>   File "Var <OCI_IMAGE_ARCH>", line 1, in <module>
> bb.data_smart.ExpansionError: Failure expanding variable OCI_IMAGE_ARCH, 
> expression was ${@oe.go.map_arch(d.getVar('TARGET_ARCH'))} which triggered 
> exception AttributeError: module 'oe' has no attribute 'go'
> The variable dependency chain for the failure is: OCI_IMAGE_ARCH -> 
> IMAGE_CMD:oci
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/121/builds/1719/steps/23/logs/stdio
>
> --
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8460): 
https://lists.yoctoproject.org/g/meta-virtualization/message/8460
Mute This Topic: https://lists.yoctoproject.org/mt/102717308/21656
Group Owner: [email protected]
Unsubscribe: 
https://lists.yoctoproject.org/g/meta-virtualization/leave/6693005/21656/1014668956/xyzzy
 [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to