<?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>1446</bug_id>
          
          <creation_ts>2011-09-02 00:51:29 +0000</creation_ts>
          <short_desc>wrong version of libclutter-glx-1.0-0 picked up for core-sato-sdk image after world build</short_desc>
          <delta_ts>2012-09-28 14:49:05 +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>unspecified</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>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>andreea.b.proca</cc>
    
    <cc>dongxiao.xu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>ke.yu</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>song.liu</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>15964</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-09-02 00:51:29 +0000</bug_when>
    <thetext>Tree/Branch: Poky/Master
Commit: f8cddd74574756174a82c856cecdeb6f83b9dea5

If I build a world first and then build a core-image-sato-sdk image, build will fail with error when do_rootfs for core-image-sato-sdk.

The root-cause is that when we build world, there are 2 recipes built for clutter - clutter_git.bb and clutter-1.6_1.6.14.bb. Then there will be 2 libclutter-glx-1.0 built out - libclutter-glx-1.0-0-1.0.0+git1+xxxxxxx and libclutter-glx-1.0-0-1.6.14xxxxxx.
Then when we build core-image-sato-sdk in the same folder, ideally libclutter-glx-1.0-0-1.6.14xxxxxx should be used but rpm command use libclutter-glx-1.0-0-1.0.0+git1+xxxxxxx.

Error message as below:
########
| update-alternatives: Linking /home/jxu49/osel/poky-hob/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato-sdk-1.0-r0/rootfs//usr/bin/renice to renice.util-linux
| update-alternatives: Linking /home/jxu49/osel/poky-hob/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato-sdk-1.0-r0/rootfs//usr/bin/wall to wall.sysvinit
| update-alternatives: Linking /home/jxu49/osel/poky-hob/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato-sdk-1.0-r0/rootfs//sbin/hwclock to ../bin/busybox
| update-alternatives: Linking /home/jxu49/osel/poky-hob/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato-sdk-1.0-r0/rootfs//sbin/shutdown to shutdown.sysvinit
| update-alternatives: Linking /home/jxu49/osel/poky-hob/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato-sdk-1.0-r0/rootfs//sbin/reboot to reboot.sysvinit
| update-alternatives: Linking /home/jxu49/osel/poky-hob/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato-sdk-1.0-r0/rootfs//sbin/halt to halt.sysvinit
| log_check: Using /home/jxu49/osel/poky-hob/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato-sdk-1.0-r0/temp/log.do_rootfs.27920 as logfile
| log_check: There were error messages in the logfile
| log_check: Matched keyword: [Fail]
|
| Processing task-base-dev...
| Processing task-core-x11-sato-dev...
| Processing task-core-qt-dev...
| Note: Unable to find package task-core-qt-dev (task-core-qt-dev) -- PACKAGE_INSTALL_ATTEMPTONLY
| Processing task-core-tools-testapps-dev...
| error: Failed dependencies:
|       libclutter-glx-1.0-0 = 1.0.0+git1+e957e277b8a4893ce8c99e94402036d42a8b3748-r9 is needed by libclutter-glx-1.0-dev-1.0.0+git1+e957e277b8a4893ce8c99e94402036d42a8b3748-r9.armv5te
| Processing task-core-boot-dev...
| error: Install/Erase problems:
|       package task-core-boot-dev-1.0-r8.qemuarm is already installed
| Processing zypper-dev...
|
| ERROR: Function &apos;do_rootfs&apos; failed (see /home/jxu49/osel/poky-hob/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato-sdk-1.0-r0/temp/log.do_rootfs.27920 for further information)
NOTE: package core-image-sato-sdk-1.0-r0: task do_rootfs: Failed
ERROR: Task 8 (/home/jxu49/osel/poky-hob/meta/recipes-sato/images/core-image-sato-sdk.bb, do_rootfs) failed with exit code &apos;1&apos;
ERROR: &apos;/home/jxu49/osel/poky-hob/meta/recipes-sato/images/core-image-sato-sdk.bb&apos; failed
########</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15969</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2011-09-02 08:36:03 +0000</bug_when>
    <thetext>The check in rpm_packages.bbclass for package resolution may need to be expanding to be more precise in what it&apos;s looking for.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21184</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2012-05-08 15:29:33 +0000</bug_when>
    <thetext>Estimate is unknown...  Setting ridiculously high value...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24149</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-08-17 13:07:23 +0000</bug_when>
    <thetext>This was acutally fixed by http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=fef7a66d9b0a45971be157b1bcea821c5b307a69 which ensures we only have one provider of the specific library.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25931</commentid>
    <comment_count>4</comment_count>
    <who name="Andreea Brandusa Proca">andreea.b.proca</who>
    <bug_when>2012-09-28 14:49:05 +0000</bug_when>
    <thetext>Verified in commit: 718eb85806e080d0b165344b272e531ef19421eb.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>