<?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>15939</bug_id>
          
          <creation_ts>2025-07-24 14:48:38 +0000</creation_ts>
          <short_desc>variable history for &apos;built-in&apos; fragments could maybe be nicer</short_desc>
          <delta_ts>2025-11-13 12:30:30 +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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yoann Congal">yoann.congal</reporter>
          <assigned_to name="Yoann Congal">yoann.congal</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</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>102504</commentid>
    <comment_count>0</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2025-07-24 14:48:38 +0000</bug_when>
    <thetext>In auto.conf:
OE_FRAGMENTS += &quot;machine/qemux86-64 distro/poky core/yocto/sstate-mirror-cdn&quot;

 $ bitbake-getvar MACHINE
# $MACHINE [2 operations]
#   set ast.py:367 [check_and_set_builtin_fragment]    &lt;&lt;&lt;&lt;
#     &quot;qemux86-64&quot;                                     &lt;&lt;&lt;&lt;
...
# pre-expansion value:
#   &quot;qemux86-64&quot;
MACHINE=&quot;qemux86-64&quot;


the &quot;&lt;&lt;&lt;&lt;&quot; lines do not tell which fragment, and where it is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102505</commentid>
    <comment_count>1</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2025-07-24 14:50:09 +0000</bug_when>
    <thetext>From: &quot;Re: [PATCH 1/2] bitbake-setup: add the initial implementation&quot;
https://lists.openembedded.org/g/bitbake-devel/message/17807</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102888</commentid>
    <comment_count>2</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2025-10-06 17:34:09 +0000</bug_when>
    <thetext>Note: history can be improved for &apos;built-in&apos; fragments (machine/..., distro/...). The file-based one are fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102899</commentid>
    <comment_count>3</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2025-10-09 16:11:09 +0000</bug_when>
    <thetext>RFC patch sent : https://lists.openembedded.org/g/bitbake-devel/topic/rfc_patch_ast_better/115674103</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102926</commentid>
    <comment_count>4</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2025-10-13 15:16:38 +0000</bug_when>
    <thetext>Patch sent: [PATCH] ast: Better variable history for builtin fragments:
https://lists.openembedded.org/g/bitbake-devel/topic/patch_ast_better_variable/115735622</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103273</commentid>
    <comment_count>5</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2025-11-13 12:30:30 +0000</bug_when>
    <thetext>merged with: https://git.openembedded.org/bitbake/commit/?id=cd2985b8c4a27747082df9cce283f0d29bbb9051</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>