From: Vladimir Petko Date: Thu, 23 Oct 2025 10:33:48 +0000 (+0200) Subject: [Ubuntu 25.10] openjdk fails to build due to rust-coreutils date X-Git-Tag: archive/raspbian/17.0.17+10-1_deb12u1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=876a7780d61cc8377158f4835b4bebb0bb7ce1f7;p=openjdk-17.git [Ubuntu 25.10] openjdk fails to build due to rust-coreutils date Origin: upstream, https://github.com/openjdk/jdk/pull/27705 Bug: https://bugs.openjdk.org/browse/JDK-8369450 Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/openjdk-25/+bug/2127120 Last-Update: 2025-10-09 Add uutils as a GNU-compatible date provider. Gbp-Pq: Name jdk-8369450-proposed.patch --- diff --git a/make/autoconf/basic_tools.m4 b/make/autoconf/basic_tools.m4 index 8c518d05d..07aa832d1 100644 --- a/make/autoconf/basic_tools.m4 +++ b/make/autoconf/basic_tools.m4 @@ -373,7 +373,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS], # Check if it's a GNU date compatible version AC_MSG_CHECKING([if date is a GNU compatible version]) - check_date=`$DATE --version 2>&1 | $GREP "GNU\|BusyBox"` + check_date=`$DATE --version 2>&1 | $GREP "GNU\|BusyBox\|uutils"` if test "x$check_date" != x; then AC_MSG_RESULT([yes]) IS_GNU_DATE=yes