<?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>120</bug_id>
          
          <creation_ts>2010-07-16 05:03:59 +0000</creation_ts>
          <short_desc>Handle unbuildable targets better</short_desc>
          <delta_ts>2011-03-03 17:33:48 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>0.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock - Disabled">josh</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          <cf_verified>Program Management</cf_verified>
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>9003</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2010-07-16 05:03:59 +0000</bug_when>
    <thetext>Inserting an unresolvable dependency (e.g. kexec-tools on ppc) and using bitbake -k can result in a total failure but exit status of 0 (success)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12052</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-02-24 05:50:22 +0000</bug_when>
    <thetext>I think this is fixed now. If something is unbuildable an error messages is printed and the presence of any error messages will cause the exit code to be non-zero.


$ MACHINE=qemuppc bitbake task-poky-tools -k
Loading cache: 100% |#######################################################################################################################| ETA:  00:00:00
Loaded 943 entries from dependency cache.
Parsing recipes: 100% |#####################################################################################################################| Time: 00:00:00
Parsing of 773 .bb files complete (736 cached, 37 parsed). 980 targets, 37 skipped, 0 masked, 0 errors.

OE Build Configuration:
BB_VERSION        = &quot;1.11.0&quot;
METADATA_BRANCH   = &quot;master&quot;
METADATA_REVISION = &quot;982955ec922a0ecc649f7cbfb1e79fc95d0bd833&quot;
TARGET_ARCH       = &quot;powerpc&quot;
TARGET_OS         = &quot;linux&quot;
MACHINE           = &quot;qemuppc&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;0.9+snapshot-20110224&quot;
TARGET_FPU        = &quot;&quot;

NOTE: Resolving any missing task queue dependencies
NOTE: Runtime target &apos;kexec-tools&apos; is unbuildable, removing...
Missing or unbuildable dependency chain was: [&apos;kexec-tools&apos;]
ERROR: Nothing RPROVIDES &apos;kexec-tools&apos; (but /rphome/poky/meta/recipes-core/tasks/task-poky-tools.bb RDEPENDS on or otherwise requires it)
NOTE: Preparing runqueue
ERROR: All buildable tasks have been run but the build is incomplete (--continue mode). Errors for the tasks that failed will have been printed above.
$ echo $?
1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12113</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-02-25 02:12:23 +0000</bug_when>
    <thetext>Verify fixed, thanks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>