The difference is in this (from the i386 build in unstable) ========== stamps/configure ========== mkdir -p bin command -v autoconf /usr/bin/autoconf /bin/uname -a Linux sbuild 6.1.0-33-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.133-1 (2025-04-10) i686 GNU/Linux lsb_release -a Distributor ID: Debian Description: Debian GNU/Linux trixie/sid Release: n/a Codename: trixie
In our builds, the last line would be: Codename: sid The other openjdk-2* packages have a different comparison in debian/rules line 165 (well, or close to that line) to select the jtreg package to compare to, which doesn't include `sid` but only bookworm and bullseye - which makes them select jtreg7 to query dpkg for later on - and the builds in Debian itself apparently also correctly select jtreg7 because the codename is (somewhat incorrectly?) set to `trixie`. I'd appreciate if you could remove sid from that line in the openjdk-21 package. To Debian builds, it obviously doesn't matter (because the codename in unstable builds is set to trixie), but for anyone attempting a build on a system that has Codename:sid, it would.

