[OE-core] SRCPV / prserv problem

Eric BENARD ebenard at free.fr
Wed Aug 8 15:34:51 UTC 2018


Hi,

I have a strange issue with a recipe fetching from git for which I fix the
HASH in a conf file :
I'm using PRSERV_HOST = "localhost:0"
The recipe has PV = "gitr${SRCPV}" so I expect the package numbering to be
handled by the prserv.

If I add a SRCREV_pn-mysw = "1ad58b2488ce91ce4d0c4aae4189108b0281aae6", I
see in buildhistory :
PV = gitrAUTOINC+1ad58b2488
PKGV = gitr0+1ad58b2488

If I then fix the hash to 6bd8208a0754a23b5437cb34a361fc22d7dc0c3b, I see
in buildhistory :
-PKGV = gitr0+1ad58b2488
+PKGV = gitr0+6bd8208a07
+PKGR = r0.0
which is expected

But then if I come back to the hash
1ad58b2488ce91ce4d0c4aae4189108b0281aae6, I see :
-PKGV = gitr2+6bd8208a07
-PKGR = r0.1
+PKGV = gitr0+1ad58b2488
and thus I have the package numbering going backward with a QA error.

Do you have any idea on what is causing this behavior and where to dig to
fix this ?

Thanks
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180808/300c51d4/attachment-0002.html>


More information about the Openembedded-core mailing list