Bug 15484

Summary: gzip of extended pkgdata introduced non-determinism
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Jate Sujjavanich <jatedev>
Component: coreAssignee: Unassigned <unassigned>
Status: RESOLVED OBSOLETE QA Contact:
Severity: normal    
Priority: Undecided CC: meta.mr.watcher, meta.watcher, randy.macleod
Version: 3.1.28   
Target Milestone: 0.0.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
Initial fix for the bug none

Description Jate Sujjavanich 2024-05-15 16:27:07 UTC
Created attachment 5046 [details]
Initial fix for the bug

Dunfell is out of maintenance, but I am filing this bug for informational purposes for the community. I for example will need builds as I transition to newer a newer oe-core.

In package.bbclass around 3.1.25, code was introduced to use gzip to compress extended pkgdata. This introduced non-determinism because gzip by default adds a timestamp to gzip header. This means that do_package output signature changes with each rebuild reducing the amount of sstate reuse.
Comment 1 Randy MacLeod 2024-05-16 14:51:29 UTC
Thanks for the report and patch. 
As you said, dunfell is no longer maintained so this likely won't be patched.