<?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>3284</bug_id>
          
          <creation_ts>2012-10-12 15:10:30 +0000</creation_ts>
          <short_desc>bitbake -c menuconfig doesn&apos;t check errors returned by make menuconfig</short_desc>
          <delta_ts>2012-10-15 20:47:59 +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>BitBake</product>
          <component>bitbake</component>
          <version>1.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>2513</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Bogdan Purcareata">bogdan.purcareata</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>26558</commentid>
    <comment_count>0</comment_count>
    <who name="Bogdan Purcareata">bogdan.purcareata</who>
    <bug_when>2012-10-12 15:10:30 +0000</bug_when>
    <thetext>I followed the instructions at:

http://www.yoctoproject.org/docs/1.1/yocto-project-qs/yocto-project-qs.html

installed the prerequisites in Fedora 17:

$ sudo yum groupinstall &quot;development tools&quot;
     $ sudo yum install python m4 make wget curl ftp hg tar bzip2 gzip \
     unzip python-psyco perl texinfo texi2html diffstat openjade \
     docbook-style-dsssl sed docbook-style-xsl docbook-dtds \
     docbook-utils sed bc eglibc-devel ccache pcre pcre-devel quilt \
     groff linuxdoc-tools patch linuxdoc-tools cmake help2man \
     perl-ExtUtils-MakeMaker tcl-devel gettext chrpath ncurses apr \
     SDL-devel mesa-libGL-devel mesa-libGLU-devel gnome-doc-utils \
     autoconf automake libtool xterm

and downloaded the yocto project:

$ wget http://downloads.yoctoproject.org/releases/yocto/yocto-1.1/poky-edison-6.0.tar.bz2
$ tar xjf poky-edison-6.0.tar.bz2
$ source poky-edison-6.0/oe-init-build-env edison-6.0-build

Running:

bitbake -c menuconfig linux-yocto

outputs

Loading cache: 100% |############################################################################################################################################| ETA:  00:00:00
Loaded 1036 entries from dependency cache.

OE Build Configuration:
BB_VERSION        = &quot;1.13.3&quot;
TARGET_ARCH       = &quot;i586&quot;
TARGET_OS         = &quot;linux&quot;
MACHINE           = &quot;qemux86&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.1&quot;
TUNE_FEATURES     = &quot;m32 i586&quot;
TARGET_FPU        = &quot;&quot;
meta
meta-yocto        = &quot;&lt;unknown&gt;:&lt;unknown&gt;&quot;

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 293 of 293 (ID: 7, /home/juggernaut/bitbake_menuconfig_bug/poky-edison-6.0/meta/recipes-kernel/linux/linux-yocto_3.0.bb, do_menuconfig)
NOTE: package linux-yocto-3.0.4+git1+d05450e4aef02c1b7137398ab3a9f8f96da74f52_1+72671808fdbe69a9fe03fd8f094e7c59da04a28c-r2: task do_menuconfig: Started
WARNING: Screen started. Please connect in another terminal with &quot;screen -r devshell&quot;
NOTE: package linux-yocto-3.0.4+git1+d05450e4aef02c1b7137398ab3a9f8f96da74f52_1+72671808fdbe69a9fe03fd8f094e7c59da04a28c-r2: task do_menuconfig: Succeeded
NOTE: Tasks Summary: Attempted 293 tasks of which 292 didn&apos;t need to be rerun and 0 failed.

It finishes successfully and without halt on the menuconfig.

When running 

make menuconfig

in &quot;${WORKDIR}/linux-${MACHINE}-${LINUX_KERNEL_TYPE}-build&quot;, I get the following error:

 *** Unable to find the ncurses libraries or the
 *** required header files.
 *** &apos;make menuconfig&apos; requires the ncurses libraries.
 ***
 *** Install ncurses (ncurses-devel) and try again.
 ***
make[3]: *** [scripts/kconfig/dochecklxdialog] Error 1
make[2]: *** [menuconfig] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2

which is not propagated in the upper levels of bitbake.

After installing the ncurses-devel package, bitbake -c menuconfig linux-yocto runs normally.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26616</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-10-15 20:47:59 +0000</bug_when>
    <thetext>This is a bug against 1.1 that was fixed in master with:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=66123b92557a7c1d63c29e90d9a8ba4ef146fc8a
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=288dcf4238ac181fbe88e817e299912071fd9635
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=7e62e24b6cfd1683cd4b7ba565537b25d1b604f8

and is a duplicate of https://bugzilla.yoctoproject.org/show_bug.cgi?id=2513

*** This bug has been marked as a duplicate of bug 2513 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>