Bug 2859 - error in cooker.py with the meta-oe layer
Summary: error in cooker.py with the meta-oe layer
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 1.2.1
Hardware: x86 x86_64
: Medium normal
Target Milestone: 1.2.2
Assignee: Scott Garman
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-07-30 12:56 UTC by Maarten
Modified: 2012-12-22 19:44 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
bitbake output (1.15 KB, text/plain)
2012-07-30 12:56 UTC, Maarten
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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