Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package coreutils for openSUSE:Factory checked in at 2023-09-08 21:15:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/coreutils (Old) and /work/SRC/openSUSE:Factory/.coreutils.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "coreutils" Fri Sep 8 21:15:17 2023 rev:152 rq:1108793 version:9.4 Changes: -------- --- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes 2023-04-23 22:43:12.565269230 +0200 +++ /work/SRC/openSUSE:Factory/.coreutils.new.1766/coreutils.changes 2023-09-08 21:15:48.619048034 +0200 @@ -1,0 +2,65 @@ +Thu Aug 31 09:56:48 UTC 2023 - Thorsten Kukuk <ku...@suse.com> + +- Update to 9.4: + Bug fixes: + * b2sum --check will no longer read unallocated memory when + presented with malformed checksum lines. + [bug introduced in coreutils-9.2] + * cp --parents again succeeds when preserving mode for absolute directories. + Previously it would have failed with a "No such file or directory" error. + [bug introduced in coreutils-9.1] + * cp --sparse=never will avoid copy-on-write (reflinking) and copy offloading, + to ensure no holes present in the destination copy. + [bug introduced in coreutils-9.0] + * cksum again diagnoses read errors in its default CRC32 mode. + [bug introduced in coreutils-9.0] + * cksum --check now ensures filenames with a leading backslash character + are escaped appropriately in the status output. + This also applies to the standalone checksumming utilities. + [bug introduced in coreutils-8.25] + * dd again supports more than two multipliers for numbers. + Previously numbers of the form '1024x1024x32' gave "invalid number" errors. + [bug introduced in coreutils-9.1] + * factor, numfmt, and tsort now diagnose read errors on the input. + [This bug was present in "the beginning".] + * install --strip now supports installing to files with a leading hyphen. + Previously such file names would have caused the strip process to fail. + [This bug was present in "the beginning".] + * ls now shows symlinks specified on the command line that can't be traversed. + Previously a "Too many levels of symbolic links" diagnostic was given. + [This bug was present in "the beginning".] + * pr --length=1 --double-space no longer enters an infinite loop. + [This bug was present in "the beginning".] + * tac now handles short reads on its input. Previously it may have exited + erroneously, especially with large input files with no separators. + [This bug was present in "the beginning".] + * uptime no longer incorrectly prints "0 users" on OpenBSD, + and is being built again on FreeBSD and Haiku. + [bugs introduced in coreutils-9.2] + * wc -l and cksum no longer crash with an "Illegal instruction" error + on x86 Linux kernels that disable XSAVE YMM. This was seen on Xen VMs. + [bug introduced in coreutils-9.0] + Changes in behavior: + * cp -v and mv -v will no longer output a message for each file skipped + due to -i, or -u. Instead they only output this information with --debug. + I.e., 'cp -u -v' etc. will have the same verbosity as before coreutils-9.3. + * cksum -b no longer prints base64-encoded checksums. Rather that + short option is reserved to better support emulation of the standalone + checksum utilities with cksum. + * mv dir x now complains differently if x/dir is a nonempty directory. + Previously it said "mv: cannot move 'dir' to 'x/dir': Directory not empty", + where it was unclear whether 'dir' or 'x/dir' was the problem. + Now it says "mv: cannot overwrite 'x/dir': Directory not empty". + Similarly for other renames where the destination must be the problem. + [problem introduced in coreutils-6.0] +- Enable systemd-logind support +- Add gnulib-readutmp.patch: Fix seg.fault of who, pinky, uptime [dgo#65617] +- Create -systemd flavor with binaries linked against libsystemd +- Drop coreutils-invalid-ids.patch to get consistent behavior, most tools + where already removed from that patch. +- coreutils-misc.patch: adjust paths +- coreutils-skip-some-sort-tests-on-ppc.patch: adjust paths +- coreutils-test_without_valgrind.patch: adjust paths +- coreutils-i18n.patch: update from Fedora + +------------------------------------------------------------------- Old: ---- coreutils-9.3.tar.xz coreutils-9.3.tar.xz.sig coreutils-invalid-ids.patch New: ---- coreutils-9.4.tar.xz coreutils-9.4.tar.xz.sig gnulib-readutmp.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ coreutils.spec ++++++ --- /var/tmp/diff_new_pack.FKQCPr/_old 2023-09-08 21:15:51.119137385 +0200 +++ /var/tmp/diff_new_pack.FKQCPr/_new 2023-09-08 21:15:51.123137528 +0200 @@ -24,11 +24,13 @@ %global psuffix -single %elif "%{flavor}" == "testsuite" %global psuffix -testsuite +%elif "%{flavor}" == "systemd" +%global psuffix -systemd %else %global psuffix %{nil} %endif Name: coreutils%{?psuffix} -Version: 9.3 +Version: 9.4 Release: 0 Summary: GNU Core Utilities License: GPL-3.0-or-later @@ -42,13 +44,15 @@ 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 +# gnulib seg.faults if there is no session +# https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65617 +Patch114: gnulib-readutmp.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 @@ -73,6 +77,9 @@ BuildRequires: makeinfo BuildRequires: perl BuildRequires: xz +%if "%{name}" == "coreutils-systemd" +BuildRequires: pkgconfig(libsystemd) +%endif %if 0%{?suse_version} > 1320 BuildRequires: gcc-PIE %endif @@ -101,6 +108,10 @@ Provides: coreutils = %{version}-%{release} %endif %endif +%if "%{name}" == "coreutils-systemd" +Provides: coreutils:%{_bindir}/who +Requires: coreutils = %{version} +%endif # ================================================ %description @@ -133,17 +144,17 @@ %prep %setup -q -n coreutils-%{version} -%patch4 +%patch4 -p1 %patch1 %patch3 %patch8 -%patch16 # %if 0%{?suse_version} <= 1320 %patch100 %endif %patch112 %patch113 +%patch114 -p1 %patch300 @@ -173,6 +184,9 @@ --without-openssl \ --without-gmp \ %endif +%if "%{name}" == "coreutils-systemd" + --enable-systemd \ +%endif DEFAULT_POSIX2_VERSION=200112 \ alternative=199209 @@ -220,6 +234,10 @@ > coreutils.lang %endif %endif +%if "%{name}" == "coreutils-systemd" +mkdir -p %{buildroot}%{_bindir} +install src/{pinky,uptime,users,who} %{buildroot}%{_bindir}/ +%endif # ================================================ %post @@ -239,6 +257,10 @@ %license COPYING %doc NEWS README THANKS +%exclude %{_bindir}/pinky +%exclude %{_bindir}/uptime +%exclude %{_bindir}/users +%exclude %{_bindir}/who %{_bindir}/* %{_libdir}/%{name} @@ -250,6 +272,14 @@ %{_mandir}/man1/*.1%{?ext_man} %endif +%elif "%{name}" == "coreutils-systemd" +%license COPYING +%doc NEWS README THANKS +%{_bindir}/pinky +%{_bindir}/uptime +%{_bindir}/users +%{_bindir}/who + %else # test-suite ++++++ _multibuild ++++++ --- /var/tmp/diff_new_pack.FKQCPr/_old 2023-09-08 21:15:51.159138815 +0200 +++ /var/tmp/diff_new_pack.FKQCPr/_new 2023-09-08 21:15:51.163138958 +0200 @@ -1,4 +1,5 @@ <multibuild> + <flavor>systemd</flavor> <flavor>single</flavor> <flavor>testsuite</flavor> </multibuild> ++++++ coreutils-9.3.tar.xz -> coreutils-9.4.tar.xz ++++++ ++++ 723394 lines of diff (skipped) ++++++ coreutils-i18n.patch ++++++ ++++ 2559 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/coreutils/coreutils-i18n.patch ++++ and /work/SRC/openSUSE:Factory/.coreutils.new.1766/coreutils-i18n.patch ++++++ coreutils-misc.patch ++++++ --- /var/tmp/diff_new_pack.FKQCPr/_old 2023-09-08 21:15:53.467221305 +0200 +++ /var/tmp/diff_new_pack.FKQCPr/_new 2023-09-08 21:15:53.475221591 +0200 @@ -1,6 +1,6 @@ --- gnulib-tests/test-isnanl.h | 5 +++-- - tests/misc/help-version.sh | 1 + + tests/help/help-version.sh | 1 + tests/other-fs-tmpdir | 3 +++ 3 files changed, 7 insertions(+), 2 deletions(-) @@ -33,10 +33,10 @@ +#endif return 0; } -Index: tests/misc/help-version.sh +Index: tests/help/help-version.sh =================================================================== ---- tests/misc/help-version.sh.orig -+++ tests/misc/help-version.sh +--- tests/help/help-version.sh.orig ++++ tests/help/help-version.sh @@ -241,6 +241,7 @@ parted_setup () { args="-s $tmp_in mklab for i in $built_programs; do # Skip these. ++++++ coreutils-skip-some-sort-tests-on-ppc.patch ++++++ --- /var/tmp/diff_new_pack.FKQCPr/_old 2023-09-08 21:15:53.499222449 +0200 +++ /var/tmp/diff_new_pack.FKQCPr/_new 2023-09-08 21:15:53.503222591 +0200 @@ -12,18 +12,18 @@ by 0x1000A427: maybe_create_temp (sort.c:1176) by 0x100031BF: main (sort.c:1223) -* tests/misc/sort-stale-thread-mem.sh: Skip on ppc/ppc64. -* tests/misc/sort-u-FMR.sh: Likewise. +* tests/sort/sort-stale-thread-mem.sh: Skip on ppc/ppc64. +* tests/sort/sort-u-FMR.sh: Likewise. --- - tests/misc/sort-stale-thread-mem.sh | 4 ++++ - tests/misc/sort-u-FMR.sh | 4 ++++ + tests/sort/sort-stale-thread-mem.sh | 4 ++++ + tests/sort/sort-u-FMR.sh | 4 ++++ 2 files changed, 8 insertions(+) -Index: tests/misc/sort-stale-thread-mem.sh +Index: tests/sort/sort-stale-thread-mem.sh =================================================================== ---- tests/misc/sort-stale-thread-mem.sh.orig -+++ tests/misc/sort-stale-thread-mem.sh +--- tests/sort/sort-stale-thread-mem.sh.orig ++++ tests/sort/sort-stale-thread-mem.sh @@ -27,6 +27,10 @@ require_valgrind_ grep '^#define HAVE_PTHREAD_T 1' "$CONFIG_HEADER" > /dev/null || skip_ 'requires pthreads' @@ -35,10 +35,10 @@ # gensort output seems to trigger the failure more often, # so prefer gensort if it is available. (gensort -a 10000 in) 2>/dev/null || -Index: tests/misc/sort-u-FMR.sh +Index: tests/sort/sort-u-FMR.sh =================================================================== ---- tests/misc/sort-u-FMR.sh.orig -+++ tests/misc/sort-u-FMR.sh +--- tests/sort/sort-u-FMR.sh.orig ++++ tests/sort/sort-u-FMR.sh @@ -20,6 +20,10 @@ print_ver_ sort require_valgrind_ ++++++ coreutils-test_without_valgrind.patch ++++++ --- /var/tmp/diff_new_pack.FKQCPr/_old 2023-09-08 21:15:53.527223449 +0200 +++ /var/tmp/diff_new_pack.FKQCPr/_new 2023-09-08 21:15:53.531223592 +0200 @@ -1,11 +1,11 @@ --- - tests/misc/shuf-reservoir.sh | 3 +-- + tests/shuf/shuf-reservoir.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -Index: tests/misc/shuf-reservoir.sh +Index: tests/shuf/shuf-reservoir.sh =================================================================== ---- tests/misc/shuf-reservoir.sh.orig -+++ tests/misc/shuf-reservoir.sh +--- tests/shuf/shuf-reservoir.sh.orig ++++ tests/shuf/shuf-reservoir.sh @@ -37,8 +37,7 @@ run_shuf_n() # Critical memory-related bugs will cause a segfault here ++++++ gnulib-readutmp.patch ++++++ diff --git a/lib/readutmp.c b/lib/readutmp.c index 0173b7e0c1..e99158677c 100644 --- a/lib/readutmp.c +++ b/lib/readutmp.c @@ -795,7 +795,7 @@ read_utmp_from_systemd (idx_t *n_entries, STRUCT_UTMP **utmp_buf, int options) { char **sessions; int num_sessions = sd_get_sessions (&sessions); - if (num_sessions >= 0) + if (num_sessions > 0) { char **session_ptr; for (session_ptr = sessions; *session_ptr != NULL; session_ptr++)