package/coreutils: bump version to 9.8
PATCH v2 1/1 package/coreutils: bump version to 9.8
Release notes:
https://lists.gnu.org/archive/html/coreutils-announce/2025-01/msg00000.html
https://lists.gnu.org/archive/html/coreutils-announce/2025-04/msg00000.html
https://lists.gnu.org/archive/html/coreutils-announce/2025-09/msg00000.html
Removed patch which is included in this release.
Added tarball hashes provided by upstream.
With the bump to 9.8, the build will fail on systems that are not Y2038, such as some uClibc configurations.
In order to preserve the previous behavior, pass --disable-year2038. See the gnulib documentation for details [1]. Contrary to what the option name might suggest, it doesn't really disable Y2038 support, but only the check that the system is Y2038 compliant. So even with --disable-year2038, if the system is Y2038 compliant (uses a 64-bit arch, uses the musl C library, or uses the glibc C library with BR2_TIME_BITS_64=y), tar will be Y2038 compliant.
[1] https://www.gnu.org/software/gnulib/manual/html_node/Avoiding-the-year-2038-problem.html
---
v2:
- added release notes (Julien)
- added tarball hashes provided by upstream
- added --disable-year2038 to _CONF_OPTS (Julien)
...001-coreutils-mcel-port-to-uClibc-ng.patch | 35 ------------------- package/coreutils/coreutils.hash | 5 +-- package/coreutils/coreutils.mk | 6 +++- 3 files changed, 8 insertions(+), 38 deletions(-) delete mode 100644 package/coreutils/0001-coreutils-mcel-port-to-uClibc-ng.patch
package/coreutils/0001-coreutils-mcel-port-to-uClibc-ng.patch deleted +0 -35
@@ -1,35 +0,0 @@ -From c4e923a98f34fe5f5ec3b49543e90716ec2a45fc Mon Sep 17 00:00:00 2001 -From: Jean-Michel Hautbois <[email protected]> -Date: Tue, 24 Sep 2024 18:08:31 +0200 -Subject: [PATCH] coreutils: mcel: port to uClibc-ng -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Problem reported by Waldemar Brodkorb in: -https://lists.gnu.org/r/bug-gnulib/2024-08/msg00130.html -* lib/mcel.h (mcel_scan): Don't treat uClibc-ng like glibc. - -Upstream: https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=9765bc796b3e6ceaa7a10ba07c9c2f1e272a4249 -Signed-off-by: Jean-Michel Hautbois <[email protected]> ---- - lib/mcel.h | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/lib/mcel.h b/lib/mcel.h -index f6f006c..dca4d08 100644 ---- a/lib/mcel.h -+++ b/lib/mcel.h -@@ -221,7 +221,8 @@ mcel_scan (char const *p, char const *lim) - - /* An initial mbstate_t; initialization optimized for some platforms. - For details about these and other platforms, see wchar.in.h. */ --#if defined __GLIBC__ && 2 < __GLIBC__ + (2 <= __GLIBC_MINOR__) -+#if (defined __GLIBC__ && 2 < __GLIBC__ + (2 <= __GLIBC_MINOR__) \ -+ && !defined __UCLIBC__) - /* Although only a trivial optimization, it's worth it for GNU. */ - mbstate_t mbs; mbs.__count = 0; - #elif (defined __FreeBSD__ || defined __DragonFly__ || defined __OpenBSD__ \ --- -2.39.2 -
package/coreutils/coreutils.hash +3 -2
@@ -1,4 +1,5 @@ -# Locally calculated after checking pgp signature -sha256 cd328edeac92f6a665de9f323c93b712af1858bc2e0d88f3f7100469470a1b8a coreutils-9.5.tar.xz +# From https://lists.gnu.org/archive/html/coreutils-announce/2025-09/msg00000.html +sha1 a6a58e00688fe0705a7051b36592f1e43e89a9ef coreutils-9.8.tar.xz +sha256 e6d4fd2d852c9141a1c2a18a13d146a0cd7e45195f72293a4e4c044ec6ccca15 coreutils-9.8.tar.xz # Locally computed sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING
package/coreutils/coreutils.mk +5 -1
@@ -4,14 +4,18 @@ # ################################################################################ -COREUTILS_VERSION = 9.5 +COREUTILS_VERSION = 9.8 COREUTILS_SITE = $(BR2_GNU_MIRROR)/coreutils COREUTILS_SOURCE = coreutils-$(COREUTILS_VERSION).tar.xz COREUTILS_LICENSE = GPL-3.0+ COREUTILS_LICENSE_FILES = COPYING COREUTILS_CPE_ID_VENDOR = gnu +# --disable-year2038: tells the configure script to not abort if the +# system is not Y2038 compliant. util-linux-libs will support year2038 +# if the system is compliant even with this option passed COREUTILS_CONF_OPTS = --disable-rpath \ + --disable-year2038 \ $(if $(BR2_TOOLCHAIN_USES_MUSL),--with-included-regex) ifeq ($(BR2_PACKAGE_COREUTILS_INDIVIDUAL_BINARIES),y)
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 20 lines · Bernd Kuhls
Release notes:
https://lists.gnu.org/archive/html/coreutils-announce/2025-01/msg00000.html
https://lists.gnu.org/archive/html/coreutils-announce/2025-04/msg00000.html
https://lists.gnu.org/archive/html/coreutils-announce/2025-09/msg00000.htmlRemoved patch which is included in this release.
Added tarball hashes provided by upstream.
With the bump to 9.8, the build will fail on systems that are not Y2038, such as some uClibc configurations.
In order to preserve the previous behavior, pass --disable-year2038. See the gnulib documentation for details [1]. Contrary to what the option name might suggest, it doesn't really disable Y2038 support, but only the check that the system is Y2038 compliant. So even with --disable-year2038, if the system is Y2038 compliant (uses a 64-bit arch, uses the musl C library, or uses the glibc C library with BR2_TIME_BITS_64=y), tar will be Y2038 compliant.
Quoted 3 lines
[1] https://www.gnu.org/software/gnulib/manual/html_node/Avoiding-the-year-2038-problem.html
Signed-off-by Bernd Kuhls <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot