SimpMusic icon indicating copy to clipboard operation
SimpMusic copied to clipboard

F-Droid can't build

Open licaon-kter opened this issue 2 months ago • 4 comments

Duplicate Check

  • [x] I confirm I searched for existing reports and found no duplicates.

Describe the Bug

https://gitlab.com/fdroid/checkupdates-bot-fdroiddata/-/jobs/16357583115#L623

Steps to Reproduce

Expected Behavior

App Version

Android Version

Device Model

Custom ROM

  • [ ] I am using a custom ROM

Custom ROM Name (if applicable)

No response

Screenshots (optional)

No response

Log / Error Details

No response

licaon-kter avatar Sep 08 '26 08:09 licaon-kter

Hi, I will check this log

maxrave-dev avatar Sep 08 '26 09:09 maxrave-dev

I went through the job log and the repo: this isn't something to fix in fdroiddata, the fix is already on dev but hasn't been released yet. What fails: the build is for tag v2.1.0 (commit f26622b, versionCode 58). At that tag gradle/libs.versions.toml pins compottie = "2.2.2-compose-1.12-SNAPSHOT", a custom snapshot on Sonatype's snapshot repo (settings.gradle.kts at the tag declares https://central.sonatype.com/repository/maven-snapshots/ for it; F-Droid's prebuild sed leaves that line alone). That snapshot no longer exists: .../compottie/2.2.2-compose-1.12-SNAPSHOT/maven-metadata.xml returns 404 and the artifact's maven-metadata.xml only lists 2.2.4-compose-1.12-SNAPSHOT now. Sonatype rotates snapshots, so any tag pinned to one of them stops building sooner or later. No stable compottie release is a drop-in either: 2.2.x/2.3.x are built against skiko 0.144, and the project is on 0.148.1 (the haze pin).

What already fixes it: d225d53f (2026-09-10, on dev) drops compottie entirely and hand-draws the two playback indicators. Current dev has no compottie reference and no snapshot repo.

So the missing piece is a release tag from dev (anything at or after d225d53f). The F-Droid metadata is AutoUpdateMode: Version / UpdateCheckMode: Tags, so the checkupdates bot will pick the new tag up on its own, exactly like it did for 2.1.0. Until then F-Droid users stay on 2.0.0.

Minor leftovers from the removal, if you want them gone: dead -keep/-dontwarn rules for io.github.alexzhirkevich.compottie in composeApp/proguard-desktop-rules.pro, and composeResources/files/aboutlibraries.json still lists compottie. Happy to send a small cleanup PR, but it is not needed for the F-Droid build.

Me-xico avatar Sep 16 '26 17:09 Me-xico

@licaon-kter Fixed in next version, v2.2.0, I removed compttie lib

maxrave-dev avatar Sep 21 '26 03:09 maxrave-dev

thanks

licaon-kter avatar Sep 29 '26 14:09 licaon-kter