Discussion:
[yocto] lib32-ncurses not installing in rootfs
Mohammad, Jamal M
2018-11-07 09:21:37 UTC
Permalink
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
ChenQi
2018-11-07 09:33:50 UTC
Permalink
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
Post by Mohammad, Jamal M
Hi Guys,
I am trying to add 32-bit ncurses into my root file system
I am using intel yocto bsp sumo branch
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
Mohammad, Jamal M
2018-11-07 09:38:19 UTC
Permalink
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 missing..

From: ChenQi [mailto:***@windriver.com]
Sent: Wednesday, November 7, 2018 3:04 PM
To: Mohammad, Jamal M <***@ncr.com>; Yocto-mailing-list <***@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
Mohammad, Jamal M
2018-11-07 10:29:55 UTC
Permalink
I see libncurses.so file in ncurses-dev folder in packages-split folder.. Do I need to add lib32-ncurses-dev in local.conf

From: Mohammad, Jamal M
Sent: Wednesday, November 7, 2018 3:08 PM
To: 'ChenQi' <***@windriver.com>; Yocto-mailing-list <***@yoctoproject.org>
Subject: RE: [yocto] lib32-ncurses not installing in rootfs

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 missing..

From: ChenQi [mailto:***@windriver.com]
Sent: Wednesday, November 7, 2018 3:04 PM
To: Mohammad, Jamal M <***@ncr.com<mailto:***@ncr.com>>; Yocto-mailing-list <***@yoctoproject.org<mailto:***@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
Burton, Ross
2018-11-07 12:48:39 UTC
Permalink
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.*
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 <
Post by Mohammad, Jamal M
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 missing..
*Sent:* Wednesday, November 7, 2018 3:04 PM
*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
Hi Guys,
I am trying to add 32-bit ncurses into my root file system
I am using intel yocto bsp sumo branch
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
https://lists.yoctoproject.org/listinfo/yocto
Mohammad, Jamal M
2018-11-08 03:12:06 UTC
Permalink
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:***@intel.com]
Sent: Wednesday, November 7, 2018 6:19 PM
To: Mohammad, Jamal M <***@ncr.com>
Cc: ChenQi <***@windriver.com>; Yocto-mailing-list <***@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 <***@ncr.com<mailto:***@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:***@windriver.com<mailto:***@windriver.com>]
Sent: Wednesday, November 7, 2018 3:04 PM
To: Mohammad, Jamal M <***@ncr.com<mailto:***@ncr.com>>; Yocto-mailing-list <***@yoctoproject.org<mailto:***@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
***@yoctoproject.org<mailto:***@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=>
Loading...