Bug 258517

Summary: Source/JavaScriptCore/CMakeLists.txt: putting __TIMESTAMP__ into a generated file is non-reproducible behavior
Product: WebKit Reporter: Alexander Kanavin <alex.kanavin>
Component: CMakeAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, berto, emw, fujii.hironori, mark.lam, mcatanzaro
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=247622

Alexander Kanavin
Reported 2023-06-26 05:58:25 PDT
__TIMESTAMP__ refers to mtime of the file that contains it, which is unstable and breaks binary reproducibility when the file is generated at build time. To ensure this does not happen, mtime should be set from the original file.
Attachments
Michael Catanzaro
Comment 1 2023-06-26 13:56:46 PDT
*** This bug has been marked as a duplicate of bug 252308 ***
EWS
Comment 2 2023-07-26 12:15:39 PDT
Committed 266322@main (8e2834324073): <https://commits.webkit.org/266322@main> Reviewed commits have been landed. Closing PR #15293 and removing active labels.
Michael Catanzaro
Comment 3 2023-08-10 14:22:42 PDT
*** Bug 252308 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.