<?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>1136</bug_id>
          
          <creation_ts>2011-06-02 23:38:25 +0000</creation_ts>
          <short_desc>do_menuconfig for linux-yocto needs ${B} exists</short_desc>
          <delta_ts>2011-07-25 20:45:26 +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>Meta-yocto</product>
          <component>configuration</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Patch submitted to oe-core (29/Jun/2011)</status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Darren Hart">dvhart</assigned_to>
          <cc>ke.yu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>wenhuax.fan</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>14148</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-06-02 23:38:25 +0000</bug_when>
    <thetext>Tree/Branch: Poky/1.1_M1
Poky Commit: 4ff7af11ef69849ef9c16f585eae58ac920b222b
Meta Branch: 1.1_M1
Meta Commit: fc719f0cd6530ce15148b4aa274f1644b461b298

I find if there is no ${B} exists for linux-yocto, task do_menuconfig will fail. Because ${B} will be created by do_kernel_configme, which is after do_patch task.

For example, if I run &quot;DISPLAY=:1.0 bitbake linux-yocto -c menuconfig&quot; in a clean working directory, which has no ${S} for linux-yocto, there will be no menuconfig menu pop-up.

#######
OE Build Configuration:
BB_VERSION        = &quot;1.11.0&quot;
METADATA_BRANCH   = &quot;(nobranch)&quot;
METADATA_REVISION = &quot;4ff7af11ef69849ef9c16f585eae58ac920b222b&quot;
TARGET_ARCH       = &quot;i586&quot;
TARGET_OS         = &quot;linux&quot;
MACHINE           = &quot;qemux86&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.0+snapshot-20110603&quot;
TARGET_FPU        = &quot;&quot;

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 99 of 118 (ID: 4, /home/jxu49/osel/poky/meta/recipes-kernel/linux/linux-yocto_git.bb, do_fetch)
NOTE: package linux-yocto-2.6.37+git1+79669230fd82a3e7e254cf8b596a2388a4333e62_1+b2afed7ecd54918b73db7f30062aaaf02fdaba54-r18: task do_fetch: Started
NOTE: package linux-yocto-2.6.37+git1+79669230fd82a3e7e254cf8b596a2388a4333e62_1+b2afed7ecd54918b73db7f30062aaaf02fdaba54-r18: task do_fetch: Succeeded
NOTE: Running task 114 of 118 (ID: 2, /home/jxu49/osel/poky/meta/recipes-kernel/linux/linux-yocto_git.bb, do_unpack)
NOTE: package linux-yocto-2.6.37+git1+79669230fd82a3e7e254cf8b596a2388a4333e62_1+b2afed7ecd54918b73db7f30062aaaf02fdaba54-r18: task do_unpack: Started
NOTE: package linux-yocto-2.6.37+git1+79669230fd82a3e7e254cf8b596a2388a4333e62_1+b2afed7ecd54918b73db7f30062aaaf02fdaba54-r18: task do_unpack: Succeeded
NOTE: Running task 115 of 118 (ID: 1, /home/jxu49/osel/poky/meta/recipes-kernel/linux/linux-yocto_git.bb, do_kernel_checkout)
NOTE: package linux-yocto-2.6.37+git1+79669230fd82a3e7e254cf8b596a2388a4333e62_1+b2afed7ecd54918b73db7f30062aaaf02fdaba54-r18: task do_kernel_checkout: Started
NOTE: package linux-yocto-2.6.37+git1+79669230fd82a3e7e254cf8b596a2388a4333e62_1+b2afed7ecd54918b73db7f30062aaaf02fdaba54-r18: task do_kernel_checkout: Succeeded
NOTE: Running task 116 of 118 (ID: 0, /home/jxu49/osel/poky/meta/recipes-kernel/linux/linux-yocto_git.bb, do_validate_branches)
NOTE: package linux-yocto-2.6.37+git1+79669230fd82a3e7e254cf8b596a2388a4333e62_1+b2afed7ecd54918b73db7f30062aaaf02fdaba54-r18: task do_validate_branches: Started
NOTE: package linux-yocto-2.6.37+git1+79669230fd82a3e7e254cf8b596a2388a4333e62_1+b2afed7ecd54918b73db7f30062aaaf02fdaba54-r18: task do_validate_branches: Succeeded
NOTE: Running task 117 of 118 (ID: 3, /home/jxu49/osel/poky/meta/recipes-kernel/linux/linux-yocto_git.bb, do_patch)
NOTE: package linux-yocto-2.6.37+git1+79669230fd82a3e7e254cf8b596a2388a4333e62_1+b2afed7ecd54918b73db7f30062aaaf02fdaba54-r18: task do_patch: Started
NOTE: package linux-yocto-2.6.37+git1+79669230fd82a3e7e254cf8b596a2388a4333e62_1+b2afed7ecd54918b73db7f30062aaaf02fdaba54-r18: task do_patch: Succeeded
NOTE: Running task 118 of 118 (ID: 5, /home/jxu49/osel/poky/meta/recipes-kernel/linux/linux-yocto_git.bb, do_menuconfig)
NOTE: package linux-yocto-2.6.37+git1+79669230fd82a3e7e254cf8b596a2388a4333e62_1+b2afed7ecd54918b73db7f30062aaaf02fdaba54-r18: task do_menuconfig: Started
NOTE: package linux-yocto-2.6.37+git1+79669230fd82a3e7e254cf8b596a2388a4333e62_1+b2afed7ecd54918b73db7f30062aaaf02fdaba54-r18: task do_menuconfig: Succeeded
NOTE: Tasks Summary: Attempted 118 tasks of which 112 didn&apos;t need to be rerun and 0 failed.
#######

