<?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>6391</bug_id>
          
          <creation_ts>2014-06-02 14:24:45 +0000</creation_ts>
          <short_desc>bitbake fails to warn of mkubifs error</short_desc>
          <delta_ts>2014-06-06 10:36:04 +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>1.7</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>1.7</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mark.roszko</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <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>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>43705</commentid>
    <comment_count>0</comment_count>
    <who name="">mark.roszko</who>
    <bug_when>2014-06-02 14:24:45 +0000</bug_when>
    <thetext>I had my machine config set to have a LEB count that was too low for mkubifs to succeed by using MKUBIFS_ARGS. The expected behavior is bitbake would forward the error. Instead bitbake completes image building with as a success with 0 warnings and 0 errors. The images deploy directory ends up containing the intermediate ubifs but not the ubi image.

Running the intermediate script create_image.ubi in the image tmp folder ends up revealing the error message:

Error: max_leb_cnt too low (2211 needed)

This message was never handled by bitbake.

Reproduction is setting your machine conf with a 
MKUBIFS_ARGS = &quot;(MACHINE dependent cruff) -c 600&quot;
where the -c arg is a low number for your output build
and of course having one of the IMAGE_FSTYPES as ubi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43740</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-06-03 12:58:55 +0000</bug_when>
    <thetext>I&apos;ve sent out a patch which I believe will fix this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43805</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-06-06 10:36:04 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=f9ac0cb9b6abfbde8cecef380d1150add4718cf0</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>