<p>Hi,<br></p><p>&nbsp;I have an error when i bitbake &nbsp;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>&nbsp;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 ?= &quot;${AUTOREV}&quot;<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        = &quot;1.8.11&quot;<br>METADATA_BRANCH   = &quot;org.openmoko.dev<br>&quot;<br>METADATA_REVISION = &quot;e3aa995da2e2f9e0acc3f031d8cd44556eae1cf2&quot;<br>TARGET_ARCH       = &quot;arm&quot;<br>TARGET_OS         = &quot;linux-gnueabi&quot;<br>
MACHINE           = &quot;om-gta02&quot;<br>DISTRO            = &quot;openmoko&quot;<br>DISTRO_VERSION    = &quot;-20081216&quot;<br>TARGET_FPU        = &quot;soft&quot;<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>&nbsp; File &quot;/home/vlad/stable/bitbake/bin/bitbake&quot;, line 189, in &lt;module&gt;<br>&nbsp;   main()<br>
&nbsp; File &quot;/home/vlad/stable/bitbake/bin/bitbake&quot;, line 186, in main<br>&nbsp;   cooker.cook()<br>&nbsp; File &quot;/home/vlad/stable/bitbake/lib/bb/cooker.py&quot;, line 636, in cook<br>&nbsp;   return self.buildTargets(pkgs_to_build)<br>
&nbsp; File &quot;/home/vlad/stable/bitbake/lib/bb/cooker.py&quot;, line 527, in buildTargets<br>&nbsp;   bb.event.fire(bb.event.BuildStarted(buildname, targets, self.configuration.event_data))<br>&nbsp; File &quot;/home/vlad/stable/bitbake/lib/bb/event.py&quot;, line 67, in fire<br>
&nbsp;   if tmpHandler(event) == Handled:<br>&nbsp; File &quot;tmpHandler(e)&quot;, line 10, in tmpHandler<br>&nbsp; File &quot;&lt;bb&gt;&quot;, line 31, in tinder_do_tinder_report<br>&nbsp; File &quot;&lt;bb&gt;&quot;, line 21, in tinder_build_start<br>
AttributeError: &#39;NoneType&#39; object has no attribute &#39;read&#39;<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>#&nbsp;<br>
# WARNING: lines starting with a space (&#39; &#39;) will result in parse failures.<br># Remove &#39;# &#39; 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 {}&#39;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 = &quot;${OEDIR}/sources&quot;<br><br># Delete the line below. Then specify which .bb files to consider for<br>
# your build. Typically this will be something like BBFILES = &quot;/path/to/openembedded/packages/*/*.bb&quot;<br>#BBFILES := &quot;/home/vlad/stable/git.openmoko.worktree/packages/&quot;<br>BBFILES := &quot;${OEDIR}/${WORK_TREE}/packages/*/*.bb&quot;<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 = &quot;&quot;<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 += &quot;virtual/arm-linux-gcc-2.95&quot;<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&#39;t forget<br># to rename the binaries as instructed in the Wiki.<br># ASSUME_PROVIDED += &quot;virtual/${TARGET_PREFIX}gcc virtual/libc&quot;<br>
<br># Select between multiple alternative providers, if more than one is eligible.<br>#PREFERRED_PROVIDERS = &quot;virtual/qte:qte virtual/libqpe:libqpe-opie&quot;<br>#PREFERRED_PROVIDERS += &quot; virtual/libsdl:libsdl-x11&quot;<br>
#PREFERRED_PROVIDERS += &quot; virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial&quot;<br>#PREFERRED_PROVIDERS += &quot; virtual/${TARGET_PREFIX}gcc:gcc-cross&quot;<br>#PREFERRED_PROVIDERS += &quot; virtual/${TARGET_PREFIX}g++:gcc-cross&quot;<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>
# &lt;build directory&gt;/tmp<br># Don&#39;t use symlinks in in the path to avoid problems<br># TMPDIR = &quot;${OEDIR}/neo1973&quot;<br><br>TMPDIR := &quot;/home/vlad/stable/asu/asu-stable&quot;<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 = &quot;om-gta01&quot;<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 = &quot;arm&quot;<br><br># Use this to specify the target operating system.  The default is &quot;linux&quot;,<br># for a normal linux system with glibc. Set this to &quot;linux-uclibc&quot; if you want<br>
# to build a uclibc based system.<br># Normally the DISTRO of your choosing will take care of this&nbsp;<br># TARGET_OS = &quot;linux&quot;<br># TARGET_OS = &quot;linux-uclibc&quot;<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 &quot;versioned&quot;  distro, i.e. they&nbsp;<br># explicitely select specific versions of various packages.<br>
# Stay away from unversioned distros unless you really know what you are doing<br>DISTRO = &quot;openmoko&quot;<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&nbsp;<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 = &quot;0&quot;<br>
# ASSUME_PROVIDED += &quot;qemu-native&quot;<br><br># If ENABLE_BINARY_LOCALE_GENERATION is set to &quot;1&quot;, 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 = &quot;en_US.UTF-8 en_GB.UTF-8&quot;<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 = &quot;2.6&quot;<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 = &quot;package_ipk&quot;<br>#INHERIT += &quot;sourcepkg&quot;<br><br># Add the required image file system types below. Valid are&nbsp;<br># jffs2, tar(.gz|bz2), cpio(.gz), cramfs, ext2(.gz), ext3(.gz)<br># squashfs, squashfs-lzma<br>
IMAGE_FSTYPES = &quot;jffs2 tar.gz&quot;<br><br># Uncomment this to disable the parse cache (not recommended).<br># CACHE = &quot;&quot;<br><br># Uncomment this if you want BitBake to emit debugging output<br># BBDEBUG = &quot;yes&quot;<br>
<br># Uncomment these two if you want BitBake to build images useful for debugging.&nbsp;<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 = &quot;1&quot;<br># INHIBIT_PACKAGE_STRIP = &quot;1&quot;<br><br># Uncomment these to build a package such that you can use gprof to profile it.<br># NOTE: This will only work with &#39;linux&#39; targets, not<br>
# &#39;linux-uclibc&#39;, as uClibc doesn&#39;t provide the necessary<br># object files.  Also, don&#39;t build glibc itself with these<br># flags, or it&#39;ll fail to build.<br>#<br># PROFILE_OPTIMIZATION = &quot;-pg&quot;<br>
# SELECTED_OPTIMIZATION = &quot;${PROFILE_OPTIMIZATION}&quot;<br># LDFLAGS =+ &quot;-pg&quot;<br><br># Uncomment this to enable parallel make.<br># This allows make to spawn mutliple processes to take advantage of multiple&nbsp;<br>
# processors. Useful on SMP machines. This may break some packages - we&#39;re<br># in the process of marking these so let us know if you find any.<br>#PARALLEL_MAKE = &quot;-j 8&quot;<br><br># Uncomment this if you want BitBake to emit the log if a build fails.<br>
BBINCLUDELOGS = &quot;yes&quot;<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 = &quot;&quot;<br>
<br># include autorev for openmoko<br>#require conf/distro/include/moko-autorev.inc<br># tinderclient<br>INHERIT += &quot;tinderclient&quot;<br>TINDER_HOST       = &quot;localhost&quot;<br>TINDER_URL        = &quot;/tinderbox&quot;<br>
<br>QA_LOG = &quot;1&quot;<br>BB_GIT_CLONE_FOR_SRCREV=&quot;1&quot;<br>ENTERPRISE_DISTRO = &quot;1&quot;<br>MACHINE = &quot;om-gta02&quot;<br>SRCREV_pn-linux-openmoko-devel ?= &quot;${AUTOREV}&quot;<br>I appreciate your help&nbsp;<br>
Cheers,<br>Vlad<br>Here is my local conf<br>I appretiate your help.<br>I appreciate your help&nbsp;<br></p>