<p>Hi,<br></p><p> I have an error when i bitbake openmoko-asu-image:<br>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:<br>
fatal: failed to unpack tree object c0a2797d7ba8f6e07187794ccd2664ca3209b613<br> while parsing /home/vlad/stable/git.openmoko.worktree/packages/linux/<a href="http://linux-openmoko-devel_git.bb">linux-openmoko-devel_git.bb</a><br>
NOTE: Handling BitBake files: \ (6057/6057) [100 %]<br>NOTE: Parsing finished. 0 cached, 5800 parsed, 256 skipped, 35 masked.<br>ERROR: Parsing errors found, exiting...<br><br>After adding this line to my local.conf<br>SRCREV_pn-linux-openmoko-devel ?= "${AUTOREV}"<br>
which supposed to fix the problem I have following:<br><br>vlad@vlad-desktop:~/stable$ bitbake openmoko-asu-image<br>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<br>
NOTE: Out of date cache found, rebuilding...<br>NOTE: Handling BitBake files: | (6057/6057) [100 %]<br>NOTE: Parsing finished. 0 cached, 5801 parsed, 256 skipped, 35 masked.<br>NOTE: build 200812151857: started<br><br>OE Build Configuration:<br>
BB_VERSION = "1.8.11"<br>METADATA_BRANCH = "org.openmoko.dev<br>"<br>METADATA_REVISION = "e3aa995da2e2f9e0acc3f031d8cd44556eae1cf2"<br>TARGET_ARCH = "arm"<br>TARGET_OS = "linux-gnueabi"<br>
MACHINE = "om-gta02"<br>DISTRO = "openmoko"<br>DISTRO_VERSION = "-20081216"<br>TARGET_FPU = "soft"<br><br>Error sending the report!<br>Error sending the report!<br>
Error sending the report!<br>Error sending the report!<br>Error sending the report!<br>Traceback (most recent call last):<br> File "/home/vlad/stable/bitbake/bin/bitbake", line 189, in <module><br> main()<br>
File "/home/vlad/stable/bitbake/bin/bitbake", line 186, in main<br> cooker.cook()<br> File "/home/vlad/stable/bitbake/lib/bb/cooker.py", line 636, in cook<br> return self.buildTargets(pkgs_to_build)<br>
File "/home/vlad/stable/bitbake/lib/bb/cooker.py", line 527, in buildTargets<br> bb.event.fire(bb.event.BuildStarted(buildname, targets, self.configuration.event_data))<br> File "/home/vlad/stable/bitbake/lib/bb/event.py", line 67, in fire<br>
if tmpHandler(event) == Handled:<br> File "tmpHandler(e)", line 10, in tmpHandler<br> File "<bb>", line 31, in tinder_do_tinder_report<br> File "<bb>", line 21, in tinder_build_start<br>
AttributeError: 'NoneType' object has no attribute 'read'<br><br>Please help! Here id my local.conf:<br>#<br># OpenEmbedded local configuration file (sample)<br>#<br># Please visit the Wiki at <a href="http://openembedded.org/">http://openembedded.org/</a> for more info.<br>
#<br>#<br># Be SURE to read this file in its entirety and the GettingStarted page on the<br># wiki before proceeding.<br>#<br># Once you have done that, remove the line at the end of this<br># file and build away.<br># <br>
# WARNING: lines starting with a space (' ') will result in parse failures.<br># Remove '# ' from commented lines to activate them.<br>#<br># NOTE: Do NOT use $HOME in your paths, BitBake does NOT expand ~ for you. If you<br>
# must have paths relative to your homedir use ${HOME} (note the {}'s there<br># you MUST have them for the variable expansion to be done by BitBake). Your<br># paths should all be absolute paths (They should all start with a / after<br>
# expansion. Stuff like starting with ${HOME} or ${TOPDIR} is ok).<br><br># Use this to specify where BitBake should place the downloaded sources into<br>DL_DIR = "${OEDIR}/sources"<br><br># Delete the line below. Then specify which .bb files to consider for<br>
# your build. Typically this will be something like BBFILES = "/path/to/openembedded/packages/*/*.bb"<br>#BBFILES := "/home/vlad/stable/git.openmoko.worktree/packages/"<br>BBFILES := "${OEDIR}/${WORK_TREE}/packages/*/*.bb"<br>
<br># Use the BBMASK below to instruct BitBake to _NOT_ consider some .bb files<br># This is a regulary expression, so be sure to get your parenthesis balanced.<br>BBMASK = ""<br><br># Uncomment this if you want to use a prebuilt toolchain. You will need to<br>
# provide packages for toolchain and additional libraries yourself. You also<br># have to set PATH in your environment to make sure BitBake finds additional binaries.<br># Note: You will definitely need to say:<br># ASSUME_PROVIDED += "virtual/arm-linux-gcc-2.95"<br>
# to build any of two Linux 2.4 Embedix kernels,<br># i.e. openzaurus-sa-2.4.18 and openzaurus-pxa-2.4.18 - and don't forget<br># to rename the binaries as instructed in the Wiki.<br># ASSUME_PROVIDED += "virtual/${TARGET_PREFIX}gcc virtual/libc"<br>
<br># Select between multiple alternative providers, if more than one is eligible.<br>#PREFERRED_PROVIDERS = "virtual/qte:qte virtual/libqpe:libqpe-opie"<br>#PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-x11"<br>
#PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"<br>#PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"<br>#PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"<br>
<br># Uncomment this to specify where BitBake should create its temporary files.<br># Note that a full build of everything in OpenEmbedded will take GigaBytes of hard<br># disk space, so make sure to free enough space. The default TMPDIR is<br>
# <build directory>/tmp<br># Don't use symlinks in in the path to avoid problems<br># TMPDIR = "${OEDIR}/neo1973"<br><br>TMPDIR := "/home/vlad/stable/asu/asu-stable"<br><br># Uncomment this to specify a machine to build for. See the conf directory<br>
# for machines currently known to OpenEmbedded. This will automatically take care<br># of TARGET_ARCH<br>#MACHINE = "om-gta01"<br><br># Use this to specify the target architecture. Note that this is only<br># needed when building for a machine not known to OpenEmbedded. Better use<br>
# the MACHINE attribute (see above)<br># TARGET_ARCH = "arm"<br><br># Use this to specify the target operating system. The default is "linux",<br># for a normal linux system with glibc. Set this to "linux-uclibc" if you want<br>
# to build a uclibc based system.<br># Normally the DISTRO of your choosing will take care of this <br># TARGET_OS = "linux"<br># TARGET_OS = "linux-uclibc"<br><br># Uncomment this to select a distribution policy. See the conf directory<br>
# for distributions currently known to OpenEmbedded.<br># Although it no longer contain version number in the (file-)name<br># openzaurus-unstable is a so called "versioned" distro, i.e. they <br># explicitely select specific versions of various packages.<br>
# Stay away from unversioned distros unless you really know what you are doing<br>DISTRO = "openmoko"<br><br># So far, angstrom.conf sets ENABLE_BINARY_LOCALE_GENERATION<br># to generate binary locale packages at build time using qemu-native and<br>
# thereby guarantee i18n support on all devices. If your build breaks on <br># qemu-native consider disabling ENABLE_BINARY_LOCALE_GENERATION (note that<br># this breaks i18n on devices with less than 128MB RAM) or installing<br>
# a working third-party qemu (e.g. provided by your distribution) and<br># adding qemu-native to ASSUME_PROVIDED. Caveat emptor, since third-party<br># qemus lack patches needed to work with various OE targets.<br># ENABLE_BINARY_LOCALE_GENERATION = "0"<br>
# ASSUME_PROVIDED += "qemu-native"<br><br># If ENABLE_BINARY_LOCALE_GENERATION is set to "1", you can limit locales<br># generated to the list provided by GLIBC_GENERATE_LOCALES. This is huge<br># time-savior for developmental builds. Format: list of locale.encoding pairs<br>
# with spaces as separators.<br>GLIBC_GENERATE_LOCALES = "en_US.UTF-8 en_GB.UTF-8"<br><br># Uncomment this to select a particular major kernel version if the MACHINE setting<br># supports more than one major kernel version. Currently this is suported by the<br>
# following MACHINE types: poodle, tosa and simpad.<br># MACHINE_KERNEL_VERSION = "2.6"<br><br># Uncomment one of these to build packages during the build process.<br># This is done automatically if you set DISTRO (see above)<br>
# INHERIT = "package_ipk"<br>#INHERIT += "sourcepkg"<br><br># Add the required image file system types below. Valid are <br># jffs2, tar(.gz|bz2), cpio(.gz), cramfs, ext2(.gz), ext3(.gz)<br># squashfs, squashfs-lzma<br>
IMAGE_FSTYPES = "jffs2 tar.gz"<br><br># Uncomment this to disable the parse cache (not recommended).<br># CACHE = ""<br><br># Uncomment this if you want BitBake to emit debugging output<br># BBDEBUG = "yes"<br>
<br># Uncomment these two if you want BitBake to build images useful for debugging. <br># Note that INHIBIT_PACKAGE_STRIP needs a package format to be defined.<br># Also note that OE now produces -dbg packages which contain debugging symbols.<br>
# DEBUG_BUILD = "1"<br># INHIBIT_PACKAGE_STRIP = "1"<br><br># Uncomment these to build a package such that you can use gprof to profile it.<br># NOTE: This will only work with 'linux' targets, not<br>
# 'linux-uclibc', as uClibc doesn't provide the necessary<br># object files. Also, don't build glibc itself with these<br># flags, or it'll fail to build.<br>#<br># PROFILE_OPTIMIZATION = "-pg"<br>
# SELECTED_OPTIMIZATION = "${PROFILE_OPTIMIZATION}"<br># LDFLAGS =+ "-pg"<br><br># Uncomment this to enable parallel make.<br># This allows make to spawn mutliple processes to take advantage of multiple <br>
# processors. Useful on SMP machines. This may break some packages - we're<br># in the process of marking these so let us know if you find any.<br>#PARALLEL_MAKE = "-j 8"<br><br># Uncomment this if you want BitBake to emit the log if a build fails.<br>
BBINCLUDELOGS = "yes"<br><br># Specifies a location to search for pre-generated tarballs when fetching<br># a cvs:// URI. Outcomment this, if you always want to pull directly from CVS.<br>#CVS_TARBALL_STASH = ""<br>
<br># include autorev for openmoko<br>#require conf/distro/include/moko-autorev.inc<br># tinderclient<br>INHERIT += "tinderclient"<br>TINDER_HOST = "localhost"<br>TINDER_URL = "/tinderbox"<br>
<br>QA_LOG = "1"<br>BB_GIT_CLONE_FOR_SRCREV="1"<br>ENTERPRISE_DISTRO = "1"<br>MACHINE = "om-gta02"<br>SRCREV_pn-linux-openmoko-devel ?= "${AUTOREV}"<br>I appreciate your help <br>
Cheers,<br>Vlad<br>Here is my local conf<br>I appretiate your help.<br>I appreciate your help <br></p>