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 'do_rootfs' 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 '1' ERROR: '/home/jxu49/osel/poky-hob/meta/recipes-sato/images/core-image-sato-sdk.bb' failed ########
The check in rpm_packages.bbclass for package resolution may need to be expanding to be more precise in what it's looking for.
Estimate is unknown... Setting ridiculously high value...
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.
Verified in commit: 718eb85806e080d0b165344b272e531ef19421eb.