[yocto] lib32-ncurses not installing in rootfs

Mohammad, Jamal M MohammadJamal.Mohiuddin at ncr.com
Wed Nov 7 19:12:06 PST 2018


Thanks Ross, for the clear explanation.. It did solved my issue and a new learning of the oe-pkgdata-util …

Once again Thanks.

From: Burton, Ross [mailto:ross.burton at intel.com]
Sent: Wednesday, November 7, 2018 6:19 PM
To: Mohammad, Jamal M <MohammadJamal.Mohiuddin at ncr.com>
Cc: ChenQi <Qi.Chen at windriver.com>; Yocto-mailing-list <yocto at yoctoproject.org>
Subject: Re: [yocto] lib32-ncurses not installing in rootfs

The curses libraries are split up further, have a look at what else is in packages-split, or even better use oe-pkgdata-util:

$ oe-pkgdata-util list-pkg-files -p lib32-ncurses
...
lib32-ncurses-libncurses:
        /lib/libncurses.so.5
        /lib/libncurses.so.5.9
lib32-ncurses-libncursesw:
        /lib/libncursesw.so.5
        /lib/libncursesw.so.5.9
lib32-ncurses-libpanel:
        /usr/lib/libpanel.so.5
        /usr/lib/libpanel.so.5.9
...

$ oe-pkgdata-util find-path */libncurses.so<https://urldefense.proofpoint.com/v2/url?u=http-3A__libncurses.so&d=DwQFaQ&c=gJN2jf8AyP5Q6Np0yWY19w&r=4h__2a8-7N65qoDnmtsyGh_QYq3kPCn-Loy2L0LHnCs&m=XiOoUQ9VVXLFv74QHvGMFMZk2GoI3_VkYJvl3Wrk8vI&s=yDubrmB0Bn5cQGennUTz9cbjETfju_I4HXBjQbDwGlM&e=>.*
lib32-ncurses-dbg: /lib/.debug/libncurses.so.5.9
lib32-ncurses-libncurses: /lib/libncurses.so.5
lib32-ncurses-libncurses: /lib/libncurses.so.5.9

Ross

On Wed, 7 Nov 2018 at 09:39, Mohammad, Jamal M <MohammadJamal.Mohiuddin at ncr.com<mailto:MohammadJamal.Mohiuddin at ncr.com>> wrote:
There are many directories inside packages-split folder , lib32-ncurses, lib32-ncurses-dbg, lib32-ncurses-dev, lib32-ncurses-doc

Looking into lib32-ncurses,

lib32-ncurses
└── usr
    ├── bin
    │   ├── tput
    │   └── tset
    └── share
        └── tabset
            ├── std
            ├── stdcrt
            ├── vt100
            └── vt300

It doesn’t have lib folder, so where are the libncurses.so<https://urldefense.proofpoint.com/v2/url?u=http-3A__libncurses.so&d=DwQFaQ&c=gJN2jf8AyP5Q6Np0yWY19w&r=4h__2a8-7N65qoDnmtsyGh_QYq3kPCn-Loy2L0LHnCs&m=XiOoUQ9VVXLFv74QHvGMFMZk2GoI3_VkYJvl3Wrk8vI&s=yDubrmB0Bn5cQGennUTz9cbjETfju_I4HXBjQbDwGlM&e=> missing..

From: ChenQi [mailto:Qi.Chen at windriver.com<mailto:Qi.Chen at windriver.com>]
Sent: Wednesday, November 7, 2018 3:04 PM
To: Mohammad, Jamal M <MohammadJamal.Mohiuddin at ncr.com<mailto:MohammadJamal.Mohiuddin at ncr.com>>; Yocto-mailing-list <yocto at yoctoproject.org<mailto:yocto at yoctoproject.org>>
Subject: Re: [yocto] lib32-ncurses not installing in rootfs

*External Message* - Use caution before opening links or attachments


Check the packages-split/ directory to see how files are put in each package.
I guess these files are packages into other packages derived from the ncurses recipe.

Best Regards,
Chen Qi

On 11/07/2018 05:21 PM, Mohammad, Jamal M wrote:
Hi Guys,
I am trying to add 32-bit ncurses into my root file system
I am using intel yocto bsp sumo branch
Here is my local.conf:

require conf/multilib.conf
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
IMAGE_INSTALL_append = " dpkg gnutls lib32-glibc lib32-libgcc lib32-libstdc++ lib32-gnutls lib32-freetype lib32    -libx11 lib32-ncurses lib32-dpkg python3-six"

ncurses folder is present in tmp
build/tmp/work/x86-pokymllib32-linux/lib32-ncurses/6.0+20171125-r0

The image folder is created and has the libraries
build/tmp/work/x86-pokymllib32-linux/lib32-ncurses/6.0+20171125-r0/image/lib
libncurses.so.5  libncurses.so.5.9  libncursesw.so.5  libncursesw.so.5.9  libtinfo.so.5  libtinfo.so.5.9

But these files are not present in root file system.
How can i debug or what should be my next step to get them into root file system. which log files should I look
Thanks for your time.

Regards,
Jamal,
Software Specialist,
NCR Corporation



--
_______________________________________________
yocto mailing list
yocto at yoctoproject.org<mailto:yocto at yoctoproject.org>
https://lists.yoctoproject.org/listinfo/yocto<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_listinfo_yocto&d=DwMFaQ&c=gJN2jf8AyP5Q6Np0yWY19w&r=4h__2a8-7N65qoDnmtsyGh_QYq3kPCn-Loy2L0LHnCs&m=XiOoUQ9VVXLFv74QHvGMFMZk2GoI3_VkYJvl3Wrk8vI&s=prmVvE0S_hIg01XQMZzh49SweVjqOYpmqC1BtHSSaeo&e=>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20181108/f429a774/attachment-0001.html>


More information about the yocto mailing list