<?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>15280</bug_id>
          
          <creation_ts>2023-11-15 22:17:09 +0000</creation_ts>
          <short_desc>bitbake -b ignores bbappend files</short_desc>
          <delta_ts>2024-09-10 19:05:37 +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>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>5.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adrian">adrian.freihofer</reporter>
          <assigned_to name="Adrian">adrian.freihofer</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</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>97252</commentid>
    <comment_count>0</comment_count>
    <who name="Adrian">adrian.freihofer</who>
    <bug_when>2023-11-15 22:17:09 +0000</bug_when>
    <thetext>bitbake -b a-recipe

Parses only the bb file but does not parse bbappend files. This makes this quick bitbake mode more or less unusable.

This issue was found when working on https://lists.openembedded.org/g/openembedded-core/message/190731

To make the command even more useful a new option which allows to run only one task without the dependencies of the same recipe would be nice.

The -b mode prints a warning:
Buildfile specified, dependencies will not be handled. If this is not what you want, do not use -b / --buildfile.

This is probably no longer needed. All users are used to call bitbake without -b, I guess.
Also the documentation https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-intro.html#executing-a-task-against-a-single-recipe has a hint that this is not the standard option which should be used.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97262</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-11-16 15:41:11 +0000</bug_when>
    <thetext>Adrian, 

The append files didn&apos;t exist when -b was introduced.

This is not a commonly used option.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97263</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2023-11-16 15:43:18 +0000</bug_when>
    <thetext>I&apos;m _really_ tempted to remove -b from bitbake entirely because it&apos;s got so many limitations, but I&apos;ve a script that uses it :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99539</commentid>
    <comment_count>3</comment_count>
    <who name="Adrian">adrian.freihofer</who>
    <bug_when>2024-08-11 13:20:55 +0000</bug_when>
    <thetext>The implementation of devtool ide-sdk, which was finally integrated into poky, does not use bitbake -b (https://git.yoctoproject.org/poky/tree/scripts/lib/devtool/ide_sdk.py#n799). From this point of view, the issue could now be closed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99638</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-09-10 19:05:37 +0000</bug_when>
    <thetext>See Adrian&apos;s comment.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>