<?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>3613</bug_id>
          
          <creation_ts>2012-12-17 14:56:10 +0000</creation_ts>
          <short_desc>[Test Case 133] Check if bitbake-runtask command works.</short_desc>
          <delta_ts>2013-01-09 15:54:37 +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.2.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <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="Stoicescu Cornel">corneliux.stoicescu</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>28325</commentid>
    <comment_count>0</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2012-12-17 14:56:10 +0000</bug_when>
    <thetext>STATUS: FAILED
BUILD: poky-contrib: sgarman/denzil-next-pull4
ENVIRONMENT: Ubuntu 12.04
STEPS TO REPRODUCE: 
1. Download poky source and prepare the build environment .
2. Run “bitbake-runtask” command to build some packages. For example, run the following commands:
    &quot;bitbake-runtask man_1.6f do_fetch&quot; 
    &quot;bitbake-runtask man_1.6f do_unpack&quot;
    &quot;bitbake-runtask man_1.6f do_patch&quot;
    &quot;bitbake-runtask man_1.6f do_configure&quot;
    &quot;bitbake-runtask man_1.6f do_compile&quot;
    &quot;bitbake-runtask man_1.6f do_install&quot;
    &quot;bitbake-runtask man_1.6f do_populate_lic&quot;
    &quot;bitbake-runtask man_1.6f do_populate_sysroot&quot; 
3. Check the return value of each command by using “echo $?”  and check the log file in work directory.
		

EXPECTED OUTCOME: The return value of each command should be “0” and no error message in log file. 

Result: &quot;bitbake-runtask man_1.6f do_compile&quot; fails:

&quot;
NOTE: make -j 8 -e MAKEFLAGS=
cd src; ../conf_script Makefile
cd man2html; ../conf_script Makefile&lt;--&gt;&lt;------&gt;&lt;------&gt;
cd man; ../conf_script Makefile
cd gencat; make
cd msgs; ../conf_script Makefile
Creating Makefile from Makefile.in
make[1]: Entering directory `/home/cornel/SDD/Yocto/denzil/build/tmp/work/i586-poky-linux/man-1.6f-r4/man-1.6f/gencat&apos;
i586-poky-linux-gcc  -m32   -march=i586 --sysroot=/home/cornel/SDD/Yocto/denzil/build/tmp/sysroots/qemux86 -O2 -pipe -g -feliminate-unused-debug-types   -c -o gencat.o gencat.c
make[1]: i586-poky-linux-gcc: Command not found
make[1]: *** [gencat.o] Error 127
make[1]: Leaving directory `/home/cornel/SDD/Yocto/denzil/build/tmp/work/i586-poky-linux/man-1.6f-r4/man-1.6f/gencat&apos;
Creating Makefile from Makefile.in
make: *** [gencat/gencat] Error 2
make: *** Waiting for unfinished jobs....
Creating Makefile from Makefile.in
Creating Makefile from Makefile.in
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (see /home/cornel/SDD/Yocto/denzil/build/tmp/work/i586-poky-linux/man-1.6f-r4/temp/log.do_compile.11096 for further information)
ERROR: Function failed: do_compile (see /home/cornel/SDD/Yocto/denzil/build/tmp/work/i586-poky-linux/man-1.6f-r4/temp/log.do_compile.11096 for further information)
&quot;
 
NOTE: This bug was introduced using Testopia.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28334</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-12-17 17:47:58 +0000</bug_when>
    <thetext>Was there already an existing build in this build directory?

When using bitbake-runtask, the user is repsonsible for making sure all dependencies exist. This sounds like dependencies were not present in this case so a failure is only to be expected.

If an existing build was not present, this should be closed as NOTABUG. If the the dependencies of man were built previously this is a genune bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28344</commentid>
    <comment_count>2</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2012-12-18 10:39:41 +0000</bug_when>
    <thetext>Indeed i586-poky-linux-gcc was not built. I will revise the test case. Thank you for the help :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28672</commentid>
    <comment_count>3</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-01-09 15:54:37 +0000</bug_when>
    <thetext>This is not a bug. Test case revised.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>