[Bug 4668] IndexError

bugzilla-daemon at amethyst.openembedded.net bugzilla-daemon at amethyst.openembedded.net
Sun Dec 7 12:41:16 UTC 2008


http://bugs.openembedded.net/show_bug.cgi?id=4668





--- Comment #2 from Paul P. Adler <ppadler at gmail.com>  2008-12-07 13:41:16 ---
Seeing the same problem here under Ubuntu 8.04.1 (32bit). Trying to bitbake
obviously any image-based package gets me the error in line 79 of file
"staging/i686-linux/usr/bin/arfile.py".
Enabling the diagnostic print above this line gives this output:
  | ['debian-binary/', '1228332125', '167772167772100644', '4', '`']
The failing source reads 
  size = int(descriptor[5])
so there are at least six elements expected where only 5 are available.
Manually inspecting the offending ipkg-file (which happens to be
deploy/glibc/ipk/all/alsa-state_0.1.0-r18.1_all.ipk) shows a valid signature
and a following line that results in the list above.

A hexdump of the file's header follows. Next step would be to ensure header is
valid for an ar-file and if not look where the package is created and why it
has this header.
--Paul

00000000  21 3c 61 72 63 68 3e 0a  64 65 62 69 61 6e 2d 62  |!<arch>.debian-b|
00000010  69 6e 61 72 79 2f 20 20  31 32 32 38 33 33 32 31  |inary/  12283321|
00000020  32 35 20 20 31 36 37 37  37 32 31 36 37 37 37 32  |25  167772167772|
00000030  31 30 30 36 34 34 20 20  34 20 20 20 20 20 20 20  |100644  4       |
00000040  20 20 60 0a 32 2e 30 0a  64 61 74 61 2e 74 61 72  |  `.2.0.data.tar|
00000050  2e 67 7a 2f 20 20 20 20  31 32 32 38 33 33 32 31  |.gz/    12283321|
00000060  32 35 20 20 31 36 37 37  37 32 31 36 37 37 37 32  |25  167772167772|
00000070  31 30 30 36 34 34 20 20  35 38 36 20 20 20 20 20  |100644  586     |
00000080  20 20 60 0a 1f 8b 08 00  5d dc 36 49 00 03 ed 96  |  `.....].6I....|
00000090  cf 6f 9b 30 14 c7 b9 e2  bf e2 95 ec 90 1c 62 20  |.o.0..........b |

-- 
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list