Bug 7609 - menuconfig command fails due to missing symbols
Summary: menuconfig command fails due to missing symbols
Status: VERIFIED WORKSFORME
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: kernel (show other bugs)
Version: 1.8
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.9
Assignee: Saul Wold
QA Contact: Cristina Agurida
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-04-14 17:06 UTC by Joshua Lock
Modified: 2015-09-09 15:01 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Lock 2015-04-14 17:06:04 UTC
Using the fido branch of the Poky git repository I see a bunch of linker failures when trying to use the menuconfig command as follows:

BB_VERSION        = "1.26.0"
  HOSTLD  scripts/kconfig/mconf
scripts/kconfig/mconf.o: In function `show_help':
mconf.c:(.text+0x8a4): undefined reference to `stdscr'
scripts/kconfig/lxdialog/checklist.o: In function `print_arrows':
checklist.c:(.text+0x2c): undefined reference to `wmove'
            <snip>
menubox.c:(.text+0x42d): undefined reference to `waddch'
menubox.c:(.text+0x434): undefined reference to `acs_map'
menubox.c:(.text+0x43c): undefined reference to `waddch'
menubox.c:(.text+0x443): undefined reference to `acs_map'
menubox.c:(.text+0x44b): undefined reference to `waddch'

Despite ncurses-native being deployed to the sysroot the menuconfig command is failing to pick up the ncurses libraries at link time.
Comment 1 Saul Wold 2015-04-17 17:04:23 UTC
Hi Josh,  I think we need a little more information about this issue, I was able to run bitbake -c menuconfig linux-yoicto and have it build and run the n-curses based menuconfig in a screen instance. I verified that I was actaully using the sysroot version of ncurses.

Can you verify the failure with an strace of the build, I did it via a devshell and then "strace -s 8192 -f -o strace.log -e trace=open,execve make menuconfig"

Also do you have libncurses installed in your host? I know it should find the -native version, just curious.
Comment 2 Joshua Lock 2015-04-21 17:24:39 UTC
Hi Saul,

I didn't have libncurses installed on my host when I reported this issue, but I did end up doing that in order to use menuconfig.

I'm running the fido branch of poky on an Ubuntu 14.10 x86_64 machine. Unfortunately after removing the -dev packages for libncurses I am not able to reproduce this issue, I will try and find the time to try again with a fresh OS install in a VM and see whether I can reproduce.
Comment 3 Stephen K Jolley 2015-04-27 21:08:57 UTC
Saul,

I believe the info has been provided.  Please resent to NEEDINFO if that is not the case.
Comment 4 Joshua Lock 2015-05-19 12:55:41 UTC
I've been unable to reproduce this issue on a clean Ubuntu 15.04 virtual machine using xterm
Comment 5 Stephen K Jolley 2015-05-25 19:42:22 UTC
Saul,

It appears this should be closed as works for me.

Thoughts
Comment 6 Saul Wold 2015-05-26 14:43:22 UTC
Not reproducible at this time
Comment 7 Cristina Agurida 2015-09-09 15:01:49 UTC
Verified on master: d4585fa23d56a58c583ee33db067a23177a936b1