Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tar for openSUSE:Factory checked in 
at 2021-11-05 22:58:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tar (Old)
 and      /work/SRC/openSUSE:Factory/.tar.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tar"

Fri Nov  5 22:58:17 2021 rev:74 rq:925262 version:1.34

Changes:
--------
--- /work/SRC/openSUSE:Factory/tar/tar.changes  2021-10-08 22:04:41.048524185 
+0200
+++ /work/SRC/openSUSE:Factory/.tar.new.1890/tar.changes        2021-11-05 
22:58:18.972270503 +0100
@@ -1,0 +2,8 @@
+Thu Oct 14 10:40:36 UTC 2021 - Bernhard Voelker <[email protected]>
+
+- tests-skip-time01-on-32bit-time_t.patch: Add patch to skip test
+  'tests/time01.at' on platforms with 32-bit time_t for now.
+- tar.spec: Reference it.
+  (%check): Output the testsuite.log in case the testsuite failed.
+
+-------------------------------------------------------------------

New:
----
  tests-skip-time01-on-32bit-time_t.patch

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

Other differences:
------------------
++++++ tar.spec ++++++
--- /var/tmp/diff_new_pack.XHle6n/_old  2021-11-05 22:58:19.540270852 +0100
+++ /var/tmp/diff_new_pack.XHle6n/_new  2021-11-05 22:58:19.544270855 +0100
@@ -41,6 +41,7 @@
 Patch4:         %{name}-recursive--files-from.patch
 Patch5:         add_readme-tests.patch
 Patch6:         tar-PIE.patch
+Patch7:         tests-skip-time01-on-32bit-time_t.patch
 BuildRequires:  automake >= 1.15
 BuildRequires:  libacl-devel
 BuildRequires:  libselinux-devel
@@ -110,6 +111,7 @@
 #%patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 %build
 %define my_cflags -W -Wall -Wpointer-arith -Wstrict-prototypes 
-Wformat-security -Wno-unused-parameter -fPIE
@@ -134,7 +136,7 @@
 %if !0%{?qemu_user_space_build:1}
 # Checks disabled in qemu because of races happening when we emulate
 # multi-threaded programs
-%make_build check
+%make_build check || { cat tests/testsuite.log; exit 1; }
 %endif
 
 %install



++++++ tests-skip-time01-on-32bit-time_t.patch ++++++
Skip some parts of 'tests/time01.at' on some platforms.

This test fails if coreutils' touch was built with 64-bit time_t,
while tar was built with 32-bit time_t.  This is currently the case
on i586, ppc and armv7l.  Skip the failing last command on those
platforms.

The failure was seen since coreutils-9.0.

Discussed at:
  https://lists.gnu.org/r/bug-tar/2021-10/msg00006.html

Remove this patch once tar(1) also builds with 64-bit time_t.
---
 tests/time01.at |    8 ++++++++
 1 file changed, 8 insertions(+)

Index: tar-1.34/tests/time01.at
===================================================================
--- tar-1.34.orig/tests/time01.at
+++ tar-1.34/tests/time01.at
@@ -61,6 +61,14 @@ do
 done
 
 tar -c -f archive.tar dir
+
+case "$( uname -m )" in
+  i686 | ppc | armv7l)
+    # "SUSE: disabled for now on platforms with 32-bit time_t"
+    AT_SKIP_TEST
+    ;;
+esac
+
 tar -d -f archive.tar dir
 ],
 [0],

Reply via email to