[OE-core] intermittent (50% of the time) parse failures
Koen Kooi
koen at dominion.thruhere.net
Mon Oct 17 17:11:12 UTC 2011
Op 17 okt. 2011, om 19:07 heeft Koen Kooi het volgende geschreven:
> Hi,
>
> I'm working on xfce and half the time I get:
>
> koen at dominion:/OE/tentacle/sources/meta-openembedded/meta-xfce/recipes-panel-plugins/cpugraph$ bitbake xfce4-cpugraph-plugin
> Loading cache: 100% |#############################################################################################################################################################################################################################################| ETA: 00:00:00
> Loaded 1794 entries from dependency cache.
> Parsing recipes: 100% |###########################################################################################################################################################################################################################################| Time: 00:00:00
> Parsing of 1397 .bb files complete (1396 cached, 1 parsed). 1794 targets, 58 skipped, 0 masked, 0 errors.
> ERROR: Command execution failed: Traceback (most recent call last):
> File "/OE/tentacle/sources/bitbake/lib/bb/command.py", line 99, in runAsyncCommand
> self.cooker.updateCache()
> File "/OE/tentacle/sources/bitbake/lib/bb/cooker.py", line 1135, in updateCache
> if not self.parser.parse_next():
> File "/OE/tentacle/sources/bitbake/lib/bb/cooker.py", line 1466, in parse_next
> self.shutdown()
> File "/OE/tentacle/sources/bitbake/lib/bb/cooker.py", line 1455, in shutdown
> bb.codeparser.parser_cache_savemerge(self.cooker.configuration.data)
> File "/OE/tentacle/sources/bitbake/lib/bb/codeparser.py", line 121, in parser_cache_savemerge
> data, version = p.load()
> ValueError: could not convert string to int
>
> The next run is fine, the one after that broken, etc
>
> I suspect it's this bit of code:
>
> SRC_URI = "http://archive.xfce.org/src/panel-plugins/${BPN}/${@'${PV}'[0:3]}/${BPN}-${PV}.tar.bz2"
>
> But I wonder why it works half the time, not always.
Update: it only fails when parsing the recipe, not when it's already in the cache. It seems the failed attempt does manage to update the cache properly.
More information about the Openembedded-core
mailing list