[poky] how to resolve the rpm "/bin/sh" file dependency?
Lu, Lianhao
lianhao.lu at intel.com
Mon Jan 24 02:11:02 PST 2011
Hi Guys,
I'm currently trying to make the meta-toolchain-sdk to work with both opkg and RPM, and met a RPM dependency problem. When I tried to install the packages defined in meta-toolchain-sdk.bb, the rpm complained about the following failing dependencies. Does anyone know how to solve this kind of "RPM file dependency error" without installing the busybox package which provides the file "/bin/sh"?
+ rpm --verbose --dbpath /var/lib/rpm '--define=_openall_before_chroot 1' -D '_dbpath home/lulianhao/poky-build/meta-toolchain/tmp/work/mips-poky-linux/meta-toolchain-sdk-1.0-r1/sdk/image//opt/poky/0.9+snapshot/sysroots/mips-poky-linux/install' -D '_solve_dbpath /home/lulianhao/poky-build/meta-toolchain/tmp/deploy/rpm/all/solvedb:/home/lulianhao/poky-build/meta-toolchain/tmp/deploy/rpm/mips/solvedb:/home/lulianhao/poky-build/meta-toolchain/tmp/deploy/rpm/qemumips/solved -D '__dbi_cdb create mp_mmapsize=128Mb mp_size=1Mb nofsync' -U --justdb --noscripts --notriggers --noparentdirs --nolinktos --ignoresize /home/lulianhao/poky-build/meta-toolchain/tmp/work/mips-poky-linux/meta-toolchain-sdk-1.0-r1/sdk/image//opt/poky/0.9+snapshot/sysroots/mips-poky-linux/install/install.manifest
error: Failed dependencies:
/bin/sh is needed by util-linux-2.17.2-r1.mips
/bin/sh is needed by dbus-1-1.4.0-r0.mips
/bin/sh is needed by gdk-pixbuf-loader-png-2.20.1-r2.mips
/bin/sh is needed by gdk-pixbuf-loader-jpeg-2.20.1-r2.mips
/bin/sh is needed by gdk-pixbuf-loader-xpm-2.20.1-r2.mips
/bin/sh is needed by gdk-pixbuf-loader-gif-2.20.1-r2.mips
/bin/sh is needed by pango-module-basic-x-1.28.3-r0.mips
/bin/sh is needed by pango-module-basic-fc-1.28.3-r0.mips
/bin/sh is needed by util-linux-swaponoff-2.17.2-r1.mips
/bin/sh is needed by util-linux-umount-2.17.2-r1.mips
/bin/sh is needed by util-linux-losetup-2.17.2-r1.mips
/bin/sh is needed by util-linux-fdisk-2.17.2-r1.mips
/bin/sh is needed by util-linux-mount-2.17.2-r1.mips
/bin/sh is needed by libnss-mdns-0.10-r2.mips
/bin/sh is needed by hal-0.5.14-r3.mips
/bin/sh is needed by gnome-vfs-2.24.4-r0.mips
/bin/sh is needed by avahi-daemon-0.6.28-r1.mips
/bin/sh is needed by udev-164-r1.mips
/bin/sh is needed by bzip2-1.0.6-r3.mips
/bin/sh is needed by sysvinit-pidof-2.88dsf-r1.mips
/bin/sh is needed by udev-cache-164-r1.mips
Function 'do_populate_sdk' failed (see /home/lulianhao/poky-build/meta-toolchain/tmp/work/mips-poky-linux/meta-toolchain-sdk-1.0-r1/temp/log.do_populate_sdk.16327 for further information)
ERROR: Function 'do_populate_sdk' failed (see /home/lulianhao/poky-build/meta-toolchain/tmp/work/mips-poky-linux/meta-toolchain-sdk-1.0-r1/temp/log.do_populate_sdk.16327 for further information)
Best Regards,
-Lianhao Lu
More information about the poky
mailing list