On Thursday, February 26, 2026 at 3:27 PM, Benjamin Robin wrote:
> On Thursday, February 26, 2026 at 1:52 PM, Mathieu Dubois-Briand wrote:
> > And a second one:
> > 
> > Initialising tasks...ERROR: Task 
> > virtual:multilib:lib32:/srv/pokybuild/yocto-worker/qemux86-world-alt/build/layers/openembedded-core/meta/recipes-core/meta/meta-world-recipe-sbom.bb:do_create_spdx
> >  has circular dependency on 
> > /srv/pokybuild/yocto-worker/qemux86-world-alt/build/layers/openembedded-core/meta/recipes-core/meta/meta-world-recipe-sbom.bb:do_create_spdx
> > ERROR: Command execution failed: 1
> > 
> > https://autobuilder.yoctoproject.org/valkyrie/#/builders/17/builds/3086
> > https://autobuilder.yoctoproject.org/valkyrie/#/builders/59/builds/3253
> 
> For the second issue, it can be triggered by adding these lines in local.conf:
> 
> MACHINE = "qemux86"
> OE_FRAGMENTS += 'core/yocto-autobuilder/multilib-x86-lib32'
> 
> With this configuration these 2 commands failed:
>  - bitbake -c create_recipe_sbom meta-world-recipe-sbom
>  - bitbake world

I am proposing this fix for meta/recipes-core/meta/meta-world-recipe-sbom.bb:

python calculate_extra_depends() {
    exclude = set('${WORLD_SBOM_EXCLUDE}'.split())
    exclude.add(self_pn)
 
    for variant in ('${MULTILIB_VARIANTS}' or "").split():
        exclude.add(f"{variant}-{self_pn}")
 
    for p in world_target:
        if p in exclude:
            continue
        deps.append(p)
}

This fix solve the second issue (circular dependency).

Best regards,
-- 
Benjamin Robin, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#232034): 
https://lists.openembedded.org/g/openembedded-core/message/232034
Mute This Topic: https://lists.openembedded.org/mt/117985805/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to