Update: https://lists.reproducible-builds.org/pipermail/rb-general/2024-September/003547.html
So... any zlib/deflate experts here?
I have a weird issue: an APK (i.e. ZIP file) with deflate-compressed data which I cannot recreate using python + zlib, even with code that tries every possible combination of parameters (with the obvious exception of providing a predefined compression dictionary) instead of just varying the compression level.
One file's compressed data can be reproduced using strategy Z_FILTERED, but for all the other files I've tried the script doesn't return any matches (it works fine with the APK we built ourselves, which should have had identical compressed data as the build is supposed to be deterministic).
Anyone have any idea what's going on here?
Test code: https://gist.github.com/obfusk/d9d1223cd1fa1a875e6cf49827621e69
Original issue: https://github.com/enteraname74/SoulSearching/issues/31#issuecomment-2329932093