bitbake openmoko-asu-image error!

Vladimir vova12 at gmail.com
Tue Dec 16 04:31:16 CET 2008


Hi,

 I have an error when i bitbake  openmoko-asu-image:
ERROR: Fetch command export
PATH=/home/vlad/stable/asu/asu-stable/staging/i686-linux/usr/bin/om-gta02-angstrom-linux-gnueabi:/home/vlad/stable/asu/asu-stable/staging/i686-linux/usr/sbin:/home/vlad/stable/asu/asu-stable/staging/i686-linux/usr/bin:/home/vlad/stable/asu/asu-stable/cross/armv4t/bin:/home/vlad/stable/asu/asu-stable/staging/i686-linux/sbin:/home/vlad/stable/asu/asu-stable/staging/i686-linux/bin:/home/vlad/stable/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games;
git read-tree c0a2797d7ba8f6e07187794ccd2664ca3209b613 failed with signal
128, output:
fatal: failed to unpack tree object c0a2797d7ba8f6e07187794ccd2664ca3209b613
 while parsing /home/vlad/stable/git.openmoko.worktree/packages/linux/
linux-openmoko-devel_git.bb
NOTE: Handling BitBake files: \ (6057/6057) [100 %]
NOTE: Parsing finished. 0 cached, 5800 parsed, 256 skipped, 35 masked.
ERROR: Parsing errors found, exiting...

After adding this line to my local.conf
SRCREV_pn-linux-openmoko-devel ?= "${AUTOREV}"
which supposed to fix the problem I have following:

vlad at vlad-desktop:~/stable$ bitbake openmoko-asu-image
NOTE: Removed the following variables from the
environment:GNOME_DESKTOP_SESSION_ID,LESSOPEN,WINDOWPATH,OEDIR,SHLVL,WINDOWID,GDM_XSERVER_LOCATION,WORK_TREE,GDMSESSION,BUILD_TMPDIR,LESSCLOSE,OLDPWD,GDM_LANG,HISTCONTROL,LOCAL_DIR,LS_COLORS
NOTE: Out of date cache found, rebuilding...
NOTE: Handling BitBake files: | (6057/6057) [100 %]
NOTE: Parsing finished. 0 cached, 5801 parsed, 256 skipped, 35 masked.
NOTE: build 200812151857: started

OE Build Configuration:
BB_VERSION = "1.8.11"
METADATA_BRANCH = "org.openmoko.dev
"
METADATA_REVISION = "e3aa995da2e2f9e0acc3f031d8cd44556eae1cf2"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "om-gta02"
DISTRO = "openmoko"
DISTRO_VERSION = "-20081216"
TARGET_FPU = "soft"

Error sending the report!
Error sending the report!
Error sending the report!
Error sending the report!
Error sending the report!
Traceback (most recent call last):
  File "/home/vlad/stable/bitbake/bin/bitbake", line 189, in <module>
  main()
  File "/home/vlad/stable/bitbake/bin/bitbake", line 186, in main
  cooker.cook()
  File "/home/vlad/stable/bitbake/lib/bb/cooker.py", line 636, in cook
  return self.buildTargets(pkgs_to_build)
  File "/home/vlad/stable/bitbake/lib/bb/cooker.py", line 527, in
buildTargets
  bb.event.fire(bb.event.BuildStarted(buildname, targets,
self.configuration.event_data))
  File "/home/vlad/stable/bitbake/lib/bb/event.py", line 67, in fire
  if tmpHandler(event) == Handled:
  File "tmpHandler(e)", line 10, in tmpHandler
  File "<bb>", line 31, in tinder_do_tinder_report
  File "<bb>", line 21, in tinder_build_start
AttributeError: 'NoneType' object has no attribute 'read'

Please help! Here id my local.conf:
#
# OpenEmbedded local configuration file (sample)
#
# Please visit the Wiki at http://openembedded.org/ for more info.
#
#
# Be SURE to read this file in its entirety and the GettingStarted page on
the
# wiki before proceeding.
#
# Once you have done that, remove the line at the end of this
# file and build away.
#
# WARNING: lines starting with a space (' ') will result in parse failures.
# Remove '# ' from commented lines to activate them.
#
# NOTE: Do NOT use $HOME in your paths, BitBake does NOT expand ~ for you.
If you
# must have paths relative to your homedir use ${HOME} (note the {}'s there
# you MUST have them for the variable expansion to be done by BitBake). Your
# paths should all be absolute paths (They should all start with a / after
# expansion. Stuff like starting with ${HOME} or ${TOPDIR} is ok).

# Use this to specify where BitBake should place the downloaded sources into
DL_DIR = "${OEDIR}/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/vlad/stable/git.openmoko.worktree/packages/"
BBFILES := "${OEDIR}/${WORK_TREE}/packages/*/*.bb"

# Use the BBMASK below to instruct BitBake to _NOT_ consider some .bb files
# This is a regulary expression, so be sure to get your parenthesis
balanced.
BBMASK = ""

# Uncomment this if you want to use a prebuilt toolchain. You will need to
# provide packages for toolchain and additional libraries yourself. You also
# have to set PATH in your environment to make sure BitBake finds additional
binaries.
# Note: You will definitely need to say:
# ASSUME_PROVIDED += "virtual/arm-linux-gcc-2.95"
# to build any of two Linux 2.4 Embedix kernels,
# i.e. openzaurus-sa-2.4.18 and openzaurus-pxa-2.4.18 - and don't forget
# to rename the binaries as instructed in the Wiki.
# ASSUME_PROVIDED += "virtual/${TARGET_PREFIX}gcc virtual/libc"

