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.
Thanks for the report and patch. As you said, dunfell is no longer maintained so this likely won't be patched.