[bitbake-devel] [1.40][PATCH] bitbake: fix version comparison when one of the versions ends in .

richard.purdie at linuxfoundation.org richard.purdie at linuxfoundation.org
Sat Jun 15 10:05:53 UTC 2019


On Sat, 2019-06-15 at 09:24 +0200, Martin Jansa wrote:
> I was seeing the same error on versions not ending with '.', in my
> case:
> bb.utils.vercmp((0,1.0.2r,r0.0webos22),
> (0,1.0.2r0webos19,r0.0webos21)
> 
> Which lead to do_packagedata failure through
> buildhistory_emit_pkghistory shown bellow.
> 
> Alex's fix works for the above versions as well, should I extend
> the bb.utils.vercmp selftest with even weirder versions like we're
> using
> or leave it as is?

Adding such examples would be good please!

Cheers,

Richard



More information about the bitbake-devel mailing list