Bug 14384

Summary: Possible SOURCE_DATE_EPOCH race condition
Product: [Build System, Metadata & Runtime] BitBake Reporter: Alexandre Belloni <alexandre.belloni>
Component: bitbakeAssignee: Joshua Watt <JPEWhacker>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: poky.bs.watcher, poky.watcher, randy.macleod
Version: unspecified   
Target Milestone: 3.4 M2   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT AB-INT-TMPFS
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alexandre Belloni 2021-05-06 19:05:26 UTC
As seen in:

https://autobuilder.yoctoproject.org/typhoon/#/builders/44/builds/3372/
https://autobuilder.yoctoproject.org/typhoon/#/builders/20/builds/3699/

WARNING: /home/pokybuild/yocto-worker/multilib/build/meta/recipes-graphics/libepoxy/libepoxy_1.5.5.bb: Unable to export ${SOURCE_DATE_EPOCH}: Failure expanding variable SOURCE_DATE_EPOCH, expression was ${@get_source_date_epoch_value(d)} which triggered exception FileNotFoundError: [Errno 2] No such file or directory: '/home/pokybuild/yocto-worker/multilib/build/build/tmp/work/x86_64-pokymllib64-linux/lib64-libepoxy/1.5.5-r0/source-date-epoch/__source_date_epoch.txt'

WARNING: /home/pokybuild/yocto-worker/buildtools/build/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb: Unable to export ${SOURCE_DATE_EPOCH}: Failure expanding variable SOURCE_DATE_EPOCH, expression was ${@get_source_date_epoch_value(d)} which triggered exception FileNotFoundError: [Errno 2] No such file or directory: '/home/pokybuild/yocto-worker/buildtools/build/build/tmp/work/i686-nativesdk-pokysdk-linux/nativesdk-qemuwrapper-cross/1.0-r0/source-date-epoch/__source_date_epoch.txt'
Comment 1 Alexandre Belloni 2021-05-13 14:36:52 UTC
Proper links:
https://autobuilder.yoctoproject.org/typhoon/#/builders/44/builds/3372
https://autobuilder.yoctoproject.org/typhoon/#/builders/20/builds/3699

One is master, the other on is master-next
Comment 2 Joshua Watt 2021-06-02 02:39:32 UTC
Patch on ML: https://lists.openembedded.org/g/openembedded-core/message/152532