<?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>3654</bug_id>
          
          <creation_ts>2012-12-28 06:40:35 +0000</creation_ts>
          <short_desc>do_populate_sdk failed when build meta-toolchain (nightly build 20121226-1)</short_desc>
          <delta_ts>2013-01-22 04:56:33 +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>devtools / tool chain</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>3691</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="liang li">liang.li2</reporter>
          <assigned_to name="Mark Hatle">mark.hatle</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>bluelightning</cc>
    
    <cc>bogdan.a.marinescu</cc>
    
    <cc>laurentiu.palcu</cc>
    
    <cc>laurentiu.serban</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</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>28477</commentid>
    <comment_count>0</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-12-28 06:40:35 +0000</bug_when>
    <thetext>error met when run &quot;bitbake meta-toolchain-gmae&quot; with nightly build 20121226-1:
bitbake meta-toolchain-gmae 
Loading cache: 100% |###########################################| ETA:  00:00:00
Loaded 1122 entries from dependency cache.

Build Configuration:
BB_VERSION        = &quot;1.17.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-11.10&quot;
TARGET_SYS        = &quot;mips-poky-linux&quot;
MACHINE           = &quot;qemumips&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.3+snapshot-20121228&quot;
TUNE_FEATURES     = &quot;o32 bigendian fpu-hard mips32&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-yocto        
meta-yocto-bsp    = &quot;master:4a36a32567ecfbc7ce7b967803e6e23314953ef5&quot;

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: populate_sdk_image (see /buildarea1/tester/test_build_8/tmp/work/mips32-poky-linux/meta-toolchain-gmae/1.0-r7/temp/log.do_populate_sdk.9821 for further information)
ERROR: Logfile of failure stored in: /buildarea1/tester/test_build_8/tmp/work/mips32-poky-linux/meta-toolchain-gmae/1.0-r7/temp/log.do_populate_sdk.9821
Log data follows:
| DEBUG: Executing python function do_populate_sdk
| DEBUG: Executing shell function populate_sdk_image
| Note: configuring RPM platform settings
| Note: configuring RPM system provides
| Note: configuring RPM DB settings
| Note: configuring Smart settings
| 
| 
| 
| 
| 
| 
| Note: adding Smart channel qemumips (35)
| 
| 
| Note: adding Smart channel mips32 (30)
| 
| 
| Note: adding Smart channel all (10)
| 
| 
| Note: configuring RPM cross-install scriptlet_wrapper
| 
| Updating cache...               ######################################## [100%]
| 
| Saving cache...
| 
| Note: adding Smart RPM DB channel
| 
| Note: to be installed:  packagegroup-core-standalone-gmae-sdk-target-dbg@all packagegroup-core-standalone-gmae-sdk-target@all
| Loading cache...
| Updating cache...               ######################################## [100%]
| 
| Computing transaction...error: Can&apos;t install gtk+-dev-2.24.14-r0@mips32: no package provides /usr/bin/env
| 
| Saving cache...
| 
| DEBUG: Python function do_populate_sdk finished
| ERROR: Function failed: populate_sdk_image (see /buildarea1/tester/test_build_8/tmp/work/mips32-poky-linux/meta-toolchain-gmae/1.0-r7/temp/log.do_populate_sdk.9821 for further information)
ERROR: Task 7 (/buildarea1/tester/test_git/meta/recipes-core/meta/meta-toolchain-gmae.bb, do_populate_sdk) failed with exit code &apos;1&apos;
NOTE: Tasks Summary: Attempted 4140 tasks of which 4128 didn&apos;t need to be rerun and 1 failed.
No currently running tasks (4140 of 4141)

Summary: 1 task failed:
  /buildarea1/tester/test_git/meta/recipes-core/meta/meta-toolchain-gmae.bb, do_populate_sdk
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
------------------
git info:   4a36a32567ecfbc7ce7b967803e6e23314953ef5
git branch: poky/master

host: ubuntu 11.10 x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28501</commentid>
    <comment_count>1</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2012-12-31 04:49:35 +0000</bug_when>
    <thetext>I got a similar error when runing &quot;bitbake meta-toolchain-sdk&quot;:
###############
$ bitbake meta-toolchain-sdk
Pseudo is not present but is required, building this first before the main build
Parsing recipes: 100% |##################################################################################################################################################| ETA:  00:00:00
Parsing of 816 .bb files complete (0 cached, 816 parsed). 1122 targets, 52 skipped, 0 masked, 0 errors.

Build Configuration:
BB_VERSION        = &quot;1.17.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-11.10&quot;
TARGET_SYS        = &quot;mips-poky-linux&quot;
MACHINE           = &quot;qemumips&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.3+snapshot-20121231&quot;
TUNE_FEATURES     = &quot;o32 bigendian fpu-hard mips32&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-yocto        
meta-yocto-bsp    = &quot;master:4a36a32567ecfbc7ce7b967803e6e23314953ef5&quot;

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 63 tasks of which 0 didn&apos;t need to be rerun and all succeeded.
Loading cache: 100% |####################################################################################################################################################| ETA:  00:00:00
Loaded 1123 entries from dependency cache.

