[oe] Help with first compile

maniacbug maniacbug at ymail.com
Wed Apr 18 23:42:02 UTC 2012


Hi.  I am trying to bring up OE for the first time, following this guide:  http://docs.openembedded.org/usermanual/usermanual.html.  Running on Ubuntu 11.10.

I've followed every step precisely through "Building Software".  Then I try "bitbake base-image", and get pages of errors.  The top lines are listed below.  Is this doc out of date?  Or, is it possible to divine from this what error I may have made?

Thanks!

----

mb at mb:~/Source/oe/build$ echo $PATH
/home/mb/Source/oe/bitbake/bin:/opt/cs/arm-uclinux/bin:/home/mb/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
mb at mb:~/Source/oe/build$ echo $BBPATH
/home/mb/Source/oe/build:/home/mb/Source/oe/openembedded
mb at mb:~/Source/oe/build$ echo $OEBASE
/home/mb/Source/oe
mb at mb:~/Source/oe/build$ cat conf/local.conf
BBFILES = "${OEBASE}/openembedded/recipes/*/*.bb"
DISTRO = "angstrom-2008.1"
MACHINE = "om-gta01"

----

ERROR: Could not inherit file classes/rootfs_${IMAGE_PKGTYPE}.bbclass while parsing /home/mb/Source/oe/openembedded/recipes/preboot/initramfs-preboot-image.bb
NOTE: <type 'exceptions.SyntaxError'>:EOL while scanning string literal (<string>, line 1) while evaluating:
${@':'.join(uniq(os.path.normpath(os.path.join(fp, p, o)) for fp in '/home/mb/Source/oe/openembedded/recipes/angstrom'.split(':') for p in 'angstrom-version-2_${DISTRO_VERSION}-r9:angstrom-version-${DISTRO_VERSION}:angstrom-version:angstrom-version-${DISTRO_VERSION}:angstrom-version:files:.'.split(':') for o in reversed([''] + filter(None, 'pn-angstrom-version:fail-fast:build-linux:arm:INVALID:angstrom-2008.1:om-gta01:local'.split(':')))))}
NOTE: <type 'exceptions.SyntaxError'>:EOL while scanning string literal (<string>, line 1) while evaluating:
${@patch_deps(d)}
ERROR: EOL while scanning string literal (<string>, line 1) while parsing /home/mb/Source/oe/openembedded/recipes/angstrom/angstrom-version.bb
NOTE: <type 'exceptions.TypeError'>:list indices must be integers, not NoneType while evaluating:
http://projects.linuxtogo.org/frs/download.php/14/prismstumbler-0.7.4pre1.tar.gz            file://gpsapi.patch       ${@['', 'file://wireless.patch'][bb.data.getVar('PREFERRED_VERSION_linux-libc-headers', d, 1) and bb.data.getVar('PREFERRED_VERSION_linux-libc-headers', d, 1).split('.')[2] < '30']}            file://fix-includes.patch;striplevel=0            file://libgps-check.patch            file://replace-gps_query.patch
ERROR: Error in executing: /home/mb/Source/oe/openembedded/recipes/prismstumbler/prismstumbler_0.7.3+0.7.4pre1.bb
ERROR: Exception:<type 'exceptions.TypeError'> Message:list indices must be integers, not NoneType
ERROR: Printing the environment of the function
ERROR:  0001:def __anonfunc():
ERROR:  0002:    __anon_185__home_mb_Source_oe_openembedded_classes_staging_bbclass(d)
ERROR:  0003:    __anon_90__home_mb_Source_oe_openembedded_classes_packaged_staging_bbclass(d)
ERROR:  0004:    __anon_419_classes_base_bbclass(d)
ERROR:  0005:    __anon_102__home_mb_Source_oe_openembedded_classes_siteinfo_bbclass(d)
ERROR: list indices must be integers, not NoneType while parsing /home/mb/Source/oe/openembedded/recipes/prismstumbler/prismstumbler_0.7.3+0.7.4pre1.bb
NOTE: <type 'exceptions.SyntaxError'>:EOL while scanning string literal (<string>, line 1) while evaluating:
${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${PREFERRED_PROVIDER_virtual/update-alternatives}", d)}    




More information about the Openembedded-devel mailing list