Bug 10651 - bitbake -g world is broken
Summary: bitbake -g world is broken
Status: VERIFIED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium+ major
Target Milestone: 2.3 M1
Assignee: Richard Purdie
QA Contact: oscar lopez arandas
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-11-14 02:06 UTC by Robert Yang
Modified: 2017-04-11 21:48 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Yang 2016-11-14 02:06:06 UTC
$ bitbake world -g

No valid info in *.dot or pn-buildlist, it is broken on both morty and master, and "bibake <image>/<recipe> -g" works.
Comment 1 Robert Yang 2016-11-21 14:05:52 UTC
Got a patch from RP, I will send it to bitbake mailing list.
Comment 3 oscar lopez arandas 2017-04-11 21:48:32 UTC
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        = "1.33.3"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "ubuntu-16.04"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "intel-corei7-64"
DISTRO            = "poky"
DISTRO_VERSION    = "2.2+snapshot-20170411"
TUNE_FEATURES     = "m64 corei7"
         
commit:eff56e4f0d59b1d965a68e4f009b7f07717b7edd"

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"

b)In poky directory checkout on the desired commit:

$ git checkout <commit-id>

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: "~poky/build/tmp/deploy/images/genericx86/" ( if "/tmp/deploy/images/genericx86" 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 'pn-buildlist'

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 'pn-buildlist'
NOTE: Task dependencies saved to 'task-depends.dot'
NOTE: Flatened recipe dependencies saved to 'recipe-depends.dot'
oscar@oscar-ThinkPad-T540p:~/sato/build$