Build Configuration:
BB_VERSION        = &quot;1.17.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-11.10&quot;
TARGET_SYS        = &quot;mips-poky-linux&quot;
MACHINE           = &quot;qemumips&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.3+snapshot-20121231&quot;
TUNE_FEATURES     = &quot;o32 bigendian fpu-hard mips32&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-yocto        
meta-yocto-bsp    = &quot;master:4a36a32567ecfbc7ce7b967803e6e23314953ef5&quot;

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: populate_sdk_image (see /buildarea1/yzhao1/poky/build-qemumips/tmp/work/mips32-poky-linux/meta-toolchain-gmae/1.0-r7/temp/log.do_populate_sdk.11849 for further information)
ERROR: Logfile of failure stored in: /buildarea1/yzhao1/poky/build-qemumips/tmp/work/mips32-poky-linux/meta-toolchain-gmae/1.0-r7/temp/log.do_populate_sdk.11849
Log data follows:
| DEBUG: Executing python function do_populate_sdk
| DEBUG: Executing shell function populate_sdk_image
| Previous repo file missing: /buildarea1/yzhao1/poky/build-qemumips/tmp/deploy/rpm/all/repodata/primary.xml.gz
| Previous repo file missing: /buildarea1/yzhao1/poky/build-qemumips/tmp/deploy/rpm/mips32/repodata/primary.xml.gz
| Previous repo file missing: /buildarea1/yzhao1/poky/build-qemumips/tmp/deploy/rpm/qemumips/repodata/primary.xml.gz
| Previous repo file missing: /buildarea1/yzhao1/poky/build-qemumips/tmp/deploy/rpm/x86_64_nativesdk/repodata/primary.xml.gz
| Note: configuring RPM platform settings
| Note: configuring RPM system provides
| Note: configuring RPM DB settings
| Note: configuring Smart settings
| 
| 
| 
| 
| 
| 
| Note: adding Smart channel qemumips (35)
| 
| 
| Note: adding Smart channel mips32 (30)
| 
| 
| Note: adding Smart channel all (10)
| 
| 
| Note: configuring RPM cross-install scriptlet_wrapper
| 
| Updating cache...               ######################################## [100%]
| 
| Saving cache...
| 
| Note: adding Smart RPM DB channel
| 
| Note: to be installed:  packagegroup-core-standalone-gmae-sdk-target-dbg@all packagegroup-core-standalone-gmae-sdk-target@all
| Loading cache...
| Updating cache...               ######################################## [100%]
| 
| Computing transaction...error: Can&apos;t install bash-4.2-r6@mips32: no package provides update-alternatives-cworth
| 
| Saving cache...
| 
| DEBUG: Python function do_populate_sdk finished
| ERROR: Function failed: populate_sdk_image (see /buildarea1/yzhao1/poky/build-qemumips/tmp/work/mips32-poky-linux/meta-toolchain-gmae/1.0-r7/temp/log.do_populate_sdk.11849 for further information)
ERROR: Task 7 (/buildarea1/yzhao1/poky/meta/recipes-core/meta/meta-toolchain-gmae.bb, do_populate_sdk) failed with exit code &apos;1&apos;
NOTE: Tasks Summary: Attempted 4140 tasks of which 362 didn&apos;t need to be rerun and 1 failed.
No currently running tasks (4140 of 4141)

Summary: 1 task failed:
  /buildarea1/yzhao1/poky/meta/recipes-core/meta/meta-toolchain-gmae.bb, do_populate_sdk
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
##############

It is a clean build without using sstate. The host is ubuntu 11.10 x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28563</commentid>
    <comment_count>2</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2013-01-05 07:02:06 +0000</bug_when>
    <thetext>the error still happened when build arm,ppc and mips meta-toolchain using &quot;bitbake meta-toolchain-gmae&quot; on opensuse 12.2 x86_64 host.
git info:09359e6ec00901abfe49157f1f9730117b4d284b
git branch: poky/master</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28567</commentid>
    <comment_count>3</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2013-01-06 06:05:48 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; the error still happened when build arm,ppc and mips meta-toolchain using
&gt; &quot;bitbake meta-toolchain-gmae&quot; on opensuse 12.2 x86_64 host.
&gt; git info:09359e6ec00901abfe49157f1f9730117b4d284b
&gt; git branch: poky/master

the error not met when run &quot;bitbake core-image-sato-sdk&quot; firstly,then run &quot;bitbake meta-toolchain-gmae&quot; on opensuse 12.2 x86_64 host with the same git commit above.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28599</commentid>
    <comment_count>4</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-01-08 00:04:17 +0000</bug_when>
    <thetext>*** Bug 3658 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28721</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-01-10 15:43:13 +0000</bug_when>
    <thetext>#3691 has some overlap with this bug</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28917</commentid>
    <comment_count>6</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2013-01-17 19:37:53 +0000</bug_when>
    <thetext>The missing /usr/bin/env is a duplication of 3691 -- see the proposed patch in that defect.

*** This bug has been marked as a duplicate of bug 3691 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29011</commentid>
    <comment_count>7</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2013-01-22 04:56:33 +0000</bug_when>
    <thetext>no such error with git master branch commit:37e025f6f9c410005e0f1dee0767e38eaec01cbd,related log below:
-------
...
NOTE: Running task 4028 of 4029 (ID: 7, /buildarea/poky.ubuntu.new1/poky/meta/recipes-core/meta/meta-toolchain-gmae.bb, do_populate_sdk)
NOTE: recipe meta-toolchain-gmae-1.0-r7: task do_populate_sdk: Started
NOTE: recipe meta-toolchain-gmae-1.0-r7: task do_populate_sdk: Succeeded
NOTE: Running noexec task 4029 of 4029 (ID: 11, /buildarea/poky.ubuntu.new1/poky/meta/recipes-core/meta/meta-toolchain-gmae.bb, do_build)
NOTE: Tasks Summary: Attempted 4029 tasks of which 1951 didn&apos;t need to be rerun and all succeeded.
-------
test host:opensuse 12.2 x86_64.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>