[oe] populate_staging_postamble fails

Mickael Chazaux mickael.chazaux at gmail.com
Fri Apr 23 12:43:38 UTC 2010


Hi,

I had this error a few times in file
/home/mchazaux/projet/OE/angstrom-dev/work/telematic-board-angstrom-linux-gnueabi/linux-2.6.33-r70/temp/log.populate_staging_postamble.24667
:


Traceback (most recent call last):
  File "/home/mchazaux/projet/OE/openembedded/recipes/stage-manager/files/stage-manager",
line 79, in <module>
    cache = read_cache(options.cachefile)
  File "/home/mchazaux/projet/OE/openembedded/recipes/stage-manager/files/stage-manager",
line 34, in read_cache
    cache[data[0]]['ts'] = int(data[1])
IndexError: list index out of range

In fact sometimes I hit in "no space left on device" errors, so the
cachefile /home/mchazaux/projet/OE/angstrom-dev/deploy/glibc/pstage/stamp-cache-staging
may get corrupted, with just one field on the line and not the 2
others, resulting in bitbake crashing.

Following patch adds error handling.

Regards,

Mickael Chazaux

Adeneo Embedded - Adetel Group
2, chemin du Ruisseau
69134 ECULLY - FRANCE
Tél. : +33 (0)4 72 18 08 40 - Fax : +33 (0)4 72 18 08 41




More information about the Openembedded-devel mailing list