Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F-Droid build not reproducible #54

Open
linsui opened this issue Feb 2, 2024 · 4 comments
Open

F-Droid build not reproducible #54

linsui opened this issue Feb 2, 2024 · 4 comments

Comments

@linsui
Copy link

linsui commented Feb 2, 2024

diff.html.zip

It seems the only diff is that pg-map-id is different. Could you please take a look? Thanks!

@licaon-kter
Copy link

https://gitlab.com/fdroid/fdroiddata/-/jobs/6294030022#L4384

your local tool versions is different?

@arsvechkarev
Copy link
Owner

If I understand correctly, tool versions i=gradle version? If yes, then it is true, my gradle version is 8.5. Should I update it for the build to pass?

@linsui
Copy link
Author

linsui commented Mar 3, 2024

It's easy to fix. But the apk is still not reproducible. https://gitlab.com/linsui/fdroiddata/-/jobs/6306448147

@licaon-kter
Copy link

licaon-kter commented Mar 4, 2024

diffing the APKs from the CI above and the released one

there's a difference in baseline, and a difference in classes.dex

upon dissembling classes.dex via apktool the smali files are identical, oddly enough 🤷

trying directly:

$ diffoscope classes.dex classes-2.dex
--- classes.dex
+++ classes-2.dex
├── dexdump -a -d -f -h {}
│┄ Ignoring differences in offsets to keep diff size reasonable.
│ @@ -1,12 +1,12 @@
│  DEX version '038'
│  DEX file header:
│  magic               : 'dex\n038\0'
│ -checksum            : 07e5bdb3
│ -signature           : 1974...2f40
│ +checksum            : 0011bd77
│ +signature           : 71bb...b505
│  file_size           : 1979640
│  header_size         : 112
│  link_size           : 0
│  link_off            : 0 (0x000000)
│  string_ids_size     : 11985
│  string_ids_off      : 112 (0x000070)
│  type_ids_size       : 3388

@arsvechkarev can you clean caches, gradle caches, etc and rebuild the APK?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants