<?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>4397</bug_id>
          
          <creation_ts>2013-04-23 09:24:30 +0000</creation_ts>
          <short_desc>BitBake does not break a build when ERROR is spotted</short_desc>
          <delta_ts>2013-04-25 14:49:58 +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>DUPLICATE</resolution>
          <dup_id>4396</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marcin Juszkiewicz">marcin</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>liezhi.yang</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>32515</commentid>
    <comment_count>0</comment_count>
    <who name="Marcin Juszkiewicz">marcin</who>
    <bug_when>2013-04-23 09:24:30 +0000</bug_when>
    <thetext>There is one thing which kind of bothers me. &quot;ERROR&quot; message which is just a warning. Like:

ERROR: libelf is listed in PACKAGES multiple times, this leads to packaging errors.
ERROR: libasm is listed in PACKAGES multiple times, this leads to packaging errors.
ERROR: libdw is listed in PACKAGES multiple times, this leads to packaging errors.
ERROR: libdw-dev is listed in PACKAGES multiple times, this leads to packaging errors.
ERROR: libasm-dev is listed in PACKAGES multiple times, this leads to packaging errors.
ERROR: libelf-dev is listed in PACKAGES multiple times, this leads to packaging errors.

If it is error then let BitBake exit instead of doing task. If it is not error but just a warning then let it be renamed?

My recent build failed with:

--------
NOTE: recipe linaro-image-minimal-1.0-r0: task do_rm_work_all: Started
NOTE: recipe linaro-image-minimal-1.0-r0: task do_rm_work_all: Succeeded
NOTE: Tasks Summary: Attempted 2247 tasks of which 915 didn&apos;t need to be rerun and all succeeded.

Summary: There were 3 WARNING messages shown.
Summary: There were 6 ERROR messages shown, returning a non-zero exit code.
Build step &apos;Execute shell&apos; marked build as failure
--------

&quot;all succeeded&quot; does not look like a reason to fail a build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32516</commentid>
    <comment_count>1</comment_count>
    <who name="Marcin Juszkiewicz">marcin</who>
    <bug_when>2013-04-23 09:26:42 +0000</bug_when>
    <thetext>We are using EC2 for builds so each build costs money. And if I have to repeat 4h build (when sstate-cache is not enough) just to see build failure it bumps costs even more.

If BitBake thinks that error is error then let it errors out when it happens.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32519</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2013-04-23 09:30:40 +0000</bug_when>
    <thetext>*** Bug 4398 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32639</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-04-25 14:49:58 +0000</bug_when>
    <thetext>See Dup, fix by using QA_WARN mechanism

*** This bug has been marked as a duplicate of bug 4396 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>