-
Notifications
You must be signed in to change notification settings - Fork 183
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 #400
Comments
We've had this error before, but I've changed nothing about the signing. All I did was upgrade some dependencies. I'm sure it'll resolve itself like before: in a few releases, f-droid will start working again, and I'll still have changed nothing about the signing config. |
It's not about the signing config. How do you build your apk? |
That also hasn't changed, and there's been working and broken f-droid builds before and after that. |
And again today, fyi https://gitlab.com/fdroid/fdroiddata/-/commit/c5375a76ae39f6f180c1ec15d2977b1138855e0f difflog: |
What usually causes these? |
Different jdk versions, Android studio, or cache not cleaned. Which jdk do you use to build your apk? |
Uh oh,
Yet my
Maybe these lines are incorrect? https://github.com/dessalines/thumb-key/blob/main/app/build.gradle#L54 |
Maybe the oracle jdk produce different binaries. Those lines are correct. |
Okay, it looks like doing this is the only true way to figure out what java is being used in the build process. I'll try setting my |
fyi 2.1.1 not RB either https://gitlab.com/fdroid/fdroiddata/-/commit/2060e300fb57f492478bd3fe94c309a03b63b71b Difflog is the same as linked above :( |
Not sure what I should do to fix it. This one was built with openjdk 17 . |
Hmm, insteresting... |
I upgraded to gradle 8.3 for that one, not sure what else I did to make that one work. |
@dessalines not only gradle, also these c194722 |
2.5.2 is reproducible. |
Might have been the upgrade to gradle 8.4 , but I have no idea lol. I apologize for these. |
reopen https://monitor.f-droid.org/builds/log/com.dessalines.thumbkey/43#site-footer will rebuild locally to see the diff |
Difflog: Local APK: |
2.6.5 failed again. |
No idea what causes these. This one is even stranger since I update zero gradle deps: 2.6.4...2.6.5#diff-51a0b488f963eb0be6c6599bf5df497313877cf5bdff3950807373912ac1cdc9 |
at least it's a new error https://gitlab.com/fdroid/fdroiddata/-/jobs/6133897492#L566 |
https://gitlab.com/fdroid/fdroiddata/-/jobs/6145358484#L600
|
It's generated with https://github.com/dessalines/thumb-key/blob/main/generate_changelog.sh. |
I spose I just need to make sure that file is added to git then. I'll try that for the next release. |
Why did |
difflog: |
I'm not sure how to read these, but it says that even things like ArrayList differ. |
Is there anything that somebody with zero knowledge of Android coding can do to help here? The version on F-droid is lagging behind of more than 10 releases, and some critical bugs (like missing of letters from some layout) are still plaguing F-droid users... 😿 |
I keep building newer versions locally, no success yet. will rebuild latest asap |
new difflog: |
Nice. Again I wish I knew what causes these. |
It fixed itself and we have no idea why lol. I'll take it. |
Don't jinx it now :) |
Not even a dep update with that one 🤷 |
I'am just keeping you |
@dessalines pls always build APK from Tagged commit, eg. https://github.com/dessalines/thumb-key/releases/tag/3.1.0 -> 1abe5ce else https://gitlab.com/fdroid/fdroiddata/-/jobs/6702007748#L1257 not to mention that the commit is the one with the right versionCode and Name :( /LE: fyi https://gitlab.com/fdroid/fdroiddata/-/commit/a5c31f0211a2e46bff69c8b311aff68a614aca08 |
Oops my bad. I'll reupload another one shortly. Also:
|
diff.zip
Could you please take a look? Thanks!
The text was updated successfully, but these errors were encountered: