menza icon indicating copy to clipboard operation
menza copied to clipboard

F-Droid can't build

Open licaon-kter opened this issue 1 year ago • 14 comments

..a.s apparently Java21 is needed now: https://gitlab.com/fdroid/fdroiddata/-/jobs/6000071270#L332

Since we are based on Debian oldstable and soon stable, we can't provide that (yet): https://packages.debian.org/search?suite=all&section=all&arch=amd64&searchon=names&keywords=openjdk-21 but just 11 and 17

/LE: fyi https://gitlab.com/fdroid/fdroiddata/-/commit/493e751e415d5cc3877f9a2eaf079a38e8157cf6

licaon-kter avatar Jan 24 '24 13:01 licaon-kter

So it will take ~2 years for you to support Java 21, right? I'll either switch back to Java 17, or try to consider IzzyOnDroid for now (probably the first one). Thanks for letting me know!

Lastaapps avatar Jan 24 '24 15:01 Lastaapps

Which great feature(s) do you use that's (only) in 21?

licaon-kter avatar Jan 24 '24 15:01 licaon-kter

I only saw one article with comparison how Java 21 improves build times. But mostly it's just my weird need while doing an over-engined student project to use all the most recent/alpha technologies possible. So it will hurt my ego a little, but I'll downgrade to Java 17, it will not cause any troubles to the code itself. 😅

Lastaapps avatar Jan 24 '24 15:01 Lastaapps

Ping us when ready :)

licaon-kter avatar Jan 24 '24 15:01 licaon-kter

🔔🔔🔔

Should be fine hopefully

Lastaapps avatar Jan 24 '24 15:01 Lastaapps

thanks https://gitlab.com/fdroid/fdroiddata/-/commit/7dd16b36c78dbcb456b0a12d9ef5973c469ac4d7

licaon-kter avatar Jan 24 '24 15:01 licaon-kter

Is gradle 9.0.0-rc-3 really really needed?

We tend to have stable versions available

licaon-kter avatar Jul 27 '25 06:07 licaon-kter

Hi, I have it just for the "flex" (being ready for the future). But no code changes except the gradle version itself are needed on my side, so I'll downgrade back to 8.14.x in the afternoon. Thanks for the notice.

Lastaapps avatar Jul 27 '25 09:07 Lastaapps

We've done the same for our recipe: https://gitlab.com/fdroid/fdroiddata/-/merge_requests/25304/diffs#91e07fc3d408d38f94cb067041c547b49bde182d_237_243

licaon-kter avatar Jul 27 '25 09:07 licaon-kter

So I do not need to do anything now, right?

Lastaapps avatar Jul 27 '25 09:07 Lastaapps

Not today, but ping us on the next release so we remove the fix

licaon-kter avatar Jul 27 '25 15:07 licaon-kter

Hi, I just pushed a new version that uses Gradle 9.1.0, I'll create a release in few mins — your temp fix can be removed. Thanks for it.

Lastaapps avatar Sep 28 '25 21:09 Lastaapps

AGP 8.12.x/8.13.0 doesn't work on the buildserver. See https://gitlab.com/fdroid/admin/-/issues/593 for more details. Could you please downgrade AGP to 8.11.1? Thanks!

licaon-kter avatar Sep 28 '25 22:09 licaon-kter

This release is just a minor one, I would rather ship this one and wait for the issue to get resolved on your side. Unless this causes red lights blinking at your dashboards all the time. My next release will take quite some time to come out, so this can wait.

Lastaapps avatar Sep 29 '25 18:09 Lastaapps