All of lore.kernel.org
 help / color / mirror / Atom feed
* :how to solve the basehash value changed from 'xxx' to 'aaaa' ?
@ 2019-11-13  4:20 www
  2019-11-18 14:53 ` Mark Hatle
  0 siblings, 1 reply; 5+ messages in thread
From: www @ 2019-11-13  4:20 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1884 bytes --]

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


[-- Attachment #2: Type: text/html, Size: 2706 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: :how to solve the basehash value changed from 'xxx' to 'aaaa' ?
  2019-11-13  4:20 :how to solve the basehash value changed from 'xxx' to 'aaaa' ? www
@ 2019-11-18 14:53 ` Mark Hatle
  0 siblings, 0 replies; 5+ messages in thread
From: Mark Hatle @ 2019-11-18 14:53 UTC (permalink / raw)
  To: www, yocto

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
> 
> 
> 
>  
> 
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: :how to solve the basehash value changed from 'xxx' to 'aaaa' ?
  2019-11-18 11:05     ` Mike Looijmans
@ 2019-11-21 14:15       ` www
  0 siblings, 0 replies; 5+ messages in thread
From: www @ 2019-11-21 14:15 UTC (permalink / raw)
  To: Mike Looijmans; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2935 bytes --]



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" <mike.looijmans@topicproducts.com> 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.looijmans@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

[-- Attachment #2: Type: text/html, Size: 3571 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: :how to solve the basehash value changed from 'xxx' to 'aaaa' ?
       [not found]   ` <1b153bce-a66a-45ee-a5c6-963ea6fb1c82.0d2bd5fa-15cc-4b27-b94e-83614f9e5b38.a7a4e13e-2941-4bd4-89d1-e2bfc50e1d1a@emailsignatures365.codetwo.com>
@ 2019-11-18 11:05     ` Mike Looijmans
  2019-11-21 14:15       ` www
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Looijmans @ 2019-11-18 11:05 UTC (permalink / raw)
  To: yocto

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@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
> 
> 
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* :how to solve the basehash value changed from 'xxx' to 'aaaa' ?
@ 2019-11-13  3:09 www
       [not found] ` <1b153bce-a66a-45ee-a5c6-963ea6fb1c82.949ef384-8293-46b8-903f-40a477c056ae.937f51ed-079c-466a-ad63-84b226977b38@emailsignatures365.codetwo.com>
  0 siblings, 1 reply; 5+ messages in thread
From: www @ 2019-11-13  3:09 UTC (permalink / raw)
  To: yocto-bounces, yocto

[-- Attachment #1: Type: text/plain, Size: 1882 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 2454 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-11-21 14:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-13  4:20 :how to solve the basehash value changed from 'xxx' to 'aaaa' ? www
2019-11-18 14:53 ` Mark Hatle
  -- strict thread matches above, loose matches on Subject: below --
2019-11-13  3:09 www
     [not found] ` <1b153bce-a66a-45ee-a5c6-963ea6fb1c82.949ef384-8293-46b8-903f-40a477c056ae.937f51ed-079c-466a-ad63-84b226977b38@emailsignatures365.codetwo.com>
     [not found]   ` <1b153bce-a66a-45ee-a5c6-963ea6fb1c82.0d2bd5fa-15cc-4b27-b94e-83614f9e5b38.a7a4e13e-2941-4bd4-89d1-e2bfc50e1d1a@emailsignatures365.codetwo.com>
2019-11-18 11:05     ` Mike Looijmans
2019-11-21 14:15       ` www

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.