<?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>707</bug_id>
          
          <creation_ts>2011-02-11 03:45:52 +0000</creation_ts>
          <short_desc>BitBake hanging hard waiting on Futex</short_desc>
          <delta_ts>2011-02-23 03:53: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>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>All</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.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Wolfgang Denk">wd</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>elizabeth.flanagan</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>11713</commentid>
    <comment_count>0</comment_count>
    <who name="Wolfgang Denk">wd</who>
    <bug_when>2011-02-11 03:45:52 +0000</bug_when>
    <thetext>I&apos;m trying to build poky-image-sato-sdk for a PPC machine; I&apos;m using a custom recipy for U-Boot to get a specific version. My build is based on current master: git commit ID b42ba2f

I missed that commit 27b3f08 &quot;uboot: move license data into recipe with SRC_URI&quot; removed the LICENSE entry from u-boot.inc, and I did not have such an entry in my own recipy.

This triggers an &quot;interesting&quot; failure mode: bitbake will print:

Pseudo is not present but is required, building this first before the main build
Parsing recipes...ERROR: This recipe does not have the LICENSE field set (u-boot)

and then hang.  It hangs hard and cannot be interrupted by pressing ^C; also, there are a number of zombie processes:

10868 pts/1    S+     0:00  |           \_ -bash
10871 pts/1    S+     0:00  |           |   \_ /bin/sh /home/wd/git/poky/work/scripts/bitbake -v poky-image-sato-sdk
10876 pts/1    Sl+    0:01  |           |       \_ python /home/wd/git/poky/work/bitbake/bin/bitbake pseudo-native -c populate_sysroot
10879 pts/1    Z+     0:08  |           |           \_ [python] &lt;defunct&gt;
10880 pts/1    Z+     0:15  |           |           \_ [python] &lt;defunct&gt;
10881 pts/1    Z+     0:15  |           |           \_ [python] &lt;defunct&gt;
10882 pts/1    Z+     0:13  |           |           \_ [python] &lt;defunct&gt;
10883 pts/1    Z+     0:15  |           |           \_ [python] &lt;defunct&gt;
10884 pts/1    Z+     0:15  |           |           \_ [python] &lt;defunct&gt;
10885 pts/1    Z+     0:14  |           |           \_ [python] &lt;defunct&gt;
10886 pts/1    Z+     0:14  |           |           \_ [python] &lt;defunct&gt;
10869 pts/1    S+     0:00  |           \_ tee BITBAKE-poky-image-sato-sdk.LOG

Checking with strace I see that bitbake is waiting on some Futex, which apperarently never will be released.

I think bitbake should never reach such a state; a SIGINT should be sufficient to stop it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11996</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-02-23 03:52:30 +0000</bug_when>
    <thetext>*** Bug 729 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11997</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-02-23 03:53:04 +0000</bug_when>
    <thetext>This should be fixed with http://git.pokylinux.org/cgit.cgi/poky/commit/?id=56a92105fe6b779c69bccd44c2cff8f21cafdfbd</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>