Bug 2978 - mesa-xlib causes bitbake to crash
Summary: mesa-xlib causes bitbake to crash
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: graphics (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3 M4
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard: (autobuilder)
Depends on:
Blocks:
 
Reported: 2012-08-21 13:05 UTC by Ross Burton
Modified: 2012-09-24 10:38 UTC (History)
4 users (show)

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


Attachments
Something, maybe. (1.58 KB, patch)
2012-08-21 15:29 UTC, Ross Burton
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ross Burton 2012-08-21 13:05:08 UTC
Parsing recipes...ERROR: Unable to parse /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/meta/recipes-graphics/mesa/mesa-xlib_8.0.4.bb
Traceback (most recent call last):
  File "/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/bitbake/lib/bb/parse/ast.py", line 381, in multi_finalize(fn='/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/meta/recipes-graphics/mesa/mesa-xlib_8.0.4.bb', d=<bb.data_smart.DataSmart object at 0x23d1990>):
         try:
    >        finalize(fn, d)
         except bb.parse.SkipPackage as e:
  File "/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/bitbake/lib/bb/parse/ast.py", line 323, in finalize(fn='/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/meta/recipes-graphics/mesa/mesa-xlib_8.0.4.bb', d=<bb.data_smart.DataSmart object at 0x23d1990>, variant=None):
             code.append("%s(d)" % funcname)
    >    bb.utils.simple_exec("\n".join(code), {"d": d})
         bb.data.update_data(d)
  File "/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/bitbake/lib/bb/utils.py", line 275, in simple_exec(code='__anon_124__srv_home_pokybuild_yocto_autobuilder_yocto_slave_nightly_ppc_build_meta_classes_staging_bbclass(d)\n__anon_564__srv_home_pokybuild_yocto_autobuilder_yocto_slave_nightly_ppc_build_meta_classes_base_bbclass(d)\n__anon_177__srv_home_pokybuild_yocto_autobuilder_yocto_slave_nightly_ppc_build_meta_classes_package_bbclass(d)\n__anon_1157__srv_home_pokybuild_yocto_autobuilder_yocto_slave_nightly_ppc_build_meta_classes_package_rpm_bbclass(d)\n__anon_429__srv_home_pokybuild_yocto_autobuilder_yocto_slave_nightly_ppc_build_meta_classes_package_deb_bbclass(d)\n__anon_472__srv_home_pokybuild_yocto_autobuilder_yocto_slave_nightly_ppc_build_meta_classes_package_ipk_bbclass(d)\n__anon_753__srv_home_pokybuild_yocto_autobuilder_yocto_slave_nightly_ppc_build_meta_classes_insane_bbclass(d)\n__anon_20__srv_home_pokybuild_yocto_autobuilder_yocto_slave_nightly_ppc_build_meta_classes_debian_bbclass(d)\n__anon_67__srv_home_pokybuild_yocto_autobuilder_yocto_slave_nightly_ppc_build_meta_classes_sstate_bbclass(d)\n__anon_119__srv_home_pokybuild_yocto_autobuilder_yocto_slave_nightly_ppc_build_meta_classes_siteinfo_bbclass(d)', context={'d': <bb.data_smart.DataSmart object at 0x23d1990>}):
     def simple_exec(code, context):
    >    exec(code, _context, context)
     
  File "<string>", line 2, in <module>
  File "__anon_564__srv_home_pokybuild_yocto_autobuilder_yocto_slave_nightly_ppc_build_meta_classes_base_bbclass", line 48, in __anon_564__srv_home_pokybuild_yocto_autobuilder_yocto_slave_nightly_ppc_build_meta_classes_base_bbclass(d=<bb.data_smart.DataSmart object at 0x23d1990>)
AttributeError: 'list' object has no attribute 'split'

I'm pretty sure this is due to PACKAGECONFIG referring to element that don't exist (as they are only defined in mesa-dri).
Comment 1 Ross Burton 2012-08-21 15:29:07 UTC
Created attachment 712 [details]
Something, maybe.
Comment 2 Ross Burton 2012-08-21 16:12:10 UTC
I lied, you need mut or my mesa branch.

Problem very "deep dived" with Richard, and two bitbake patches are in my ross/bb branch.
Comment 3 Ross Burton 2012-08-29 12:09:19 UTC
This has been fixed in bitbake upstream so should hit poky when Richard next does the merge.
Comment 4 Ross Burton 2012-08-30 16:29:23 UTC
Fixed in poky as of rev 980d658f3f1e6c5b459f741385533a11d35009ca.
Comment 5 Alexandru Palalau 2012-09-24 10:38:13 UTC
Verified on master branch today. Latest commit id:df74f8d9a8b1500da3fffd77f12ec8d1900d0bf6.
The mesa-xlib is now removed under commit id a6a18d4458b5c917956d1ac380f969fcc788f2ba.
Successfully built out mesa-dri.