aurupdater

adtpro-git

Build times (auto-updated)


ant/JDK provider mismatch (found 2026-10-05, NOT fixed – needs a decision)

Rebuild during a full -git batch pass failed in build() (ant all):

java.lang.NoClassDefFoundError: .../ExitStatusException
Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.ExitStatusException

ant (extra, 1.10.17-1) depends on the virtual package java-environment, which is ambiguous in this tree: besides the normal OpenJDK providers in extra (jdk-openjdk/11/17/21/25), our own archlinuxaba/jdk10 ([[jdk10]], Oracle JDK 10, EOL) also provides java-environment=10 (versioned provide). The clean chroot picked jdk10 (log: “JDK 10 set as default Java environment”), and modern Ant 1.10.17’s launcher then fails to classload its own ExitStatusException under that ancient JVM – version mismatch between current Ant and jdk10, not an adtpro-specific bug.

Likely fix: add a concrete modern JDK (e.g. jdk21-openjdk) to adtpro-git’s own makedepends, ahead of ant, so java-environment is already satisfied by the time ant installs and the ambiguous provider resolution never happens. Packaging-only, would be pkgrel 2 -> 3. Not applied – counts as a non-routine PKGBUILD change ([[feedback_ask_before_nonroutine_pkgbuild_changes]]), left for the user to confirm. Worth checking whether any other ant-dependent package in this tree hits the same jdk10 tie-break.