Openembedded Devel Discussions
 help / color / mirror / Atom feed
* Help with first compile
@ 2012-04-18 23:42 maniacbug
  2012-04-19  8:49 ` Jack Mitchell
  0 siblings, 1 reply; 2+ messages in thread
From: maniacbug @ 2012-04-18 23:42 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

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@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@mb:~/Source/oe/build$ echo $BBPATH
/home/mb/Source/oe/build:/home/mb/Source/oe/openembedded
mb@mb:~/Source/oe/build$ echo $OEBASE
/home/mb/Source/oe
mb@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)}    



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Help with first compile
  2012-04-18 23:42 Help with first compile maniacbug
@ 2012-04-19  8:49 ` Jack Mitchell
  0 siblings, 0 replies; 2+ messages in thread
From: Jack Mitchell @ 2012-04-19  8:49 UTC (permalink / raw)
  To: openembedded-devel

On 19/04/12 00:42, maniacbug wrote:
> 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.
snip...

> 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)}    
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

I would suggest starting at www.yoctoproject.org if you are new to 
OpenEmbedded. They have guides which are up to date and new user 
friendly. If you don't want to use the suggested 'poky' distro that 
yocto uses the guides still relate to OpenEmbedded as that is what Poky 
uses as it's base.

Regards,
Jack.

-- 

   Jack Mitchell (jack@embed.me.uk)
   Embedded Systems Engineer
   http://www.embed.me.uk

--




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-19  8:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-18 23:42 Help with first compile maniacbug
2012-04-19  8:49 ` Jack Mitchell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox