Bug 2859

Summary: error in cooker.py with the meta-oe layer
Product: [Build System, Metadata & Runtime] BitBake Reporter: Maarten <maartend>
Component: bitbakeAssignee: Scott Garman <scott.a.garman>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: bluelightning, jessica.zhang, poky.bs.watcher, poky.watcher
Version: 1.2.1   
Target Milestone: 1.2.2   
Hardware: x86   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
bitbake output none

Description Maarten 2012-07-30 12:56:35 UTC
Created attachment 667 [details]
bitbake output

After adding the meta-oe layer to a fresh poky-denzil-7.0.1 installation, the 'bitbake-layers show-layers' command fails with "UnboundLocalError: local variable 'result' referenced before assignment" in line 1669 of cooker.py (full output in attachment).

My bblayers.conf looks like this:

LCONF_VERSION = "4"

BBFILES ?= ""
BBLAYERS ?= " \
  /home/maartend/workspace/poky-denzil-7.0.1/meta \
  /home/maartend/workspace/poky-denzil-7.0.1/meta-yocto \
  /home/maartend/workspace/poky-denzil-7.0.1/meta-openembedded/meta-oe \
  "
Comment 1 Richard Purdie 2012-08-02 22:22:03 UTC
Scott, I think we need to backport http://git.yoctoproject.org/cgit.cgi/poky/commit/bitbake/lib/bb/cooker.py?id=f0809ed7886f41969e1eaa5b9ec831882dd11fd3 to denzil which should fix this issue.
Comment 2 Scott Garman 2012-12-22 19:44:30 UTC
Fixed in the poky denzil branch as of:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=denzil&id=78d15a8015bcc73ee7731cc7fc7ee086d2728139