Re: [yocto] :how to solve the basehash value changed from 'xxx' to 'aaaa' ?
Thanks, The cause of the error comes from the cache of the yocto project. Thanks, Byron At 2019-11-21 17:13:54, "Mike Looijmans" wrote: >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.looijm...@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 >> >> >> > >-- >___ >yocto mailing list >yocto@yoctoproject.org >https://lists.yoctoproject.org/listinfo/yocto -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] :how to solve the basehash value changed from 'xxx' to 'aaaa' ?
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.looijm...@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 > > > -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] :how to solve the basehash value changed from 'xxx' to 'aaaa' ?
You are changing the value of something in there dynamically. Most likely you've done something like embed the current date and time. If you do something like that, you need to evaluate it -once- during parse time and not again. This will fix the hash value at parse time and not change it later. --Mark On 11/12/19 10:20 PM, 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 > > > > > > -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] :how to solve the basehash value changed from 'xxx' to 'aaaa' ?
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 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] :how to solve the basehash value changed from 'xxx' to 'aaaa' ?
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-- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto