Here's a debdiff for re-adding the default-jdk build dependency.
diff -Nru gdcm-3.0.24/debian/changelog gdcm-3.0.24/debian/changelog --- gdcm-3.0.24/debian/changelog 2024-09-14 14:36:50.000000000 +0200 +++ gdcm-3.0.24/debian/changelog 2025-01-21 15:28:46.000000000 +0100 @@ -1,3 +1,9 @@ +gdcm (3.0.24-6) unstable; urgency=medium + + * Build depends on default-jdk, not default-jdk-headless (Closes: #1093693). + + -- Alessandro Astone <alessandro.ast...@canonical.com> Tue, 21 Jan 2025 15:28:46 +0100 + gdcm (3.0.24-5) unstable; urgency=medium * Team upload. diff -Nru gdcm-3.0.24/debian/control gdcm-3.0.24/debian/control --- gdcm-3.0.24/debian/control 2024-09-14 14:36:50.000000000 +0200 +++ gdcm-3.0.24/debian/control 2025-01-21 15:28:41.000000000 +0100 @@ -8,7 +8,7 @@ Build-Depends: castxml, cmake, debhelper-compat (= 13), - default-jdk-headless [!hppa !hurd-any !kfreebsd-any], + default-jdk [!hppa !hurd-any !kfreebsd-any], dh-sequence-python3, dh-strip-nondeterminism, docbook-xsl-ns,