<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
I need to build console-image on omap3evm.<BR>
I use ubuntu 10.10.<BR>
<BR>
In this configuration console-image are 4077 and it gives me an error at task 4073.<BR>
the log is below:<BR>
<BR>
<PRE>
<TT>ERROR: TaskFailed event exception, aborting</TT>
<TT>ERROR: Build of /opt/oe/openembedded/recipes/images/console-image.bb do_package_update_index_ipk failed</TT>
<TT>NOTE: Running task 4073 of 4077 (ID: 18, /opt/oe/openembedded/recipes/images/console-image.bb, do_package_update_index_ipk)</TT>
<TT>ERROR: Task 18 (/opt/oe/openembedded/recipes/images/console-image.bb, do_package_update_index_ipk) failed with 256</TT>
<TT>ERROR: '/opt/oe/openembedded/recipes/images/console-image.bb' failed</TT>
<TT>NOTE: package console-image-1.0-r0: task do_package_update_index_ipk: Started</TT>
<TT>ERROR: Function do_package_update_index_ipk failed</TT>
<TT>NOTE: Task failed: ('function do_package_update_index_ipk failed', '/opt/oe/tmp/work/omap3evm-angstrom-linux-gnueabi/console-image-1.0-r0/temp/log.do_package_update_index_ipk.12940')</TT>
<TT>ERROR: Logfile of failure stored in: /opt/oe/tmp/work/omap3evm-angstrom-linux-gnueabi/console-image-1.0-r0/temp/log.do_package_update_index_ipk.12940</TT>
<TT>Log data follows:</TT>
<TT>| + ipkgarchs='all any noarch arm&nbsp; armv4 armv4t armv5te armv6 armv7 armv7a omap3evm'</TT>
<TT>| + '[' '!' -z '' ']'</TT>
<TT>| + mkdir -p /opt/oe/tmp/deploy/eglibc/ipk</TT>
<TT>| + touch /opt/oe/tmp/deploy/eglibc/ipk/Packages</TT>
<TT>| + opkg-make-index -r /opt/oe/tmp/deploy/eglibc/ipk/Packages -p /opt/oe/tmp/deploy/eglibc/ipk/Packages -l /opt/oe/tmp/deploy/eglibc/ipk/Packages.filelist -m /opt/oe/tmp/deploy/eglibc/ipk</TT>
<TT>| /opt/oe/tmp/sysroots/x86_64-linux/usr/bin/opkg.py:39: DeprecationWarning: the md5 module is deprecated; use hashlib instead</TT>
<TT>|&nbsp;&nbsp; import md5</TT>
<TT>| </TT>
<TT>| + for arch in '$ipkgarchs'</TT>
<TT>| + '[' -e /opt/oe/tmp/deploy/eglibc/ipk/all/ ']'</TT>
<TT>| + touch /opt/oe/tmp/deploy/eglibc/ipk/all/Packages</TT>
<TT>| + opkg-make-index -r /opt/oe/tmp/deploy/eglibc/ipk/all/Packages -p /opt/oe/tmp/deploy/eglibc/ipk/all/Packages -l /opt/oe/tmp/deploy/eglibc/ipk/all/Packages.filelist -m /opt/oe/tmp/deploy/eglibc/ipk/all/</TT>
<TT>| /opt/oe/tmp/sysroots/x86_64-linux/usr/bin/opkg.py:39: DeprecationWarning: the md5 module is deprecated; use hashlib instead</TT>
<TT>|&nbsp;&nbsp; import md5</TT>
<TT>| Traceback (most recent call last):</TT>
<TT>|&nbsp;&nbsp; File &quot;/opt/oe/tmp/sysroots/x86_64-linux/usr/bin/opkg-make-index&quot;, line 114, in &lt;module&gt;</TT>
<TT>|&nbsp;&nbsp;&nbsp;&nbsp; pkg = opkg.Package(filename)</TT>
<TT>|&nbsp;&nbsp; File &quot;/opt/oe/tmp/sysroots/x86_64-linux/usr/bin/opkg.py&quot;, line 164, in __init__</TT>
<TT>|&nbsp;&nbsp;&nbsp;&nbsp; tarStream = ar.open(&quot;control.tar.gz&quot;)</TT>
<TT>|&nbsp;&nbsp; File &quot;/opt/oe/tmp/sysroots/x86_64-linux/usr/bin/arfile.py&quot;, line 59, in open</TT>
<TT>|&nbsp;&nbsp;&nbsp;&nbsp; f = self._scan(fname)</TT>
<TT>|&nbsp;&nbsp; File &quot;/opt/oe/tmp/sysroots/x86_64-linux/usr/bin/arfile.py&quot;, line 80, in _scan</TT>
<TT>|&nbsp;&nbsp;&nbsp;&nbsp; size = int(descriptor[5])</TT>
<TT>| IndexError: list index out of range</TT>
<TT>| ERROR: Function do_package_update_index_ipk failed</TT>
<TT>NOTE: package console-image-1.0-r0: task do_package_update_index_ipk: Failed</TT>
<TT>ERROR: TaskFailed event exception, aborting</TT>
<TT>ERROR: Build of /opt/oe/openembedded/recipes/images/console-image.bb do_package_update_index_ipk failed</TT>
<TT>ERROR: Task 18 (/opt/oe/openembedded/recipes/images/console-image.bb, do_package_update_index_ipk) failed with 256</TT>
<TT>ERROR: '/opt/oe/openembedded/recipes/images/console-image.bb' failed</TT>
<TT>ERROR: '/opt/oe/openembedded/recipes/images/console-image.bb' failed</TT>

</PRE>
it seems that a pythin script fails.<BR>
where I am wrong?<BR>
<BR>
thanks
</BODY>
</HTML>