All of lore.kernel.org
 help / color / mirror / Atom feed
* Strange error
@ 2020-06-10 17:48 Mauro Ziliani
  2020-06-10 17:50 ` [yocto] " Rudolf J Streif
  2020-06-10 18:44 ` Josef Holzmayr
  0 siblings, 2 replies; 6+ messages in thread
From: Mauro Ziliani @ 2020-06-10 17:48 UTC (permalink / raw)
  To: yocto

Hi all.

This error

NOTE: Executing RunQueue Tasks
ERROR: When reparsing <recipe_of_image>.do_rootfs, the basehash value 
changed from 7419bfc242fa2eee9ce87b18ebf40d25 to 
5b2654046d2ac406f3484b3286de0acd. The metadata is not deterministic and 
this needs to be fixed.


Why?


Best regards,

   MZ


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

* Re: [yocto] Strange error
  2020-06-10 17:48 Strange error Mauro Ziliani
@ 2020-06-10 17:50 ` Rudolf J Streif
  2020-06-11  7:50   ` Mauro Ziliani
  2020-06-10 18:44 ` Josef Holzmayr
  1 sibling, 1 reply; 6+ messages in thread
From: Rudolf J Streif @ 2020-06-10 17:50 UTC (permalink / raw)
  To: Mauro Ziliani, yocto


[-- Attachment #1.1.1: Type: text/plain, Size: 526 bytes --]

Did you edit the recipe while a build was running?

:rjs

On 6/10/20 10:48 AM, Mauro Ziliani wrote:
> Hi all.
>
> This error
>
> NOTE: Executing RunQueue Tasks
> ERROR: When reparsing <recipe_of_image>.do_rootfs, the basehash value
> changed from 7419bfc242fa2eee9ce87b18ebf40d25 to
> 5b2654046d2ac406f3484b3286de0acd. The metadata is not deterministic
> and this needs to be fixed.
>
>
> Why?
>
>
> Best regards,
>
>   MZ
>
>
> 

-- 
-----
Rudolf J Streif
CEO/CTO ibeeto
+1.855.442.3386 x700


[-- Attachment #1.1.2: Type: text/html, Size: 1233 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 499 bytes --]

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

* Re: [yocto] Strange error
  2020-06-10 17:48 Strange error Mauro Ziliani
  2020-06-10 17:50 ` [yocto] " Rudolf J Streif
@ 2020-06-10 18:44 ` Josef Holzmayr
  2020-06-11  7:56   ` Mauro Ziliani
  1 sibling, 1 reply; 6+ messages in thread
From: Josef Holzmayr @ 2020-06-10 18:44 UTC (permalink / raw)
  To: yocto

Howdy!

Am 10.06.2020 um 19:48 schrieb Mauro Ziliani:
> Hi all.
> 
> This error
> 
> NOTE: Executing RunQueue Tasks
> ERROR: When reparsing <recipe_of_image>.do_rootfs, the basehash value 
> changed from 7419bfc242fa2eee9ce87b18ebf40d25 to 
> 5b2654046d2ac406f3484b3286de0acd. The metadata is not deterministic and 
> this needs to be fixed.
> 
> 
> Why?

Maybe some script / part of the recipe is dependent on the execution 
time or evaluation order? The error basically tells you that your build 
is not reproducible across runs.

Greetz

-- 
_____________________________________________________________
R-S-I Elektrotechnik GmbH & Co. KG
Woelkestrasse 11
D-85301 Schweitenkirchen
Fon: +49 8444 9204-0
Fax: +49 8444 9204-50
www.rsi-elektrotechnik.de

_____________________________________________________________
Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
USt-IdNr.: DE 128592548


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

* Re: [yocto] Strange error
  2020-06-10 17:50 ` [yocto] " Rudolf J Streif
@ 2020-06-11  7:50   ` Mauro Ziliani
  0 siblings, 0 replies; 6+ messages in thread
From: Mauro Ziliani @ 2020-06-11  7:50 UTC (permalink / raw)
  To: Rudolf J Streif, yocto

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

Thanks.

No i edit the recipes before build.

Il 10/06/20 19:50, Rudolf J Streif ha scritto:
>
> Did you edit the recipe while a build was running?
>
> :rjs
>
> On 6/10/20 10:48 AM, Mauro Ziliani wrote:
>> Hi all.
>>
>> This error
>>
>> NOTE: Executing RunQueue Tasks
>> ERROR: When reparsing <recipe_of_image>.do_rootfs, the basehash value 
>> changed from 7419bfc242fa2eee9ce87b18ebf40d25 to 
>> 5b2654046d2ac406f3484b3286de0acd. The metadata is not deterministic 
>> and this needs to be fixed.
>>
>>
>> Why?
>>
>>
>> Best regards,
>>
>>   MZ
>>
>>
>> 
> -- 
> -----
> Rudolf J Streif
> CEO/CTO ibeeto
> +1.855.442.3386 x700

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

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

* Re: [yocto] Strange error
  2020-06-10 18:44 ` Josef Holzmayr
@ 2020-06-11  7:56   ` Mauro Ziliani
  2020-06-11 22:56     ` Denys Dmytriyenko
  0 siblings, 1 reply; 6+ messages in thread
From: Mauro Ziliani @ 2020-06-11  7:56 UTC (permalink / raw)
  To: yocto

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

In the image recipe i write ${DATETIME} in ${IMAGE_ROOTFS}/etc/buildtime 
by a function.

This is the part of recipe


ROOTFS_POSTPROCESS_COMMAND_append = " \
     mark_os_buildtime; \

"


mark_os_buildtime() {
     echo "${PV} ${DATETIME}" > ${IMAGE_ROOTFS}/etc/buildtime

}



Il 10/06/20 20:44, Josef Holzmayr ha scritto:
> Howdy!
>
> Am 10.06.2020 um 19:48 schrieb Mauro Ziliani:
>> Hi all.
>>
>> This error
>>
>> NOTE: Executing RunQueue Tasks
>> ERROR: When reparsing <recipe_of_image>.do_rootfs, the basehash value 
>> changed from 7419bfc242fa2eee9ce87b18ebf40d25 to 
>> 5b2654046d2ac406f3484b3286de0acd. The metadata is not deterministic 
>> and this needs to be fixed.
>>
>>
>> Why?
>
> Maybe some script / part of the recipe is dependent on the execution 
> time or evaluation order? The error basically tells you that your 
> build is not reproducible across runs.
>
> Greetz
>
>
> 

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

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

* Re: [yocto] Strange error
  2020-06-11  7:56   ` Mauro Ziliani
@ 2020-06-11 22:56     ` Denys Dmytriyenko
  0 siblings, 0 replies; 6+ messages in thread
From: Denys Dmytriyenko @ 2020-06-11 22:56 UTC (permalink / raw)
  To: Mauro Ziliani; +Cc: yocto

You know that rootfs already creates /etc/version file with $DATETIME?

Either way, you can fix it like this:
mark_os_buildtime[vardepsexclude] = "DATETIME"

-- 
Denys


On Thu, Jun 11, 2020 at 09:56:42AM +0200, Mauro Ziliani wrote:
> In the image recipe i write ${DATETIME} in
> ${IMAGE_ROOTFS}/etc/buildtime by a function.
> 
> This is the part of recipe
> 
> 
> ROOTFS_POSTPROCESS_COMMAND_append = " \
>     mark_os_buildtime; \
> 
> "
> 
> 
> mark_os_buildtime() {
>     echo "${PV} ${DATETIME}" > ${IMAGE_ROOTFS}/etc/buildtime
> 
> }
> 
> 
> 
> Il 10/06/20 20:44, Josef Holzmayr ha scritto:
> >Howdy!
> >
> >Am 10.06.2020 um 19:48 schrieb Mauro Ziliani:
> >>Hi all.
> >>
> >>This error
> >>
> >>NOTE: Executing RunQueue Tasks
> >>ERROR: When reparsing <recipe_of_image>.do_rootfs, the basehash
> >>value changed from 7419bfc242fa2eee9ce87b18ebf40d25 to
> >>5b2654046d2ac406f3484b3286de0acd. The metadata is not
> >>deterministic and this needs to be fixed.
> >>
> >>
> >>Why?
> >
> >Maybe some script / part of the recipe is dependent on the
> >execution time or evaluation order? The error basically tells you
> >that your build is not reproducible across runs.
> >
> >Greetz
> >
> >
> >

> 


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

end of thread, other threads:[~2020-06-11 22:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-10 17:48 Strange error Mauro Ziliani
2020-06-10 17:50 ` [yocto] " Rudolf J Streif
2020-06-11  7:50   ` Mauro Ziliani
2020-06-10 18:44 ` Josef Holzmayr
2020-06-11  7:56   ` Mauro Ziliani
2020-06-11 22:56     ` Denys Dmytriyenko

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.