<?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>1926</bug_id>
          
          <creation_ts>2012-01-19 07:59:11 +0000</creation_ts>
          <short_desc>fail to build when hard drive has btrfs file system</short_desc>
          <delta_ts>2012-01-20 14:48: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>1.1</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.2 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jim A">jfabernathy</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <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>18269</commentid>
    <comment_count>0</comment_count>
    <who name="Jim A">jfabernathy</who>
    <bug_when>2012-01-19 07:59:11 +0000</bug_when>
    <thetext>I just built a new development pc and installed Ubuntu 11.10 x64 using btrfs for the file system and SOFTRAID 0.  I got a bitbake error right off, but then it complete the first 63 task and stopped successfully. error below:

        jim@ubuntu:~/poky/build-cdv$ bitbake core-image-sato
        Pseudo is not present but is required, building this first
        before the main build
        Parsing recipes: 100%
        |#############################____####################| Time:
        00:00:25

        Parsing of 797 .bb files complete (0 cached, 797 parsed). 1037
        targets, 22 skipped, 0 masked, 0 errors.
        ERROR: Execution of event handler &apos;run_buildstats&apos; failed
        Traceback (most recent call last):
        File &quot;run_buildstats(e)&quot;, line 18, in
        run_buildstats(e=&lt;bb.event.____BuildStarted object at 0x4c338d0&gt;)

        File &quot;buildstats.bbclass&quot;, line 21, in
        set_device(e=&lt;bb.event.____BuildStarted object at 0x4c338d0&gt;)

        UnboundLocalError: local variable &apos;rdev&apos; referenced before
        assignment 

I rebuilt the system with EXT4 and SOFTRAID 0 as the file system and things worked fine. there is a lot of discussion on this issue on the mailing list. Title is:  build failure on ubuntu 64bits development system</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18275</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-01-19 15:09:30 +0000</bug_when>
    <thetext>Does this patch fix the problem:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f17c9d3b3832d65543e582dec5d5518e41f08772</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18295</commentid>
    <comment_count>2</comment_count>
    <who name="Jim A">jfabernathy</who>
    <bug_when>2012-01-20 04:38:14 +0000</bug_when>
    <thetext>I will have to build up a development system with btrfs again to test. This
will not happen for a few weeks due to my schedule.  It&apos;s low priority
since the workaround is to not use btrfs. It was more of a test and not a
requirement.  I&apos;ll let you know what I find.

Also, is there a branch that has this patch that I could test against instead? Not sure which is the best approach. I&apos;m not a developer on the level of most people involved in Yocto.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18300</commentid>
    <comment_count>3</comment_count>
    <who name="Jim A">jfabernathy</who>
    <bug_when>2012-01-20 14:47:10 +0000</bug_when>
    <thetext>I cloned poky-contrib and checked out josh/edison.  I did NOT get the error using that version with btrfs file system.  So I&apos;d say it&apos;s fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18301</commentid>
    <comment_count>4</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-01-20 14:48:58 +0000</bug_when>
    <thetext>

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f17c9d3b3832d65543e582dec5d5518e41f08772

This was also added to 1.1.1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>