From: Vladimir Petko Date: Thu, 23 Oct 2025 10:14:51 +0000 (+0200) Subject: [Ubuntu 25.10] openjdk fails to build due to rust-coreutils date X-Git-Tag: archive/raspbian/21.0.9+10-1_deb13u1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5fa9fb5c260ce85cc64f9eac8137ee9775bc6258;p=openjdk-21.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 92a4582ec..3ad7d778b 100644 --- a/make/autoconf/basic_tools.m4 +++ b/make/autoconf/basic_tools.m4 @@ -378,7 +378,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