<?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>5951</bug_id>
          
          <creation_ts>2014-03-12 06:31:09 +0000</creation_ts>
          <short_desc>Toaster leads to the failure of &quot;bitbake core-image-minimal&quot;.</short_desc>
          <delta_ts>2014-03-13 07:52:09 +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>Toaster</product>
          <component>toaster</component>
          <version>1.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yuan Sun">Yuan.Sun2</reporter>
          <assigned_to name="Alexandru Damian">alexandru.damian</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>cristiana.voicu</cc>
    
    <cc>david.reyna</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>Yuan.Sun2</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>41118</commentid>
    <comment_count>0</comment_count>
    <who name="Yuan Sun">Yuan.Sun2</who>
    <bug_when>2014-03-12 06:31:09 +0000</bug_when>
    <thetext>Toaster leads to the failure of &quot;bitbake core-image-minimal&quot;. If run &quot;bitbake core-image-minimal&quot; after &quot;source toaster start&quot;, it is failed to build. However, if run &quot;bitbake core-image-minimal&quot; individually and don&apos;t start up toaster, the build is fine.

Tested in 1960f6b2ecbb793b40ebc9aed25c8f9cb7884c9a.
Steps to reproduce:
git clone git://git.yoctoproject.org/poky
source poky/oe-init-build-env
You would enter to build/ directory.
source toaster start
bitbake core-image-minimal


environment:
host: Ubuntu 12.04 LTS 32bit

test@p1:/build/Build/ysun0/9/poky$ uname -a
Linux p1 3.2.0-23-generic-pae #36-Ubuntu SMP Tue Apr 10 22:19:09 UTC 2012 i686 i686 i386 GNU/Linux


log:
test@p1:/build/Build/ysun0/9$ source poky/oe-init-build-env
You had no conf/local.conf file. This configuration file has therefore been
created for you with some default values. You may wish to edit it to use a 
different MACHINE (target hardware) or enable parallel build options to take 
advantage of multiple cores for example. See the file for more information as 
common configuration options are commented.

The Yocto Project has extensive documentation about OE including a reference manual
which can be found at:
    http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
    http://www.openembedded.org/

You had no conf/bblayers.conf file. The configuration file has been created for
you with some default values. To add additional metadata layers into your
configuration please add entries to this file.

The Yocto Project has extensive documentation about OE including a reference manual
which can be found at:
    http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
    http://www.openembedded.org/



### Shell environment set up for builds. ###

You can now run &apos;bitbake &lt;target&gt;&apos;

Common targets are:
    core-image-minimal
    core-image-sato
    meta-toolchain
    adt-installer
    meta-ide-support

You can also run generated qemu images with a command like &apos;runqemu qemux86&apos;
test@p1:/build/Build/ysun0/9/build$ source toaster start
The system will start.
Syncing...
Creating tables ...
Creating table south_migrationhistory
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)

Synced:
 &gt; django.contrib.staticfiles
 &gt; django.contrib.humanize
 &gt; south

Not synced (use migrations):
 - orm
(use ./manage.py migrate to migrate these)
Running migrations for orm:
 - Migrating forwards to 0006_auto__add_field_target_image_size__add_field_target_license_manifest_p.
 &gt; orm:0001_initial
 &gt; orm:0002_auto__add_field_build_timespent
 &gt; orm:0003_timespent
 - Migration &apos;orm:0003_timespent&apos; is marked for no-dry-run.
 &gt; orm:0004_auto__add_field_package_installed_name
 &gt; orm:0005_auto__add_target_image_file__add_target_file__add_field_variablehistor
 &gt; orm:0006_auto__add_field_target_image_size__add_field_target_license_manifest_p
 - Loading initial data for orm.
Installed 0 object(s) from 0 fixture(s)

server address: 127.0.0.1, server port: 8200
Successful start.
test@p1:/build/Build/ysun0/9/build$ 
test@p1:/build/Build/ysun0/9/build$ bitbake core-image-minimal
Parsing recipes: 100% |###########################################################################| ETA:  00:00:00
Parsing of 856 .bb files complete (0 cached, 856 parsed). 1217 targets, 35 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = &quot;1.21.1&quot;
BUILD_SYS         = &quot;i686-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-12.04&quot;
TARGET_SYS        = &quot;i586-poky-linux&quot;
MACHINE           = &quot;qemux86&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.5+snapshot-20140312&quot;
TUNE_FEATURES     = &quot;m32 i586&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-yocto        
meta-yocto-bsp    = &quot;master:1960f6b2ecbb793b40ebc9aed25c8f9cb7884c9a&quot;

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Unknown process (7433) exited unexpectedly (0), shutting down...
ERROR: Unknown process (7439) exited unexpectedly (0), shutting down...
NOTE: Sending SIGTERM to remaining 2 tasks
NOTE: Sending SIGTERM to remaining 2 tasks
NOTE: Tasks Summary: Attempted 0 tasks of which 0 didn&apos;t need to be rerun and all succeeded.
No currently running tasks (2 of 1806)

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
test@p1:/build/Build/ysun0/9/build$</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41122</commentid>
    <comment_count>1</comment_count>
    <who name="Yuan Sun">Yuan.Sun2</who>
    <bug_when>2014-03-12 07:11:04 +0000</bug_when>
    <thetext>I try running &quot;source toaster stop&quot; to terminate toaster and starting up the build(bitbake core-image-minimal). The build is fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41135</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2014-03-12 12:20:20 +0000</bug_when>
    <thetext>After investigation, I believe this patch solves the problem.

http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=rpurdie/t67&amp;id=26ebe23010068f8875aa1e81c65bbf57174b5022

Tuan, Cristiana, can you please test it ?
I can&apos;t easily repro the error on my machine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41167</commentid>
    <comment_count>3</comment_count>
    <who name="Yuan Sun">Yuan.Sun2</who>
    <bug_when>2014-03-13 07:51:04 +0000</bug_when>
    <thetext>    I retest in the latest git tree(463cd34f8c17c67c4f3adf3468424730b22f3974).It works well. Maybe the commit solves the problem.
    http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=9104a32196405a4bf5312eccdc0d4a207f8bf9f1
    Thanks.
            Yuan</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41168</commentid>
    <comment_count>4</comment_count>
    <who name="Yuan Sun">Yuan.Sun2</who>
    <bug_when>2014-03-13 07:52:09 +0000</bug_when>
    <thetext>Verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>