[yocto] :how to solve the basehash value changed from 'xxx' to 'aaaa' ?

Mike Looijmans mike.looijmans at topicproducts.com
Mon Nov 18 03:05:52 PST 2019


Without your recipe source code, no one can tell for sure, but I suspect you 
have something like a "DATE" in there that evaulates to a different value if 
you run it a second later.


Met vriendelijke groet / kind regards,

Mike Looijmans
System Expert


TOPIC Embedded Products B.V.
Materiaalweg 4, 5681 RJ Best
Postbus 440, 5680 AK Best
The Netherlands

T: +31 (0) 499 33 69 69
E: mike.looijmans at topicproducts.com
W: www.topicproducts.com

Please consider the environment before printing this e-mail
On 13-11-19 04:09, www wrote:
> Dear all,
> 
> When I modify the os-release file in my yocto project, it appear some error, 
> and how can I solve it ? Who can give me some help or advice? Thank you!
> I carried out the recommended order and it didn't work.
> 
> /ERROR: os-release-1.0-r0 do_compile: Taskhash mismatch 
> ce133f0458608e03aa55224df28156e523e54903115efbbcd62946f84a867201 versus 
> 7269881f0eb1759ed420a2db4c04fb477cd8c1288bc5f82df5c8161bb926ea1f for 
> /home/temp/wanghp/wsp/git_s/local-source/obmc-sugon/entity_fruu/meta/recipes-core/os-release/os-release.bb.do_compile/
> /ERROR: Taskhash mismatch 
> ce133f0458608e03aa55224df28156e523e54903115efbbcd62946f84a867201 versus 
> 7269881f0eb1759ed420a2db4c04fb477cd8c1288bc5f82df5c8161bb926ea1f for 
> /home/temp/wanghp/wsp/git_s/local-source/obmc-sugon/entity_fruu/meta/recipes-core/os-release/os-release.bb.do_compile/
> /ERROR: When reparsing 
> /home/temp/wanghp/wsp/git_s/local-source/obmc-sugon/entity_fruu/meta/recipes-core/os-release/os-release.bb.do_compile, 
> //the basehash value changed from 
> 99a42a1a3b1a151de604267b159558ecaf1031a3bec8917df132c81302e729a5 to 
> 4f3288a8763e2e1af78e4b3cdd9c0c0ccb3b0d5c78a3073c188b22200df2a9b0. //The 
> metadata is not deterministic and this needs to be fixed./
> /ERROR: The following commands may help:/
> /ERROR: $ bitbake os-release -cdo_compile -Snone/
> /ERROR: Then:/
> /ERROR: $ bitbake os-release -cdo_compile -Sprintdiff/
> 
> /ERROR: When reparsing 
> /home/temp/wanghp/wsp/git_s/local-source/obmc-sugon/entity_fruu/meta/recipes-core/os-release/os-release.bb.do_compile, 
> //the basehash value changed from 
> 99a42a1a3b1a151de604267b159558ecaf1031a3bec8917df132c81302e729a5 to 
> 47c30012daa6aa77be09a93fe21e66995361ef26b4487111005617db8cb4de59. The metadata 
> is not deterministic and this needs to be fixed./
> /ERROR: The following commands may help:/
> /ERROR: $ bitbake os-release -cdo_compile -Snone/
> /ERROR: Then:/
> /ERROR: $ bitbake os-release -cdo_compile -Sprintdiff/
> 
> thanks,
> Byron
> 
> 
> 



More information about the yocto mailing list