On Thu, 2023-03-23 at 12:01 +0100, Peter Marko wrote: > From: Peter Marko <[email protected]> > > This include overrides do_deploy_source_date_epoch function > and is additionally referencing ${S}. > If ${S} does not exist yet, the function will fail because > it cannot evaluate path .. from non-existing directory. > > Reproducer (verified in kirkstone): > bitbake gcc -c deploy_source_date_epoch > bitbake gcc -c cleansstate > rm -rf build/tmp > bitbake gcc -c deploy_source_date_epoch > > Signed-off-by: Peter Marko <[email protected]> > --- > meta/recipes-devtools/gcc/gcc-shared-source.inc | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/meta/recipes-devtools/gcc/gcc-shared-source.inc > b/meta/recipes-devtools/gcc/gcc-shared-source.inc > index cd2e341099..7c84ea088d 100644 > --- a/meta/recipes-devtools/gcc/gcc-shared-source.inc > +++ b/meta/recipes-devtools/gcc/gcc-shared-source.inc > @@ -10,6 +10,7 @@ SRC_URI = "" > do_configure[depends] += "gcc-source-${PV}:do_preconfigure" > do_populate_lic[depends] += "gcc-source-${PV}:do_unpack" > do_deploy_source_date_epoch[depends] += > "gcc-source-${PV}:do_deploy_source_date_epoch" > +do_deploy_source_date_epoch[dirs] += "${S}" > > # Copy the SDE from the shared workdir to the recipe workdir > do_deploy_source_date_epoch () {
I have a suspicion this was fixed differently in master. The fix looks incorrect since it will just make the directory exist, which will hide the error but won't fix whatever the race is causing the underlying determinism problem. Can you confirm the problem exists on master to start with please? Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#178978): https://lists.openembedded.org/g/openembedded-core/message/178978 Mute This Topic: https://lists.openembedded.org/mt/97798316/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
