Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package coreutils for openSUSE:Factory checked in at 2022-10-29 20:14:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/coreutils (Old) and /work/SRC/openSUSE:Factory/.coreutils.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "coreutils" Sat Oct 29 20:14:57 2022 rev:148 rq:1031469 version:9.1 Changes: -------- --- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes 2022-08-18 16:48:48.397395525 +0200 +++ /work/SRC/openSUSE:Factory/.coreutils.new.2275/coreutils.changes 2022-10-29 20:14:58.773530656 +0200 @@ -1,0 +2,8 @@ +Mon Sep 26 20:29:11 UTC 2022 - Bernhard Voelker <[email protected]> + +- coreutils-tests-workaround-make-fdleak.patch: Add patch to work around + a GNU make bug which leaks file descriptors when using the jobserver; + this makes some tests fail. +- coreutils.spec: Reference the patch. + +------------------------------------------------------------------- New: ---- coreutils-tests-workaround-make-fdleak.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ coreutils.spec ++++++ --- /var/tmp/diff_new_pack.5kqgJS/_old 2022-10-29 20:14:59.581534961 +0200 +++ /var/tmp/diff_new_pack.5kqgJS/_new 2022-10-29 20:14:59.589535003 +0200 @@ -64,6 +64,7 @@ Patch810: coreutils-skip-tests-rm-ext3-perf.patch # Upstream patch - remove with version >9.1: Patch850: gnulib-simple-backup-fix.patch +Patch900: coreutils-tests-workaround-make-fdleak.patch BuildRequires: automake BuildRequires: gmp-devel BuildRequires: hostname @@ -159,6 +160,7 @@ %patch810 %patch850 +%patch900 # ================================================ %build @@ -194,13 +196,13 @@ 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_build check-very-expensive \ + %make_build check-very-expensive VERBOSE=yes \ && 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_build check + %make_build check VERBOSE=yes %endif # ================================================ ++++++ coreutils-tests-workaround-make-fdleak.patch ++++++ --- tests/init.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) Index: tests/init.sh =================================================================== --- tests/init.sh.orig +++ tests/init.sh @@ -685,6 +685,16 @@ compare () } # ----------------------------------------------------------------------------- +# OpenSUSE/OSC workaround. +# GNU make 4.3.90 leaks a lot of file descriptors when using the jobserver. +# Close all of them pointing to files matching '/tmp/Gm*'. +p=$$ +for n in $(find /proc/$p/fd -lname '/tmp/Gm*' -printf '%P\n'); do + exec {n}>&- +done +# ----------------------------------------------------------------------------- + +# ----------------------------------------------------------------------------- # If you want to override the testdir_prefix_ function, # or to add more utility functions, use this file.