With the command &quot;DISPLAY=:1.0 bitbake linux-yocto -c menuconfig -e | grep ^B=&quot; I could find the ${B} is set to a folder, which does not exist.

#####
jxu49@vt-nhm4:~/osel/poky/build$ DISPLAY=:1.0 bitbake linux-yocto -c menuconfig -e | grep ^B=
B=&quot;/home/jxu49/osel/poky/build/tmp/work/qemux86-poky-linux/linux-yocto-2.6.37+git1+79669230fd82a3e7e254cf8b596a2388a4333e62_1+b2afed7ecd54918b73db7f30062aaaf02fdaba54-r18/linux-qemux86-standard-build&quot;
#####

####
jxu49@vt-nhm4:~/osel/poky/build$ ls /home/jxu49/osel/poky/build/tmp/work/qemux86-poky-linux/linux-yocto-2.6.37+git1+79669230fd82a3e7e254cf8b596a2388a4333e62_1+b2afed7ecd54918b73db7f30062aaaf02fdaba54-r18/linux-qemux86-standard-build
ls: cannot access /home/jxu49/osel/poky/build/tmp/work/qemux86-poky-linux/linux-yocto-2.6.37+git1+79669230fd82a3e7e254cf8b596a2388a4333e62_1+b2afed7ecd54918b73db7f30062aaaf02fdaba54-r18/linux-qemux86-standard-build: No such file or directory
####</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14477</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-06-29 12:12:56 +0000</bug_when>
    <thetext>Testing a fix of just making menuconfig come after configure, which seems sane to me. The typical usage should be to modify the config, not start one from scratch. If you want to start from scratch, you can still do that by deleting the .config or creating your own linux recipe.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14650</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-07-08 15:40:48 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=64497638e70c97f417c2bcdaf99ffcc843ad58ec</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15004</commentid>
    <comment_count>3</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-07-25 19:07:27 +0000</bug_when>
    <thetext>Verify with Yocto 1.1 M2 RC3 build, the bug is fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15011</commentid>
    <comment_count>4</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-07-25 20:24:23 +0000</bug_when>
    <thetext>Having to write a comment is silly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15013</commentid>
    <comment_count>5</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-07-25 20:45:11 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; Having to write a comment is silly.

Hi Darren,
For our project, the end state of a bug is &quot;VERIFIED&quot;. Pls. check the bugzilla process on our wiki page, https://wiki.pokylinux.org/wiki/Bugzilla_Configuration_and_Bug_Tracking#Bug_Life_Cycle.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15014</commentid>
    <comment_count>6</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-07-25 20:45:26 +0000</bug_when>
    <thetext>verify the bug as fixed</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>