On Mon, 2023-09-18 at 10:04 +0200, 'Jan Kiszka' via isar-users wrote: > From: Jan Kiszka > > HOST_ARCH must be DISTRO_ARCH when we are not cross-building. > Otherwise, > recipes that set PACKAGE_ARCH to it will fail in native builds. > > Signed-off-by: Jan Kiszka > --- > > Affects specifically the starfive packages. > >  meta/classes/base.bbclass | 6 ++++-- >  1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass > index 88004120..f315a9d5 100644 > --- a/meta/classes/base.bbclass > +++ b/meta/classes/base.bbclass > @@ -49,13 +49,15 @@ def oe_import(d): >  # We need the oe module name space early (before INHERITs get added) >  OE_IMPORTED := "${@oe_import(d)}" >   > -def get_deb_host_arch(): > +def get_deb_host_arch(d): >      import subprocess > +    if d.getVar("ISAR_CROSS_COMPILE") != "1": > +        return d.getVar("DISTRO_ARCH") >      host_arch = subprocess.check_output( >          ["dpkg", "--print-architecture"] >      ).decode('utf-8').strip() >      return host_arch > -HOST_ARCH ??= "${@get_deb_host_arch()}" > +HOST_ARCH ??= "${@get_deb_host_arch(d)}" >  HOST_DISTRO ??= "${DISTRO}" >   >  die() { > -- > 2.35.3 > With this patch CI fails in several tests at parsing stage in case few "too different" multiconfigs are built in parallel: For example, ReproTest.test_repro_unsigned: ``` [stdout] ERROR: /workspace/build/isar_ub_devel/317/meta-isar/recipes- core/images/isar-image-debug.bb: Overrides could not be expanded into a stable state after 5 iterations, overrides must be being referenced by other overridden variables in some recursive fashion. Please provide your configuration to bitbake-devel so we can laugh, er, I mean try and understand how to make it work. [stdlog] 2023-09-20 14:06:26,962 avocado.app ERROR| ERROR: /workspace/build/isar_ub_devel/317/meta-isar/recipes-core/images/isar- image-debug.bb: Overrides could not be expanded into a stable state after 5 iterations, overrides must be being referenced by other overridden variables in some recursive fashion. Please provide your configuration to bitbake-devel so we can laugh, er, I mean try and understand how to make it work. ``` I'm attaching kas config that easy reproduces the issue. When changed "refspec" to "next", it works.