[oe] problems with bitbake

Luís Vitório Cargnini lvcargnini at gmail.com
Wed Jun 18 15:12:53 UTC 2008


Dear fellows:

I'm restarting the development process based on openembedded with
angstrom distro, after reconfiguring a new machine (ubuntu 8.04) to
work properly I did the following:
bitbake base-image ; bitbake console-image ; bitbake x11-image

and get the following errors:

ERROR: no files to build.

NOTE: Parsing finished. 0 cached, 0 parsed, 0 skipped, 0 masked.
NOTE: build 200806181208: started
NOTE: <type 'exceptions.IndexError'>:list index out of range while evaluating:
${@base_get_metadata_monotone_revision(d)}
Traceback (most recent call last):
  File "/usr/bin/bitbake", line 134, in <module>
    main()
  File "/usr/bin/bitbake", line 131, in main
    cooker.cook()
  File "/var/lib/python-support/python2.5/bb/cooker.py", line 600, in cook
    return self.buildTargets(pkgs_to_build)
  File "/var/lib/python-support/python2.5/bb/cooker.py", line 496, in
buildTargets
    bb.event.fire(bb.event.BuildStarted(buildname, targets,
self.configuration.event_data))
  File "/var/lib/python-support/python2.5/bb/event.py", line 67, in fire
    if tmpHandler(event) == Handled:
  File "tmpHandler(e)", line 31, in tmpHandler
  File "/var/lib/python-support/python2.5/bb/data.py", line 97, in getVar
    return d.getVar(var,exp)
  File "/var/lib/python-support/python2.5/bb/data_smart.py", line 170, in getVar
    return self.expand(value,var)
  File "/var/lib/python-support/python2.5/bb/data_smart.py", line 85, in expand
    s = __expand_python_regexp__.sub(python_sub, s)
  File "/var/lib/python-support/python2.5/bb/data_smart.py", line 71,
in python_sub
    s = eval(code)
  File "<string>", line 1, in <module>
  File "<bb>", line 4, in base_get_metadata_monotone_revision
  File "<bb>", line 4, in base_get_scmbasepath
IndexError: list index out of range
ERROR: no files to build.

NOTE: Parsing finished. 0 cached, 0 parsed, 0 skipped, 0 masked.
NOTE: build 200806181209: started
NOTE: <type 'exceptions.IndexError'>:list index out of range while evaluating:
${@base_get_metadata_monotone_revision(d)}
Traceback (most recent call last):
  File "/usr/bin/bitbake", line 134, in <module>
    main()
  File "/usr/bin/bitbake", line 131, in main
    cooker.cook()
  File "/var/lib/python-support/python2.5/bb/cooker.py", line 600, in cook
    return self.buildTargets(pkgs_to_build)
  File "/var/lib/python-support/python2.5/bb/cooker.py", line 496, in
buildTargets
    bb.event.fire(bb.event.BuildStarted(buildname, targets,
self.configuration.event_data))
  File "/var/lib/python-support/python2.5/bb/event.py", line 67, in fire
    if tmpHandler(event) == Handled:
  File "tmpHandler(e)", line 31, in tmpHandler
  File "/var/lib/python-support/python2.5/bb/data.py", line 97, in getVar
    return d.getVar(var,exp)
  File "/var/lib/python-support/python2.5/bb/data_smart.py", line 170, in getVar
    return self.expand(value,var)
  File "/var/lib/python-support/python2.5/bb/data_smart.py", line 85, in expand
    s = __expand_python_regexp__.sub(python_sub, s)
  File "/var/lib/python-support/python2.5/bb/data_smart.py", line 71,
in python_sub
    s = eval(code)
  File "<string>", line 1, in <module>
  File "<bb>", line 4, in base_get_metadata_monotone_revision
  File "<bb>", line 4, in base_get_scmbasepath
IndexError: list index out of range
ERROR: no files to build.

NOTE: Parsing finished. 0 cached, 0 parsed, 0 skipped, 0 masked.
NOTE: build 200806181209: started
NOTE: <type 'exceptions.IndexError'>:list index out of range while evaluating:
${@base_get_metadata_monotone_revision(d)}
Traceback (most recent call last):
  File "/usr/bin/bitbake", line 134, in <module>
    main()
  File "/usr/bin/bitbake", line 131, in main
    cooker.cook()
  File "/var/lib/python-support/python2.5/bb/cooker.py", line 600, in cook
    return self.buildTargets(pkgs_to_build)
  File "/var/lib/python-support/python2.5/bb/cooker.py", line 496, in
buildTargets
    bb.event.fire(bb.event.BuildStarted(buildname, targets,
self.configuration.event_data))
  File "/var/lib/python-support/python2.5/bb/event.py", line 67, in fire
    if tmpHandler(event) == Handled:
  File "tmpHandler(e)", line 31, in tmpHandler
  File "/var/lib/python-support/python2.5/bb/data.py", line 97, in getVar
    return d.getVar(var,exp)
  File "/var/lib/python-support/python2.5/bb/data_smart.py", line 170, in getVar
    return self.expand(value,var)
  File "/var/lib/python-support/python2.5/bb/data_smart.py", line 85, in expand
    s = __expand_python_regexp__.sub(python_sub, s)
  File "/var/lib/python-support/python2.5/bb/data_smart.py", line 71,
in python_sub
    s = eval(code)
  File "<string>", line 1, in <module>
  File "<bb>", line 4, in base_get_metadata_monotone_revision
  File "<bb>", line 4, in base_get_scmbasepath
IndexError: list index out of range
lvcargnini at protheus:~/instramed/openembedded$

my local.conf is the following:

# Use this to specify where BitBake should place the downloaded sources into
DL_DIR = "${HOME}/instramed/openembedded/sources"

# Delete the line below. Then specify which .bb files to consider for
# your build. Typically this will be something like BBFILES =
"/path/to/openembedded/packages/*/*.bb"
BBFILES := "${HOME}/instramed/org.openembedded.dev/packages/*/*.bb"

BBMASK = ""
TMPDIR = ${HOME}/instramed/openembedded/tmp
TARGET_OS = "linux"
DISTRO = "angstrom-2008.1"
MACHINE = "omap5912osk"

# 'uclibc' or 'glibc' or 'eglibc'
# ANGSTROM_MODE = "glibc"

INHERIT = "package_ipk"
# INHERIT = "package_tar"

# Add the required image file system types below. Valid are
# jffs2, tar(.gz|bz2), cpio(.gz), cramfs, ext2(.gz), ext3(.gz)
# squashfs, squashfs-lzma
IMAGE_FSTYPES = "jffs2 tar.bz2 cramfs"

# Uncomment this to disable the parse cache (not recommended).
# CACHE = ""

# Uncomment this if you want BitBake to emit debugging output
# BBDEBUG = "yes"

# Uncomment these two if you want BitBake to build images useful for debugging.
# PROFILE_OPTIMIZATION = "-pg"
# SELECTED_OPTIMIZATION = "${PROFILE_OPTIMIZATION}"
# LDFLAGS =+ "-pg"
# Uncomment this if you want BitBake to emit the log if a build fails.
BBINCLUDELOGS = "yes"


Please any help will be welcome
Thanks.



-




More information about the Openembedded-devel mailing list