* ERROR: meta-environment.bb:do_generate_content, the basehash value changed @ 2023-02-17 16:15 Joakim Tjernlund 2023-05-09 17:20 ` Reto Schneider 0 siblings, 1 reply; 3+ messages in thread From: Joakim Tjernlund @ 2023-02-17 16:15 UTC (permalink / raw) To: bitbake-devel We get this error fairly often: ERROR: When reparsing /data/jenkins/workspace/XR_yocto-xr_jocke_no_variable_PV/code/3pp/poky/meta/recipes-core/meta/meta-environment.bb:do_generate_content, the basehash value changed from 7c71053fbb1efb3c0fd7ad60d3dc6d40a0775a9d19833316591af6ef5704257c to 6879ecad0131455e7d351c82894e6621c0424a60a3ae608216b97088b8684b95. The metadata is not deterministic and this needs to be fixed. [2023-02-17T15:50:42.785Z] ERROR: The following commands may help: [2023-02-17T15:50:42.785Z] ERROR: $ bitbake meta-environment-gmcu -cdo_generate_content -Snone [2023-02-17T15:50:42.785Z] ERROR: Then: [2023-02-17T15:50:42.785Z] ERROR: $ bitbake meta-environment-gmcu -cdo_generate_content -Sprintdiff we build like so: bitbake -c clean lib32-xr-image bitbake lib32-xr-image bitbake -f -c docker_build_qemu lib32-xr-image bitbake -c populate_sdk xr-image <---- during populate_sdk the error occures bitbake -f -c docker_build xr-image Unable to figure out why we get this, any ideas? Using dunfell ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ERROR: meta-environment.bb:do_generate_content, the basehash value changed 2023-02-17 16:15 ERROR: meta-environment.bb:do_generate_content, the basehash value changed Joakim Tjernlund @ 2023-05-09 17:20 ` Reto Schneider 2023-05-16 15:17 ` Reto Schneider 0 siblings, 1 reply; 3+ messages in thread From: Reto Schneider @ 2023-05-09 17:20 UTC (permalink / raw) To: bitbake-devel [-- Attachment #1: Type: text/plain, Size: 318 bytes --] This boils down to a git safe.directory issue. Solution 1: $ git config --global --add safe.directory /path/to/openembedded-core Solution 2 (backporting from current master): $ cd /path/to/openembedded-core git cherry-pick -x 3266c327dfa186791e0f1e2ad63c6f5d39714814 af27c81eaf68ee681dcd9456a74cca6a9ab40bf6 [-- Attachment #2: Type: text/html, Size: 346 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ERROR: meta-environment.bb:do_generate_content, the basehash value changed 2023-05-09 17:20 ` Reto Schneider @ 2023-05-16 15:17 ` Reto Schneider 0 siblings, 0 replies; 3+ messages in thread From: Reto Schneider @ 2023-05-16 15:17 UTC (permalink / raw) To: bitbake-devel [-- Attachment #1: Type: text/plain, Size: 597 bytes --] Actually, it seems like some more commits need to be backported: * 3266c327dfa186791e0f1e2ad63c6f5d39714814 (install/devshell: Introduce git intercept script due to fakeroot issues) * 0982977dc052ad4e65608f6853f930121d08837a (base: Drop git intercept) * af27c81eaf68ee681dcd9456a74cca6a9ab40bf6 (scripts: Make git intercept global) * 27de610ac30d4c81352efc794df7e9b1060f7a68 (scripts/git: Ensure we don't have circular references) * 52c37e133fa55846aca2248ffcf3a10648dbb8d7 (base: Avoid circular references to our own scripts) Again, all commits are contained in the current master branch. [-- Attachment #2: Type: text/html, Size: 651 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-05-16 15:17 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2023-02-17 16:15 ERROR: meta-environment.bb:do_generate_content, the basehash value changed Joakim Tjernlund 2023-05-09 17:20 ` Reto Schneider 2023-05-16 15:17 ` Reto Schneider
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).