Machine: qemu-x86-64 Image bb: core-image-minimal.bb Others: Add the following line in image bb file IMAGE_INSTALL += "ncurses-dev" IMAGE_INSTALL += "lib32-ncurses" When I build sdk, there is a warning, warning: Removing ncurses-dev-5.9-r15.1@lib32_x86 due to file /usr/bin/ncurses5-config conflicting with ncurses-dev-5.9-r15.1@core2_64 I check the manifest of sdk, lib32-ncurses is not installed. But if I add the following line in image bb file IMAGE_INSTALL += "ncurses" IMAGE_INSTALL += "lib32-ncurses" lib32-ncurses is installed in sdk.
I analysis it, reason may be, For the first time, installing step is like, smart install ncurses-dev lib32-ncurses-dev But for the second time, installing step is like, smart install ncurses-dev smart install lib32-ncurses-dev smart can not handle conflicts if conflicting packages are not conveyed at the same time.
Patch sent to ML: http://lists.openembedded.org/pipermail/openembedded-core/2015-December/114473.html
As of b09080dc8a81bd76c473f8937d224830eb4626c0 patch merged into master.
Adding in conf.local.conf require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "x86" and using IMAGE_INSTALL_append = " ncurses-dev lib32-ncurses" seems to fix the dependencies build problem. Packages are in SDK image. poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.host.manifest:nativesdk-libncurses5 x86_64-nativesdk 5.9 poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.host.manifest:nativesdk-libncursesw5 x86_64-nativesdk 5.9 poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.host.manifest:nativesdk-ncurses-terminfo-base x86_64-nativesdk 5.9 poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.target.manifest:lib32-ncurses x86 5.9 poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.target.manifest:lib32-ncurses-dbg x86 5.9 poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.target.manifest:lib32-ncurses-dev x86 5.9 poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.target.manifest:libncurses5 core2-64 5.9 poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.target.manifest:libncursesw5 core2-64 5.9 poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.target.manifest:ncurses core2-64 5.9 poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.target.manifest:ncurses-dbg core2-64 5.9 poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.target.manifest:ncurses-dev core2-64 5.9 poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.target.manifest:ncurses-terminfo-base core2-64 5.9