Bug 15484 - gzip of extended pkgdata introduced non-determinism
Summary: gzip of extended pkgdata introduced non-determinism
Status: RESOLVED OBSOLETE
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 3.1.28
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 0.0.0
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2024-05-15 16:27 UTC by Jate Sujjavanich
Modified: 2024-05-16 14:51 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
Initial fix for the bug (1.20 KB, application/mbox)
2024-05-15 16:27 UTC, Jate Sujjavanich
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.