<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>7609</bug_id>
          
          <creation_ts>2015-04-14 17:06:04 +0000</creation_ts>
          <short_desc>menuconfig command fails due to missing symbols</short_desc>
          <delta_ts>2015-09-09 15:01:49 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>kernel</component>
          <version>1.8</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.9</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock">joshuagloe</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
    
    <cc>bruce.ashfield</cc>
    
    <cc>joshuagloe</cc>
    
    <cc>sgw</cc>
    
    <cc>sjolley.yp.pm</cc>
    
    <cc>tom.zanussi</cc>
          
          <qa_contact name="Cristina Agurida">cristina-danielax.agurida</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>50304</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2015-04-14 17:06:04 +0000</bug_when>
    <thetext>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        = &quot;1.26.0&quot;
  HOSTLD  scripts/kconfig/mconf
scripts/kconfig/mconf.o: In function `show_help&apos;:
mconf.c:(.text+0x8a4): undefined reference to `stdscr&apos;
scripts/kconfig/lxdialog/checklist.o: In function `print_arrows&apos;:
checklist.c:(.text+0x2c): undefined reference to `wmove&apos;
            &lt;snip&gt;
menubox.c:(.text+0x42d): undefined reference to `waddch&apos;
menubox.c:(.text+0x434): undefined reference to `acs_map&apos;
menubox.c:(.text+0x43c): undefined reference to `waddch&apos;
menubox.c:(.text+0x443): undefined reference to `acs_map&apos;
menubox.c:(.text+0x44b): undefined reference to `waddch&apos;

Despite ncurses-native being deployed to the sysroot the menuconfig command is failing to pick up the ncurses libraries at link time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50394</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2015-04-17 17:04:23 +0000</bug_when>
    <thetext>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 &quot;strace -s 8192 -f -o strace.log -e trace=open,execve make menuconfig&quot;

Also do you have libncurses installed in your host? I know it should find the -native version, just curious.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50453</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2015-04-21 17:24:39 +0000</bug_when>
    <thetext>Hi Saul,

I didn&apos;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&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50539</commentid>
    <comment_count>3</comment_count>
    <who name="Stephen K Jolley">sjolley.yp.pm</who>
    <bug_when>2015-04-27 21:08:57 +0000</bug_when>
    <thetext>Saul,

I believe the info has been provided.  Please resent to NEEDINFO if that is not the case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51141</commentid>
    <comment_count>4</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2015-05-19 12:55:41 +0000</bug_when>
    <thetext>I&apos;ve been unable to reproduce this issue on a clean Ubuntu 15.04 virtual machine using xterm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51243</commentid>
    <comment_count>5</comment_count>
    <who name="Stephen K Jolley">sjolley.yp.pm</who>
    <bug_when>2015-05-25 19:42:22 +0000</bug_when>
    <thetext>Saul,

It appears this should be closed as works for me.

Thoughts</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51260</commentid>
    <comment_count>6</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2015-05-26 14:43:22 +0000</bug_when>
    <thetext>Not reproducible at this time</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53889</commentid>
    <comment_count>7</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2015-09-09 15:01:49 +0000</bug_when>
    <thetext>Verified on master: d4585fa23d56a58c583ee33db067a23177a936b1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>