<?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>10651</bug_id>
          
          <creation_ts>2016-11-14 02:06:06 +0000</creation_ts>
          <short_desc>bitbake -g world is broken</short_desc>
          <delta_ts>2017-04-11 21:48:32 +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>2.3</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>2.3 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>jose.perez.carranza</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          <qa_contact name="oscar lopez arandas">oscarx.lopez.arandas</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>68268</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-11-14 02:06:06 +0000</bug_when>
    <thetext>$ bitbake world -g

No valid info in *.dot or pn-buildlist, it is broken on both morty and master, and &quot;bibake &lt;image&gt;/&lt;recipe&gt; -g&quot; works.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68457</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-11-21 14:05:52 +0000</bug_when>
    <thetext>Got a patch from RP, I will send it to bitbake mailing list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68927</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-12-08 14:08:39 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=9977576fe97c6a67dec04171e64678676cbf1c22</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72354</commentid>
    <comment_count>3</comment_count>
    <who name="oscar lopez arandas">oscarx.lopez.arandas</who>
    <bug_when>2017-04-11 21:48:32 +0000</bug_when>
    <thetext>bitbake world -g: No valid info in *.dot or pn-buildlist: it is broken on both morty and master

testimage: core-image-sato-sdk-intel-corei7-64.hddimg
 
Build Configuration:
BB_VERSION        = &quot;1.33.3&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;ubuntu-16.04&quot;
TARGET_SYS        = &quot;x86_64-poky-linux&quot;
MACHINE           = &quot;intel-corei7-64&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;2.2+snapshot-20170411&quot;
TUNE_FEATURES     = &quot;m64 corei7&quot;
         
commit:eff56e4f0d59b1d965a68e4f009b7f07717b7edd&quot;

STEPS: 
1. Download the core-image-sato-sdk image from autobuilder
 2. Make checkout on the poky commit from the mail (in command line):

a) Clone a clean version of poky:

$ git clone git://git.yoctoproject.org/poky&quot;

b)In poky directory checkout on the desired commit:

$ git checkout &lt;commit-id&gt;

3. Source the environment, from poky directory

 $ cd ~/poky 

$ source oe-init-build-env

4. Edit local.conf. PATH: ~/poky/build/conf, at the en of the file adding: 
 5. In ~poky/build directory, in command line, type the following commands:

$ bitbake rpm psplash run-postinsts
$ bitbake package-index

NOTE: After finishing the tasks, copy the image manifest (core-image-sato-sdk-genericx86.manifest) and the testdata.json (core-image-sato-sdk-genericx86.testdata.json) from autobuilder at the following path: &quot;~poky/build/tmp/deploy/images/genericx86/&quot; ( if &quot;/tmp/deploy/images/genericx86&quot; does not exist create new directories with this path)

bitbake core-image-sato-sdk -c testimage

$ bitbake world -g



ACTUAL OUTCOME: PN build list saved to &apos;pn-buildlist&apos;

EXPECTED OUTCOME:
oscar@oscar-ThinkPad-T540p:~/sato/build$ bitbake world -g
Parsing recipes: 100% |##########################################| Time: 0:00:17
Parsing of 853 .bb files complete (0 cached, 853 parsed). 1323 targets, 53 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: PN build list saved to &apos;pn-buildlist&apos;
NOTE: Task dependencies saved to &apos;task-depends.dot&apos;
NOTE: Flatened recipe dependencies saved to &apos;recipe-depends.dot&apos;
oscar@oscar-ThinkPad-T540p:~/sato/build$</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>