<?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>11686</bug_id>
          
          <creation_ts>2017-06-19 06:33:43 +0000</creation_ts>
          <short_desc>sanity.bbclass: bblayers.conf upgrade not happening on base config parse errors</short_desc>
          <delta_ts>2025-12-18 16:27:33 +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>OE-Core</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</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.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Patrick Ohly">patrick.ohly</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>ee.peng.yeoh</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>sgw</cc>
          
          <qa_contact name="yeoh ee peng">ee.peng.yeoh</qa_contact>
          <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>74316</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick Ohly">patrick.ohly</who>
    <bug_when>2017-06-19 06:33:43 +0000</bug_when>
    <thetext>Consider this scenario:

- a developer is at LCONF_VERSION 1, using my-distro.conf as distro
- my-distro adds a new layer foo and in my-distro.conf adds a
  &quot;require foo.inc&quot; from that layer
- the developer updates the meta data

The expected outcome is that, as usual, the developer is told to update his out-dated bblayers.conf.

What happens instead is that base config parsing fails with a fatal error because of the missing foo.inc. It&apos;s missing because the developer doesn&apos;t have the &quot;foo&quot; layer in is old bblayers.conf.

This particular case can be worked around with &quot;include foo.inc&quot;, but that&apos;s just a workaround and more fragile because it also doesn&apos;t error out when the file disappears unintentionally.

We just hit that case in refkit (see conf/distro/include/flatpak.inc in enable-refkit-config.inc).

Should the &quot;base configuration parsed&quot; event also be triggered in the failure case, with some special logic that the build aborts unless the event handler throws a &quot;reparse&quot; exception?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96965</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-24 14:24:52 +0000</bug_when>
    <thetext>Bulk move from 4.99 or 0.00 to 5.99</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103605</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-12-18 16:27:33 +0000</bug_when>
    <thetext>Some improvements due to bitbake-setup but still work to do.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>