<?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>3720</bug_id>
          
          <creation_ts>2013-01-15 03:02:48 +0000</creation_ts>
          <short_desc>package_deb:meta-toolchain-sdk fail on do_populate_sdk</short_desc>
          <delta_ts>2013-03-21 02:52:43 +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.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</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.4 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hongxu Jia">hongxu.jia</reporter>
          <assigned_to name="Hongxu Jia">hongxu.jia</assigned_to>
          <cc>hongxu.jia</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>kai.kang</cc>
    
    <cc>liang.li2</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>Qi.Chen</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</cc>
    
    <cc>zhenfeng.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>28826</commentid>
    <comment_count>0</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-01-15 03:02:48 +0000</bug_when>
    <thetext>*Env
vim conf/local.conf
BB_NUMBER_THREADS = &quot;8&quot;
PARALLEL_MAKE = &quot;-j 8&quot;
PACKAGE_CLASSES ?= &quot;package_deb&quot;

*problem
1. Create a new build env, and execute &quot;bitbake meta-toolchain-sdk&quot; failed.
   See the following log for detail.
2. But run &quot;bitbake core-image-sato &amp;&amp; bitbake meta-toolchain-sdk&quot;,
   No such issue, everything is ok.

&gt;&gt;log&lt;&lt;
...
Unpacking avahi (from ..././avahi_0.6.31-r6.1_i386.deb) ...
dpkg: warning: overriding problem because --force enabled:
 package architecture (i386) does not match system (amd64)
...
Selecting previously unselected package libfontconfig1.
Unpacking libfontconfig1 (from .../libfontconfig1_2.10.2-r0_i386.deb) ...
(Noting disappearance of avahi, which has been completely replaced.)
dpkg: warning: overriding problem because --force enabled:
...
| Selecting previously unselected package xtrans-dev.
| Unpacking xtrans-dev (from ..././xtrans-dev_1.2.7-r0_i386.deb) ...
| Reading package lists...
| Building dependency tree...
| Reading state information...
| You might want to run `apt-get -f install&apos; to correct these:
| The following packages have unmet dependencies:
|   avahi-dev: Depends: avahi (= 0.6.31-r6.1) but it is not going to be installed
|              Recommends: dbus-dev but it is not going to be installed
|   packagegroup-core-standalone-gmae-sdk-target: 
|     Depends: gnome-desktop but it is not going to be installed
|     Depends: dbus-dev but it is not going to be installed
|     Depends: gupnp-tools but it is not going to be installed
|     Depends: libglade-2.0-dev but it is not going to be installed
|     Depends: gconf-dev but it is not going to be installed
|     Depends: libdbus-glib-1-dev but it is not going to be installed
|     Depends: gtk+-dev but it is not going to be installed
| E: Unmet dependencies. Try &apos;apt-get -f install&apos; with no packages (or specify a solution).
| DEBUG: Python function do_populate_sdk finished
| ERROR: Function failed: populate_sdk_image
...

*analysis
1. The avahi has been installed and then replaced, to install the following
   packages which depends on avahi is failed.
2. The packagegroup-core-standalone-gmae-sdk-target needs some package but
   not added in its RDEPENDS which the packages is created by core-image-sato.

*resolution
1. Run `apt-get -f install&apos; to correct after `apt-get install package&apos; has
   been executed.
2. Modify packagegroup-core-standalone-gmae-sdk-target.bb to add package 
   `opkg&apos; to RDEPENDS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30369</commentid>
    <comment_count>1</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-03-04 00:56:19 +0000</bug_when>
    <thetext>Merged into master:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=22b1f63223f2d817cf5ff0672e6925826afdf858


Please verify on a newly created build environment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30947</commentid>
    <comment_count>2</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2013-03-21 02:52:43 +0000</bug_when>
    <thetext>Verified with master branch: 808967b84cef66e0b59b9a720fa0808f6a546d3a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>