From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 06 Jan 2023 17:03:00 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pDpBN-003d4N-Es for lore@lore.pengutronix.de; Fri, 06 Jan 2023 17:03:00 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1pDpBM-0000RG-6D; Fri, 06 Jan 2023 17:03:00 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pDp9t-00043W-96; Fri, 06 Jan 2023 17:01:29 +0100 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1pDp9s-004Er2-Jg; Fri, 06 Jan 2023 17:01:28 +0100 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1pDp9r-00Cu89-UF; Fri, 06 Jan 2023 17:01:27 +0100 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 6 Jan 2023 17:01:27 +0100 Message-Id: <20230106160127.3075658-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230104124807.3092166-1-christian.melki@t2data.com> References: <20230104124807.3092166-1-christian.melki@t2data.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] coreutils: Version bump. 8.32 -> 9.1 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Christian Melki Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 21f1faaf7398b5d3313d75cdfb863bcf661b5c94. Michael [sent from post-receive hook] On Fri, 06 Jan 2023 17:01:27 +0100, Christian Melki wrote: > https://github.com/coreutils/coreutils/blob/ca22b9eba09feae9ad5c8105c37e2ae5fb9abbb2/NEWS > A bunch of bugfixes, some new shiny features, but no new programs afaics. > > * Remove patch, as that behavior is included in 9.1 > * Remove prepare text, not sure what copying parts of configure was useful for? > * Fix collision with busybox (1.36.0) TSORT. > * configure option gpm has been renamed to libgmp. > > Signed-off-by: Christian Melki > Message-Id: <20230104124807.3092166-1-christian.melki@t2data.com> > Signed-off-by: Michael Olbrich > > diff --git a/patches/coreutils-8.32/0001-ls-restore-8.31-behavior-on-removed-directories.patch b/patches/coreutils-8.32/0001-ls-restore-8.31-behavior-on-removed-directories.patch > deleted file mode 100644 > index a558a13d5c98..000000000000 > --- a/patches/coreutils-8.32/0001-ls-restore-8.31-behavior-on-removed-directories.patch > +++ /dev/null > @@ -1,113 +0,0 @@ > -From: Paul Eggert > -Date: Thu, 5 Mar 2020 17:25:29 -0800 > -Subject: [PATCH] ls: restore 8.31 behavior on removed directories > - > -* NEWS: Mention this. > -* src/ls.c: Do not include > -(print_dir): Don't worry about whether the directory is removed. > -* tests/ls/removed-directory.sh: Adjust to match new (i.e., old) > -behavior. > ---- > - NEWS | 6 ++++++ > - src/ls.c | 22 ---------------------- > - tests/ls/removed-directory.sh | 10 ++-------- > - 3 files changed, 8 insertions(+), 30 deletions(-) > - > -diff --git a/NEWS b/NEWS > -index 3e44c0c5a1f0..0f0612aa65d2 100644 > ---- a/NEWS > -+++ b/NEWS > -@@ -5045,6 +5045,12 @@ point at which the packages merged to form the coreutils: > - > - * --full-time is now an alias for "-l --time-style=full-iso". > - > -+** Changes in behavior > -+ > -+ On GNU/Linux systems, ls no longer issues an error message on > -+ directory merely because it was removed. This reverts a change > -+ that was made in release 8.32. > -+ > - > - ======================================================================== > - Here are the NEWS entries made from sh-utils-2.0 until the > -diff --git a/src/ls.c b/src/ls.c > -index 24b983287dfc..4acf5f44d969 100644 > ---- a/src/ls.c > -+++ b/src/ls.c > -@@ -49,10 +49,6 @@ > - # include > - #endif > - > --#ifdef __linux__ > --# include > --#endif > -- > - #include > - #include > - #include > -@@ -2896,7 +2892,6 @@ print_dir (char const *name, char const *realname, bool command_line_arg) > - struct dirent *next; > - uintmax_t total_blocks = 0; > - static bool first = true; > -- bool found_any_entries = false; > - > - errno = 0; > - dirp = opendir (name); > -@@ -2972,7 +2967,6 @@ print_dir (char const *name, char const *realname, bool command_line_arg) > - next = readdir (dirp); > - if (next) > - { > -- found_any_entries = true; > - if (! file_ignored (next->d_name)) > - { > - enum filetype type = unknown; > -@@ -3018,22 +3012,6 @@ print_dir (char const *name, char const *realname, bool command_line_arg) > - if (errno != EOVERFLOW) > - break; > - } > --#ifdef __linux__ > -- else if (! found_any_entries) > -- { > -- /* If readdir finds no directory entries at all, not even "." or > -- "..", then double check that the directory exists. */ > -- if (syscall (SYS_getdents, dirfd (dirp), NULL, 0) == -1 > -- && errno != EINVAL) > -- { > -- /* We exclude EINVAL as that pertains to buffer handling, > -- and we've passed NULL as the buffer for simplicity. > -- ENOENT is returned if appropriate before buffer handling. */ > -- file_failure (command_line_arg, _("reading directory %s"), name); > -- } > -- break; > -- } > --#endif > - else > - break; > - > -diff --git a/tests/ls/removed-directory.sh b/tests/ls/removed-directory.sh > -index e8c835dabfcc..fe8f929a194b 100755 > ---- a/tests/ls/removed-directory.sh > -+++ b/tests/ls/removed-directory.sh > -@@ -26,20 +26,14 @@ case $host_triplet in > - *) skip_ 'non linux kernel' ;; > - esac > - > --LS_FAILURE=2 > -- > --cat <<\EOF >exp-err || framework_failure_ > --ls: reading directory '.': No such file or directory > --EOF > -- > - cwd=$(pwd) > - mkdir d || framework_failure_ > - cd d || framework_failure_ > - rmdir ../d || framework_failure_ > - > --returns_ $LS_FAILURE ls >../out 2>../err || fail=1 > -+ls >../out 2>../err || fail=1 > - cd "$cwd" || framework_failure_ > - compare /dev/null out || fail=1 > --compare exp-err err || fail=1 > -+compare /dev/null err || fail=1 > - > - Exit $fail > diff --git a/patches/coreutils-8.32/series b/patches/coreutils-8.32/series > deleted file mode 100644 > index 4d68683dcc9a..000000000000 > --- a/patches/coreutils-8.32/series > +++ /dev/null > @@ -1,4 +0,0 @@ > -# generated by git-ptx-patches > -#tag:base --start-number 1 > -0001-ls-restore-8.31-behavior-on-removed-directories.patch > -# c799e1eabffd5023beede5f24bad828d - git-ptx-patches magic > diff --git a/rules/coreutils.in b/rules/coreutils.in > index d24bbb9493ca..8be872056563 100644 > --- a/rules/coreutils.in > +++ b/rules/coreutils.in > @@ -302,6 +302,10 @@ comment "busybox' mknod is selected!" > config COREUTILS_TSORT > bool > prompt "tsort" > + depends on !BUSYBOX_TSORT || ALLYES > + > +comment "busybox' tsort is selected!" > + depends on BUSYBOX_TSORT > > config COREUTILS_MKTEMP > bool > diff --git a/rules/coreutils.make b/rules/coreutils.make > index e34c39d7465e..b10738d5d507 100644 > --- a/rules/coreutils.make > +++ b/rules/coreutils.make > @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_COREUTILS) += coreutils > # > # Paths and names > # > -COREUTILS_VERSION := 8.32 > -COREUTILS_MD5 := 022042695b7d5bcf1a93559a9735e668 > +COREUTILS_VERSION := 9.1 > +COREUTILS_MD5 := 8b1ca4e018a7dce9bb937faec6618671 > COREUTILS := coreutils-$(COREUTILS_VERSION) > COREUTILS_SUFFIX := tar.xz > COREUTILS_URL := $(call ptx/mirror, GNU, coreutils/$(COREUTILS).$(COREUTILS_SUFFIX)) > @@ -28,29 +28,6 @@ COREUTILS_LICENSE_FILES := file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464 > # Prepare > # ---------------------------------------------------------------------------- > > -# --enable-install-program=PROG_LIST > -# install the programs in PROG_LIST (comma-separated, > -# default: none) > -# --enable-no-install-program=PROG_LIST > -# do NOT install the programs in PROG_LIST > -# (comma-separated, default: arch,hostname,su) > -# --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib > -# --without-libiconv-prefix don't search for libiconv in includedir and libdir > -# --with-libpth-prefix[=DIR] search for libpth in DIR/include and DIR/lib > -# --without-libpth-prefix don't search for libpth in includedir and libdir > -# --without-included-regex > -# don't compile regex; this is the default on systems > -# with recent-enough versions of the GNU C Library > -# (use with caution on other systems). > -# --with-packager String identifying the packager of this software > -# --with-packager-version Packager-specific version information > -# --with-packager-bug-reports > -# Packager info for bug reports (URL/e-mail/...) > -# --without-gmp do not use the GNU MP library for arbitrary > -# precision calculation (default: use it if available) > -# --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib > -# --without-libintl-prefix don't search for libintl in includedir and libdir > - > COREUTILS_INST- = > COREUTILS_INST-y = > COREUTILS_INST-$(PTXCONF_COREUTILS_BASE64) += base64 > @@ -178,7 +155,7 @@ COREUTILS_CONF_OPT := \ > --without-openssl \ > --$(call ptx/wwo, PTXCONF_GLOBAL_SELINUX)-selinux \ > --with-tty-group=tty \ > - --without-gmp > + --without-libgmp > > COREUTILS_MAKE_OPT := \ > man1_MANS=