<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>15707</bug_id>
          
          <creation_ts>2025-01-07 12:24:27 +0000</creation_ts>
          <short_desc>Fragment usability issues</short_desc>
          <delta_ts>2026-10-01 15:47:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>0.0.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>ACCEPTED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.2 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>ccasciato</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>100544</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2025-01-07 12:24:27 +0000</bug_when>
    <thetext>I tried enabling fragments on the autobuilder. I started with two fragments, one had a BB_CONF_FRAGMENT_SUMMARY (no description) and one did not.

When I started a build having enabled the fragment without the summary by setting OE_FRAGMENTS += &quot;xxx&quot;, I see the failure:

ERROR: Could not find fragment yocto-autobuilder/autobuilder in enabled layers:  

when I instead run bitbake-config-build list-fragments, it tells me to add the summary, which is a much more useful message.

Curiously, if I add two fragments and one has the summary, that fixes the issue which is likely a second issue we need to address too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100545</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2025-01-07 12:32:48 +0000</bug_when>
    <thetext>It turns out I was missing the layer prefix so the fragment wasn&apos;t configured. What puzzles me is why some builds with this configured were not erroring in some cases, e.g.:

https://valkyrie.yoctoproject.org/#/builders/10/builds/763/steps/10/logs/stdio

has:

  OE_FRAGMENTS += &apos;yocto-autobuilder/autobuilder&apos;

yet the build is proceeding?

I&apos;d note the config tool also errored with the description missing once I fixed the short logs.

The config tool doesn&apos;t like adding

require conf/multilib.conf

to a fragment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100553</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2025-01-08 10:19:42 +0000</bug_when>
    <thetext>The conf/multilib.conf issue also appears in an oe-selftest failure of
bblayers.BitbakeConfigBuild.test_enable_disable_fragments

https://valkyrie.yoctoproject.org/#/builders/76/builds/727/steps/15/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100554</commentid>
    <comment_count>3</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2025-01-08 11:26:28 +0000</bug_when>
    <thetext>I sent a patch for the multilib issue.

There seem to be other issues here, but I am not sure how to reproduce and observe them. Can I trigger something on the autobuilder against some branches you made, or maybe there are steps I can take locally?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100571</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-01-09 15:49:10 +0000</bug_when>
    <thetext>conf/multilib issue is fixed.

Richard plans to add more info when he is in a more coherent state. ;-)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>