Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2021-11-11 21:36:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and      /work/SRC/openSUSE:Factory/.coreutils.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "coreutils"

Thu Nov 11 21:36:23 2021 rev:142 rq:930890 version:9.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes      2021-11-10 
21:49:26.651889790 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new.1890/coreutils.changes    
2021-11-11 21:36:33.724894781 +0100
@@ -1,0 +2,184 @@
+Mon Oct  4 22:15:01 UTC 2021 - Bernhard Voelker <m...@bernhard-voelker.de>
+
+- coreutils-i18n.patch: Re-sync the patch with Fedora.
+  Refresh the patch, adding a hunk to link the expand+unexpand tools
+  against lib/mbfile.c, thus fixing build problems with clang
+  (see https://src.fedoraproject.org/rpms/coreutils/c/f4a53e34).
+
+-------------------------------------------------------------------
+Fri Oct  1 19:38:16 UTC 2021 - Dirk M??ller <dmuel...@suse.com>
+
+- spec file cleanups (spec-cleaner run) 
+
+-------------------------------------------------------------------
+Thu Sep 30 18:41:30 UTC 2021 - Bernhard Voelker <m...@bernhard-voelker.de>
+
+- coreutils-skip-tests-rm-ext3-perf.patch: Add patch to skip the test
+  'tests/rm/ext3-perf.sh' temporarily as it hangs on OBS.
+
+-------------------------------------------------------------------
+Sun Sep 26 15:15:00 UTC 2021 - Bernhard Voelker <m...@bernhard-voelker.de>
+
+- Update to 9.0:
+  * Noteworthy changes in release 9.0 (2021-09-24) [stable]
+
+  ** Bug fixes
+
+  chmod -v no longer misreports modes of dangling symlinks.
+  [bug introduced in coreutils-5.3.0]
+
+  cp -a --attributes-only now never removes destination files,
+  even if the destination files are hardlinked, or the source
+  is a non regular file.
+  [bug introduced in coreutils-8.6]
+
+  csplit --suppress-matched now elides the last matched line
+  when a specific number of pattern matches are performed.
+  [bug introduced with the --suppress-matched feature in coreutils-8.22]
+
+  df no longer outputs duplicate remote mounts in the presence of bind mounts.
+  [bug introduced in coreutils-8.26]
+
+  df no longer mishandles command-line args that it pre-mounts
+  [bug introduced in coreutils-8.29]
+
+  du no longer crashes on XFS file systems when the directory hierarchy is
+  heavily changed during the run.
+  [bug introduced in coreutils-8.25]
+
+  env -S no longer crashes when given unusual whitespace characters
+  [bug introduced in coreutils-8.30]
+
+  expr no longer mishandles unmatched \(...\) in regular expressions.
+  [bug introduced in coreutils-6.0]
+
+  ls no longer crashes when printing the SELinux context for unstatable files.
+  [bug introduced in coreutils-6.9.91]
+
+  mkdir -m no longer mishandles modes more generous than the umask.
+  [bug introduced in coreutils-8.22]
+
+  nl now handles single character --section-delimiter arguments,
+  by assuming a second ':' character has been specified, as specified by POSIX.
+  [This bug was present in "the beginning".]
+
+  pr again adjusts tabs in input, to maintain alignment in multi column output.
+  [bug introduced in coreutils-6.9]
+
+  rm no longer skips an extra file when the removal of an empty directory 
fails.
+  [bug introduced by the rewrite to use fts in coreutils-8.0]
+
+  split --number=K/N will again correctly split chunk K of N to stdout.
+  Previously a chunk starting after 128KiB, output the wrong part of the file.
+  [bug introduced in coreutils-8.26]
+
+  tail -f no longer overruns a stack buffer when given too many files
+  to follow and ulimit -n exceeds 1024.
+  [bug introduced in coreutils-7.5]
+
+  tr no longer crashes when using --complement with certain
+  invalid combinations of case character classes.
+  [bug introduced in coreutils-8.6]
+
+  basenc --base64 --decode no longer silently discards decoded characters
+  on (1024*5) buffer boundaries
+  [bug introduced in coreutils-8.31]
+
+  ** Changes in behavior
+
+  cp and install now default to copy-on-write (COW) if available.
+
+  cp, install and mv now use the copy_file_range syscall if available.
+  Also, they use lseek+SEEK_HOLE rather than ioctl+FS_IOC_FIEMAP on sparse
+  files, as lseek is simpler and more portable.
+
+  On GNU/Linux systems, ls no longer issues an error message on a
+  directory merely because it was removed.  This reverts a change
+  that was made in release 8.32.
+
+  ptx -T no longer attempts to substitute old-fashioned TeX escapes
+  for 8-bit non-ASCII alphabetic characters.  TeX indexes should
+  instead use '\usepackage[latin1]{inputenc}' or equivalent.
+
+  stat will use decomposed (major,minor) device numbers in its default format.
+  This is less ambiguous, and more consistent with ls.
+
+  sum [-r] will output a file name, even if only a single name is passed.
+  This is consistent with sum -s, cksum, and other sum(1) implementations.
+
+  ** New Features
+
+  cksum now supports the -a (--algorithm) option to select any
+  of the existing sum, md5sum, b2sum, sha*sum implementations etc.
+  cksum now subsumes all of these programs, and coreutils
+  will introduce no future standalone checksum utility.
+
+  cksum -a now supports the 'sm3' argument, to use the SM3 digest algorithm.
+
+  cksum --check now supports auto detecting the digest type to use,
+  when verifying tagged format checksums.
+
+  expr and factor now support bignums on all platforms.
+
+  ls --classify now supports the "always", "auto", or "never" flags,
+  to support only outputting classifier characters if connected to a tty.
+
+  ls now accepts the --sort=width option, to sort by file name width.
+  This is useful to more compactly organize the default vertical column output.
+
+  ls now accepts the --zero option, to terminate each output line with
+  NUL instead of newline.
+
+  nl --line-increment can now take a negative number to decrement the count.
+
+  stat supports more formats for representing decomposed device numbers.
+  %Hd,%Ld and %Hr,%Lr will output major,minor device numbers and device types
+  respectively.  %d corresponds to st_dev and %r to std_rdev.
+
+  ** Improvements
+
+  cat --show-ends will now show \r\n as ^M$.  Previously the \r was taken
+  literally, thus overwriting the first character in the line with '$'.
+
+  cksum [-a crc] is now up to 4 times faster by using a slice by 8 algorithm,
+  and at least 8 times faster where pclmul instructions are supported.
+  A new --debug option will indicate if pclmul is being used.
+
+  md5sum --check now supports checksum files with CRLF line endings.
+  This also applies to cksum, sha*sum, and b2sum.
+
+  df now recognizes these file systems as remote:
+  acfs, coda, fhgfs, gpfs, ibrix, ocfs2, and vxfs.
+
+  rmdir now clarifies the error if a symlink_to_dir/ has not been traversed.
+  This is the case on GNU/Linux systems, where the trailing slash is ignored.
+
+  stat and tail now know about the "devmem", "exfat", "secretmem", "vboxsf",
+  and "zonefs" file system types.  stat -f -c%T now reports the file system
+  type, and tail -f uses polling for "vboxsf" and inotify for the others.
+
+  timeout now supports sub-second timeouts on macOS.
+
+  wc is up to 5 times faster when counting only new line characters,
+  where avx2 instructions are supported.
+  A new --debug option will indicate if avx2 is being used.
+
+- Remove patches which are included in the new upstream version now:
+  * coreutils-gnulib-disable-test-float.patch
+  * coreutils-ls-restore-8.31-behavior-on-removed-dirs.patch
+  * coreutils-tests-fix-FP-in-ls-stat-free-color.patch
+  * gnulib-test-avoid-FP-perror-strerror.patch
+
+- coreutils-i18n.patch: Refresh patch.  Also patch 'tests/Coreutils.pm' used
+  by perl-based tests to allow longer test names ... which the i18n tests with
+  their "-mb" suffix have.
+
+- coreutils-chmod-fix-exit-status-ign-symlinks.patch: Add upstream patch to
+  fix a regression with the exit code of chmod introduced in 9.0.
+
+- coreutils.spec:
+  * Version: bump version.
+  * Remove the above removed patches.
+  * Reference the above new patch.
+
+-------------------------------------------------------------------

Old:
----
  coreutils-8.32.tar.xz
  coreutils-8.32.tar.xz.sig
  coreutils-gnulib-disable-test-float.patch
  coreutils-ls-restore-8.31-behavior-on-removed-dirs.patch
  coreutils-tests-fix-FP-in-ls-stat-free-color.patch
  gnulib-test-avoid-FP-perror-strerror.patch

New:
----
  coreutils-9.0.tar.xz
  coreutils-9.0.tar.xz.sig
  coreutils-chmod-fix-exit-status-ign-symlinks.patch
  coreutils-skip-tests-rm-ext3-perf.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ coreutils.spec ++++++
--- /var/tmp/diff_new_pack.Ki6Pzg/_old  2021-11-11 21:36:34.404895277 +0100
+++ /var/tmp/diff_new_pack.Ki6Pzg/_new  2021-11-11 21:36:34.408895280 +0100
@@ -1,5 +1,5 @@
 #
-# spec file for package coreutils%{?name_suffix}
+# spec file
 #
 # Copyright (c) 2021 SUSE LLC
 #
@@ -16,27 +16,54 @@
 #
 
 
-%bcond_with ringdisabled
-
 # there are more fancy ways to define a package name using magic
 # macros but OBS and the bots that rely on parser information from
 # OBS can't deal with all of them
 %define flavor @BUILD_FLAVOR@%{nil}
+%bcond_with ringdisabled
 %if "%{flavor}" != ""
 %define name_suffix -%{flavor}
 %if %{with ringdisabled}
 ExclusiveArch:  do_not_build
 %endif
 %endif
-
 Name:           coreutils%{?name_suffix}
+Version:        9.0
+Release:        0
 Summary:        GNU Core Utilities
 License:        GPL-3.0-or-later
 Group:          System/Base
 URL:            https://www.gnu.org/software/coreutils/
-Version:        8.32
-Release:        0
-
+Source0:        https://ftp.gnu.org/gnu/coreutils/coreutils-%{version}.tar.xz
+Source1:        
https://ftp.gnu.org/gnu/coreutils/coreutils-%{version}.tar.xz.sig
+Source2:        
https://savannah.gnu.org/project/release-gpgkeys.php?group=coreutils&download=1&file=./coreutils.keyring
+Source3:        baselibs.conf
+Patch1:         coreutils-remove_hostname_documentation.patch
+Patch3:         coreutils-remove_kill_documentation.patch
+Patch4:         coreutils-i18n.patch
+Patch8:         coreutils-sysinfo.patch
+Patch16:        coreutils-invalid-ids.patch
+# OBS / RPMLINT require /usr/bin/timeout to be built with the -fpie option.
+Patch100:       coreutils-build-timeout-as-pie.patch
+# There is no network in the build root so make the test succeed
+Patch112:       coreutils-getaddrinfo.patch
+# Assorted fixes
+Patch113:       coreutils-misc.patch
+# Skip 2 valgrind'ed sort tests on ppc/ppc64 which would fail due to
+# a glibc issue in mkstemp.
+Patch300:       coreutils-skip-some-sort-tests-on-ppc.patch
+Patch301:       coreutils-skip-gnulib-test-tls.patch
+# tests: shorten extreme-expensive factor tests
+Patch303:       coreutils-tests-shorten-extreme-factor-tests.patch
+# Stop using Python 2.x
+Patch304:       coreutils-use-python3.patch
+Patch500:       coreutils-disable_tests.patch
+Patch501:       coreutils-test_without_valgrind.patch
+# Upstream patch - remove with version >9.0:
+# chmod: fix exit status when ignoring symlinks
+Patch800:       coreutils-chmod-fix-exit-status-ign-symlinks.patch
+# tests: skip tests/rm/ext3-perf.sh temporarily as it hangs on OBS.
+Patch810:       coreutils-skip-tests-rm-ext3-perf.patch
 BuildRequires:  automake
 BuildRequires:  gmp-devel
 BuildRequires:  libacl-devel
@@ -46,7 +73,7 @@
 BuildRequires:  makeinfo
 BuildRequires:  perl
 BuildRequires:  xz
-%if %{suse_version} > 1320
+%if 0%{?suse_version} > 1320
 BuildRequires:  gcc-PIE
 %endif
 %if "%{name}" == "coreutils-testsuite"
@@ -60,17 +87,13 @@
 BuildRequires:  timezone
 # Some tests need the 'bin' user.
 BuildRequires:  user(bin)
-%ifarch %ix86 x86_64 ppc ppc64 s390x armv7l armv7hl
+%ifarch %{ix86} x86_64 ppc ppc64 s390x armv7l armv7hl
 BuildRequires:  valgrind
 %endif
 %endif
-
 %if "%{name}" == "coreutils" || "%{name}" == "coreutils-single"
 Provides:       fileutils = %{version}
 Provides:       mktemp = %{version}
-%if 0%{?usrmerged}
-Provides:       /bin/mktemp
-%endif
 Provides:       sh-utils = %{version}
 Provides:       stat = %{version}
 Provides:       textutils = %{version}
@@ -80,73 +103,6 @@
 %endif
 %endif
 
-# this will create a cycle, broken up randomly - coreutils is just
-# too core to have other prerequisites.
-#PreReq:         permissions
-
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
-#cgit-URL:     https://git.savannah.gnu.org/cgit/coreutils.git/
-#Git-Clone:    git://git.sv.gnu.org/coreutils
-# For upgrading the upstream version, increase the version number (above),
-# then remove the old tarball and signature files and let OSC download
-# those files of the new version:
-#    osc rm coreutils-*.tar.xz coreutils-*.tar.xz.sig
-#    osc service localrun download_files
-#    osc addremove
-# Then adjust the downstream patches (using quilt).
-# Finally, add a changelog entry and commit:
-#    osc vc
-#    osc ci
-
-Source0:        https://ftp.gnu.org/gnu/coreutils/coreutils-%{version}.tar.xz
-Source1:        
https://ftp.gnu.org/gnu/coreutils/coreutils-%{version}.tar.xz.sig
-Source2:        
https://savannah.gnu.org/project/release-gpgkeys.php?group=coreutils&download=1&file=./coreutils.keyring
-Source3:        baselibs.conf
-
-Patch1:         coreutils-remove_hostname_documentation.patch
-Patch3:         coreutils-remove_kill_documentation.patch
-Patch4:         coreutils-i18n.patch
-Patch8:         coreutils-sysinfo.patch
-Patch16:        coreutils-invalid-ids.patch
-
-# OBS / RPMLINT require /usr/bin/timeout to be built with the -fpie option.
-Patch100:       coreutils-build-timeout-as-pie.patch
-
-# There is no network in the build root so make the test succeed
-Patch112:       coreutils-getaddrinfo.patch
-
-# Assorted fixes
-Patch113:       coreutils-misc.patch
-
-# Skip 2 valgrind'ed sort tests on ppc/ppc64 which would fail due to
-# a glibc issue in mkstemp.
-Patch300:       coreutils-skip-some-sort-tests-on-ppc.patch
-
-Patch301:       coreutils-skip-gnulib-test-tls.patch
-
-# tests: shorten extreme-expensive factor tests
-Patch303:       coreutils-tests-shorten-extreme-factor-tests.patch
-# Stop using Python 2.x
-Patch304:       coreutils-use-python3.patch
-Patch500:       coreutils-disable_tests.patch
-Patch501:       coreutils-test_without_valgrind.patch
-
-# Upstream commits (squashed) after the release of coreutils-8.32:
-#   [PATCH 1/2] ls: restore 8.31 behavior on removed directories
-#   [PATCH 2/2] ls: improve removed-directory test
-# Remove this patch with the next coreutils release.
-Patch800:       coreutils-ls-restore-8.31-behavior-on-removed-dirs.patch
-
-Patch820:       coreutils-gnulib-disable-test-float.patch
-
-# Avoid FP error in gnulib tests 'test-perror2' and 'test-strerror_r'.
-Patch840:       gnulib-test-avoid-FP-perror-strerror.patch
-
-# Upstream patch - remove with version >8.32:
-# avoid FP error in 'tests/ls/stat-free-color.sh'.
-Patch860:       coreutils-tests-fix-FP-in-ls-stat-free-color.patch
-
 # ================================================
 %description
 These are the GNU core utilities.  This package is the union of
@@ -165,9 +121,9 @@
 %package doc
 Summary:        Documentation for the GNU Core Utilities
 Group:          Documentation/Man
-Provides:       coreutils:%{_infodir}/coreutils.info.gz
-Supplements:    (coreutils-single and patterns-base-documentation)
 Supplements:    (coreutils and patterns-base-documentation)
+Supplements:    (coreutils-single and patterns-base-documentation)
+Provides:       coreutils:%{_infodir}/coreutils.info.gz
 BuildArch:      noarch
 
 %description doc
@@ -184,7 +140,7 @@
 %patch8
 %patch16
 #
-%if %{suse_version} <= 1320
+%if 0%{?suse_version} <= 1320
 %patch100
 %endif
 %patch112
@@ -192,7 +148,7 @@
 
 %patch300
 
-%ifarch %ix86 x86_64 ppc ppc64
+%ifarch %{ix86} x86_64 ppc ppc64
 %patch301
 %endif
 
@@ -202,21 +158,14 @@
 %patch501
 
 %patch800
-
-%ifarch ppc ppc64le
-# Disable gnulib test 'test-float' temporarily as it fails on ppc and ppc64le.
-%patch820
-%endif
-
-%patch840
-%patch860
+%patch810
 
 # ================================================
 %build
-%if 0%{suse_version} >= 1200
+%if 0%{?suse_version} >= 1200
 AUTOPOINT=true autoreconf -fi
 %endif
-export CFLAGS="%optflags"
+export CFLAGS="%{optflags}"
 %configure --libexecdir=%{_libdir} \
            --enable-install-program=arch \
           --enable-no-install-program=kill \
@@ -228,12 +177,12 @@
            DEFAULT_POSIX2_VERSION=200112 \
            alternative=199209
 
-make -C po update-po
+%make_build -C po update-po
 
 # Regenerate manpages
 touch man/*.x
 
-make all %{?_smp_mflags} V=1
+%make_build all
 
 # make sure that parse-datetime.{c,y} ends up in debuginfo (rh#1555079)
 ln -v lib/parse-datetime.{c,y} .
@@ -245,31 +194,20 @@
   chmod a+x tests/misc/sort-mb-tests.sh
   # Avoid parallel make, because otherwise some timeout based tests like
   # rm/ext3-perf may fail due to high CPU or IO load.
-  make check-very-expensive \
+  %make_build check-very-expensive \
     && install -d -m 755 %{buildroot}%{_docdir}/%{name} \
     && xz -c tests/test-suite.log \
          > %{buildroot}%{_docdir}/%{name}/test-suite.log.xz
 %else
   # Run the shorter check otherwise.
-  make check
+  %make_build check
 %endif
 
 # ================================================
 %install
 %if "%{name}" == "coreutils" || "%{name}" == "coreutils-single"
-make install DESTDIR="%buildroot" pkglibexecdir=%{_libdir}/%{name}
+make install DESTDIR=%{buildroot} pkglibexecdir=%{_libdir}/%{name}
 
-#UsrMerge
-%if !0%{?usrmerged}
-install -d %{buildroot}/bin
-for i in arch basename cat chgrp chmod chown cp date dd df echo \
-  false ln ls mkdir mknod mktemp mv pwd rm rmdir sleep sort stat \
-  stty sync touch true uname readlink md5sum
-do
-  ln -sf %{_bindir}/$i %{buildroot}/bin/$i
-done
-%endif
-#EndUsrMerge
 echo '.so man1/test.1' > %{buildroot}/%{_mandir}/man1/\[.1
 %if "%{name}" == "coreutils"
 %find_lang coreutils
@@ -300,24 +238,17 @@
 %files
 %if "%{name}" == "coreutils" || "%{name}" == "coreutils-single"
 
-%defattr(-,root,root)
 %license COPYING
 %doc NEWS README THANKS
 %{_bindir}/*
-#UsrMerge
-%if !0%{?usrmerged}
-/bin/*
-%endif
-#EndUsrMerge
 %{_libdir}/%{name}
 
 %if "%{name}" == "coreutils"
 %files lang -f coreutils.lang
-%defattr(-,root,root)
 
 %files doc
-%doc %{_infodir}/coreutils.info*.gz
-%doc %{_mandir}/man1/*.1.gz
+%{_infodir}/coreutils.info*.gz
+%{_mandir}/man1/*.1%{?ext_man}
 %endif
 
 %else

++++++ coreutils-8.32.tar.xz -> coreutils-9.0.tar.xz ++++++
++++ 566433 lines of diff (skipped)

++++++ coreutils-chmod-fix-exit-status-ign-symlinks.patch ++++++
Upstream patch - remove with version >9.0:
chmod: fix exit status when ignoring symlinks

As a deviation from the upstream patch, the entry in the NEWS files uses a
different section header.

-------------------------------------------------------------------
Upstream patch:
  https://git.sv.gnu.org/cgit/coreutils.git/commit/?id=e8b56ebd5

>From e8b56ebd536e82b15542a00c888109471936bfda Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C3=A1draig=20Brady?= <p...@draigbrady.com>
Date: Fri, 24 Sep 2021 20:57:41 +0100
Subject: [PATCH] chmod: fix exit status when ignoring symlinks

* src/chmod.c: Reorder enum so CH_NOT_APPLIED
can be treated as a non error.
* tests/chmod/ignore-symlink.sh: A new test.
* tests/local.mk: Reference the new test.
* NEWS: Mention the bug fix.
Fixes https://bugs.gnu.org/50784

---
 NEWS                          |    9 +++++++++
 src/chmod.c                   |    4 ++--
 tests/chmod/ignore-symlink.sh |   31 +++++++++++++++++++++++++++++++
 tests/local.mk                |    1 +
 4 files changed, 43 insertions(+), 2 deletions(-)

Index: NEWS
===================================================================
--- NEWS.orig
+++ NEWS
@@ -1,5 +1,14 @@
 GNU coreutils NEWS                                    -*- outline -*-
 
+* Noteworthy downstream changes on top of release 9.0
+
+** Bug fixes
+
+  chmod -R no longer exits with error status when encountering symlinks.
+  All files would be processed correctly, but the exit status was incorrect.
+  [bug introduced in coreutils-9.0]
+
+
 * Noteworthy changes in release 9.0 (2021-09-24) [stable]
 
 ** Bug fixes
Index: src/chmod.c
===================================================================
--- src/chmod.c.orig
+++ src/chmod.c
@@ -44,8 +44,8 @@ struct change_status
   enum
     {
       CH_NO_STAT,
-      CH_NOT_APPLIED,
       CH_FAILED,
+      CH_NOT_APPLIED,
       CH_NO_CHANGE_REQUESTED,
       CH_SUCCEEDED
     }
@@ -322,7 +322,7 @@ process_file (FTS *fts, FTSENT *ent)
   if ( ! recurse)
     fts_set (fts, ent, FTS_SKIP);
 
-  return CH_NO_CHANGE_REQUESTED <= ch.status;
+  return CH_NOT_APPLIED <= ch.status;
 }
 
 /* Recursively change the modes of the specified FILES (the last entry
Index: tests/chmod/ignore-symlink.sh
===================================================================
--- /dev/null
+++ tests/chmod/ignore-symlink.sh
@@ -0,0 +1,31 @@
+#!/bin/sh
+# Test for proper exit code of chmod on a processed symlink.
+
+# Copyright (C) 2021 Free Software Foundation, Inc.
+
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
+print_ver_ chmod
+
+mkdir dir || framework_failure_
+touch dir/f || framework_failure_
+ln -s f dir/l || framework_failure_
+
+# This operation ignores symlinks but should succeed.
+chmod u+w -R dir 2> out || fail=1
+
+compare /dev/null out || fail=1
+
+Exit $fail
Index: tests/local.mk
===================================================================
--- tests/local.mk.orig
+++ tests/local.mk
@@ -458,6 +458,7 @@ all_tests =                                 \
   tests/chmod/c-option.sh                      \
   tests/chmod/equal-x.sh                       \
   tests/chmod/equals.sh                                \
+  tests/chmod/ignore-symlink.sh                        \
   tests/chmod/inaccessible.sh                  \
   tests/chmod/octal.sh                         \
   tests/chmod/setgid.sh                                \
++++++ coreutils-disable_tests.patch ++++++
--- /var/tmp/diff_new_pack.Ki6Pzg/_old  2021-11-11 21:36:36.660896923 +0100
+++ /var/tmp/diff_new_pack.Ki6Pzg/_new  2021-11-11 21:36:36.664896925 +0100
@@ -6,7 +6,7 @@
 ===================================================================
 --- gnulib-tests/gnulib.mk.orig
 +++ gnulib-tests/gnulib.mk
-@@ -951,10 +951,10 @@ EXTRA_DIST += test-getloadavg.c signatur
+@@ -1035,10 +1035,10 @@ EXTRA_DIST += test-getloadavg.c signatur
  
  ## begin gnulib module getlogin-tests
  

++++++ coreutils-i18n.patch ++++++
++++ 932 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/coreutils/coreutils-i18n.patch
++++ and /work/SRC/openSUSE:Factory/.coreutils.new.1890/coreutils-i18n.patch

++++++ coreutils-invalid-ids.patch ++++++
--- /var/tmp/diff_new_pack.Ki6Pzg/_old  2021-11-11 21:36:36.684896940 +0100
+++ /var/tmp/diff_new_pack.Ki6Pzg/_new  2021-11-11 21:36:36.684896940 +0100
@@ -19,7 +19,7 @@
 ===================================================================
 --- src/chgrp.c.orig
 +++ src/chgrp.c
-@@ -89,7 +89,7 @@ parse_group (const char *name)
+@@ -89,7 +89,7 @@ parse_group (char const *name)
          {
            uintmax_t tmp;
            if (! (xstrtoumax (name, NULL, 10, &tmp, "") == LONGINT_OK

++++++ coreutils-misc.patch ++++++
--- /var/tmp/diff_new_pack.Ki6Pzg/_old  2021-11-11 21:36:36.692896946 +0100
+++ /var/tmp/diff_new_pack.Ki6Pzg/_new  2021-11-11 21:36:36.692896946 +0100
@@ -37,7 +37,7 @@
 ===================================================================
 --- tests/misc/help-version.sh.orig
 +++ tests/misc/help-version.sh
-@@ -239,6 +239,7 @@ parted_setup () { args="-s $tmp_in mklab
+@@ -240,6 +240,7 @@ parted_setup () { args="-s $tmp_in mklab
  for i in $built_programs; do
    # Skip these.
    case $i in chroot|stty|tty|false|chcon|runcon|coreutils) continue;; esac
@@ -58,4 +58,4 @@
 +
  if test -z "$other_partition_tmpdir"; then
    skip_ \
- "requires a writable directory on a different disk partition,
+ "requires a writable directory on a different file system,

++++++ coreutils-remove_hostname_documentation.patch ++++++
--- /var/tmp/diff_new_pack.Ki6Pzg/_old  2021-11-11 21:36:36.700896952 +0100
+++ /var/tmp/diff_new_pack.Ki6Pzg/_new  2021-11-11 21:36:36.700896952 +0100
@@ -31,7 +31,7 @@
  * hostid invocation::            Print numeric host identifier
  * uptime invocation::            Print system uptime and load
  
-@@ -15761,7 +15759,6 @@ information.
+@@ -15947,7 +15945,6 @@ information.
  * arch invocation::             Print machine hardware name.
  * nproc invocation::            Print the number of processors.
  * uname invocation::            Print system information.
@@ -39,7 +39,7 @@
  * hostid invocation::           Print numeric host identifier.
  * uptime invocation::           Print system uptime and load.
  @end menu
-@@ -16623,15 +16620,6 @@ Note this is non-portable (even across G
+@@ -16804,15 +16801,6 @@ Note this is non-portable (even across G
  Print the machine hardware name (sometimes called the hardware class
  or hardware type).
  
@@ -55,7 +55,7 @@
  @item -p
  @itemx --processor
  @opindex -p
-@@ -16685,34 +16673,6 @@ Print the kernel version.
+@@ -16866,34 +16854,6 @@ Print the kernel version.
  
  @exitstatus
  

++++++ coreutils-remove_kill_documentation.patch ++++++
--- /var/tmp/diff_new_pack.Ki6Pzg/_old  2021-11-11 21:36:36.712896960 +0100
+++ /var/tmp/diff_new_pack.Ki6Pzg/_new  2021-11-11 21:36:36.712896960 +0100
@@ -33,9 +33,9 @@
  Delaying
  
  * sleep invocation::             Delay for a specified time
-@@ -18089,90 +18083,6 @@ the exit status of @var{command} otherwi
- @end display
- 
+@@ -18310,90 +18304,6 @@ timeout -s INT 5s env --ignore-signal=IN
+ timeout -s INT -k 3s 5s env --ignore-signal=INT sleep 20
+ @end example
  
 -@node Process control
 -@chapter Process control

++++++ coreutils-skip-gnulib-test-tls.patch ++++++
--- /var/tmp/diff_new_pack.Ki6Pzg/_old  2021-11-11 21:36:36.720896966 +0100
+++ /var/tmp/diff_new_pack.Ki6Pzg/_new  2021-11-11 21:36:36.720896966 +0100
@@ -21,7 +21,7 @@
 ===================================================================
 --- gnulib-tests/gnulib.mk.orig
 +++ gnulib-tests/gnulib.mk
-@@ -2485,9 +2485,10 @@ EXTRA_DIST += test-timespec.c macros.h
+@@ -2615,9 +2615,10 @@ EXTRA_DIST += test-timespec.c macros.h
  
  ## begin gnulib module tls-tests
  

++++++ coreutils-skip-tests-rm-ext3-perf.patch ++++++
# Downstream patch to skip a test failing on OBS.
# tests: skip tests/rm/ext3-perf.sh temporarily as it hangs on OBS
# (but otherwise is known to work locally).
---
 tests/rm/ext3-perf.sh |    5 +++++
 1 file changed, 5 insertions(+)

Index: tests/rm/ext3-perf.sh
===================================================================
--- tests/rm/ext3-perf.sh.orig
+++ tests/rm/ext3-perf.sh
@@ -19,6 +19,11 @@
 . "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
+# Skip this test: it's known to work locally (and it was working for a long
+# time on OBS), but it started to fail in Sep 2021 on OBS - seemingly on all
+# platforms (i586, x84_64, ppc64le, ppc64, aarch64, s390x).
+skip_ "SUSE: disabled for now as known to be failing on OBS"
+
 very_expensive_
 
 # In a circa 2008 benchmark, using rm -rf to remove a 400k-entry directory 
took:
++++++ coreutils-tests-shorten-extreme-factor-tests.patch ++++++
--- /var/tmp/diff_new_pack.Ki6Pzg/_old  2021-11-11 21:36:36.740896981 +0100
+++ /var/tmp/diff_new_pack.Ki6Pzg/_new  2021-11-11 21:36:36.744896983 +0100
@@ -16,7 +16,7 @@
 ===================================================================
 --- tests/local.mk.orig
 +++ tests/local.mk
-@@ -723,14 +723,9 @@ all_tests =                                       \
+@@ -733,14 +733,9 @@ all_tests =                                       \
  # See tests/factor/create-test.sh.
  tf = tests/factor
  factor_tests = \

++++++ coreutils-use-python3.patch ++++++
--- /var/tmp/diff_new_pack.Ki6Pzg/_old  2021-11-11 21:36:36.752896990 +0100
+++ /var/tmp/diff_new_pack.Ki6Pzg/_new  2021-11-11 21:36:36.752896990 +0100
@@ -1,4 +1,6 @@
---- tests/du/move-dir-while-traversing.sh
+Index: tests/du/move-dir-while-traversing.sh
+===================================================================
+--- tests/du/move-dir-while-traversing.sh.orig
 +++ tests/du/move-dir-while-traversing.sh
 @@ -20,9 +20,9 @@
  print_ver_ du
@@ -13,7 +15,7 @@
  
  # Move a directory "up" while du is processing its sub-directories.
  # While du is processing a hierarchy .../B/C/D/... this script
-@@ -33,7 +33,7 @@
+@@ -33,7 +33,7 @@ python -m pyinotify -h > /dev/null \
  # rename syscall before du finishes processing the subtree under D/.
  
  cat <<'EOF' > inotify-watch-for-dir-access.py

Reply via email to