Skip to contentSkip to conversation

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

DISCUSSION www 2 participants 3 messages Nov 13, 2019 – Nov 21, 2019 1 message not in the archive

lore
Share & tools
lore

www

author
#0 lore raw

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

#1 lore raw

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: [email protected]
W: www.topicproducts.com

Please consider the environment before printing this e-mail

Quoted 41 lines · www

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

author
#2 lore raw

Thanks,
The cause of the error comes from the cache of the yocto project.

Thanks,
Byron

Quoted 69 lines · Mike Looijmans

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: [email protected]
W: www.topicproducts.com

Please consider the environment before printing this e-mail

Quoted 41 lines · www

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

Signature · 4 lines
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto