Skip to contentSkip to conversation

Strange error

DISCUSSION Mauro Ziliani 4 participants 6 messages Jun 10, 2020 – Jun 11, 2020

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Did you edit the recipe while a build was running?

:rjs

Quoted 20 lines · 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?

Best regards,

  MZ

Signature · 4 lines
-----
Rudolf J Streif
CEO/CTO ibeeto
+1.855.442.3386 x700
#2 lore raw

Thanks.

No i edit the recipes before build.

Il 10/06/20 19:50, Rudolf J Streif ha scritto:

Quoted 28 lines

Did you edit the recipe while a build was running?

:rjs

Quoted 17 lines · 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?

Best regards,

  MZ

Signature · 4 lines
-----
Rudolf J Streif
CEO/CTO ibeeto
+1.855.442.3386 x700
#3 lore raw
In reply to Mauro Ziliani

Howdy!

Am 10.06.2020 um 19:48 schrieb Mauro Ziliani:

Quoted 9 lines

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

Signature · 12 lines
_____________________________________________________________
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
#4 lore raw

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:

Quoted 19 lines

Howdy!

Am 10.06.2020 um 19:48 schrieb Mauro Ziliani:

Quoted 9 lines

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

#5 lore raw

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

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

Signature · 1 line
Denys
Quoted 46 lines · Mauro Ziliani

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:

Quoted 24 lines

Howdy!

Am 10.06.2020 um 19:48 schrieb Mauro Ziliani:

Quoted 4 lines

Hi all.

This error

Quoted 8 lines

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