# Select between multiple alternative providers, if more than one is
eligible.
#PREFERRED_PROVIDERS = "virtual/qte:qte virtual/libqpe:libqpe-opie"
#PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-x11"
#PREFERRED_PROVIDERS += "
virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
#PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
#PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"

# Uncomment this to specify where BitBake should create its temporary files.
# Note that a full build of everything in OpenEmbedded will take GigaBytes
of hard
# disk space, so make sure to free enough space. The default TMPDIR is
# <build directory>/tmp
# Don't use symlinks in in the path to avoid problems
# TMPDIR = "${OEDIR}/neo1973"

TMPDIR := "/home/vlad/stable/asu/asu-stable"

# Uncomment this to specify a machine to build for. See the conf directory
# for machines currently known to OpenEmbedded. This will automatically take
care
# of TARGET_ARCH
#MACHINE = "om-gta01"

# Use this to specify the target architecture. Note that this is only
# needed when building for a machine not known to OpenEmbedded. Better use
# the MACHINE attribute (see above)
# TARGET_ARCH = "arm"

# Use this to specify the target operating system. The default is "linux",
# for a normal linux system with glibc. Set this to "linux-uclibc" if you
want
# to build a uclibc based system.
# Normally the DISTRO of your choosing will take care of this
# TARGET_OS = "linux"
# TARGET_OS = "linux-uclibc"

# Uncomment this to select a distribution policy. See the conf directory
# for distributions currently known to OpenEmbedded.
# Although it no longer contain version number in the (file-)name
# openzaurus-unstable is a so called "versioned" distro, i.e. they
# explicitely select specific versions of various packages.
# Stay away from unversioned distros unless you really know what you are
doing
DISTRO = "openmoko"

# So far, angstrom.conf sets ENABLE_BINARY_LOCALE_GENERATION
# to generate binary locale packages at build time using qemu-native and
# thereby guarantee i18n support on all devices. If your build breaks on
# qemu-native consider disabling ENABLE_BINARY_LOCALE_GENERATION (note that
# this breaks i18n on devices with less than 128MB RAM) or installing
# a working third-party qemu (e.g. provided by your distribution) and
# adding qemu-native to ASSUME_PROVIDED. Caveat emptor, since third-party
# qemus lack patches needed to work with various OE targets.
# ENABLE_BINARY_LOCALE_GENERATION = "0"
# ASSUME_PROVIDED += "qemu-native"

# If ENABLE_BINARY_LOCALE_GENERATION is set to "1", you can limit locales
# generated to the list provided by GLIBC_GENERATE_LOCALES. This is huge
# time-savior for developmental builds. Format: list of locale.encoding
pairs
# with spaces as separators.
GLIBC_GENERATE_LOCALES = "en_US.UTF-8 en_GB.UTF-8"

# Uncomment this to select a particular major kernel version if the MACHINE
setting
# supports more than one major kernel version. Currently this is suported by
the
# following MACHINE types: poodle, tosa and simpad.
# MACHINE_KERNEL_VERSION = "2.6"

# Uncomment one of these to build packages during the build process.
# This is done automatically if you set DISTRO (see above)
# INHERIT = "package_ipk"
#INHERIT += "sourcepkg"

# 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.gz"

# 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.
# Note that INHIBIT_PACKAGE_STRIP needs a package format to be defined.
# Also note that OE now produces -dbg packages which contain debugging
symbols.
# DEBUG_BUILD = "1"
# INHIBIT_PACKAGE_STRIP = "1"

# Uncomment these to build a package such that you can use gprof to profile
it.
# NOTE: This will only work with 'linux' targets, not
# 'linux-uclibc', as uClibc doesn't provide the necessary
# object files. Also, don't build glibc itself with these
# flags, or it'll fail to build.
#
# PROFILE_OPTIMIZATION = "-pg"
# SELECTED_OPTIMIZATION = "${PROFILE_OPTIMIZATION}"
# LDFLAGS =+ "-pg"

# Uncomment this to enable parallel make.
# This allows make to spawn mutliple processes to take advantage of
multiple
# processors. Useful on SMP machines. This may break some packages - we're
# in the process of marking these so let us know if you find any.
#PARALLEL_MAKE = "-j 8"

# Uncomment this if you want BitBake to emit the log if a build fails.
BBINCLUDELOGS = "yes"

# Specifies a location to search for pre-generated tarballs when fetching
# a cvs:// URI. Outcomment this, if you always want to pull directly from
CVS.
#CVS_TARBALL_STASH = ""

# include autorev for openmoko
#require conf/distro/include/moko-autorev.inc
# tinderclient
INHERIT += "tinderclient"
TINDER_HOST = "localhost"
TINDER_URL = "/tinderbox"

QA_LOG = "1"
BB_GIT_CLONE_FOR_SRCREV="1"
ENTERPRISE_DISTRO = "1"
MACHINE = "om-gta02"
SRCREV_pn-linux-openmoko-devel ?= "${AUTOREV}"
I appreciate your help
Cheers,
Vlad
Here is my local conf
I appretiate your help.
I appreciate your help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/devel/attachments/20081215/2fc2c8b5/attachment-0001.htm 


More information about the devel mailing list