Accepting request 629175 from home:jirislaby:branches:devel:tools

- Update to strace 4.24
  * Contains a fix for occasionally failing aio.gen.test
  * Improvements
    * Implemented decoding of kvm vcpu exit reason (-e kvm=vcpu option),
      requires Linux kernel version 4.16.0 or higher.
    * Implemented decoding of KVM_SET_CPUID2 and KVM_GET_*_CPUID ioctl commands.
- Remove statx-redefinition.patch (in upstream now)

OBS-URL: https://build.opensuse.org/request/show/629175
OBS-URL: https://build.opensuse.org/package/show/devel:tools/strace?expand=0&rev=93
This commit is contained in:
Andreas Schwab 2018-08-14 17:28:50 +00:00 committed by Git OBS Bridge
parent 03cbcf5551
commit 0eba417b1e
7 changed files with 31 additions and 60 deletions

View File

@ -1,38 +0,0 @@
From 3dbffb74cc2b4323016ba8ba05380a6aba5f3a8f Mon Sep 17 00:00:00 2001
From: "Dmitry V. Levin" <ldv@altlinux.org>
Date: Sun, 15 Jul 2018 22:14:29 +0000
Subject: [PATCH] tests: fix build with fresh glibc
Workaround additional incompatibility between <sys/stat.h> and
<asm/stat.h> introduced by glibc-2.27.9000-566-gfd70af4.
* tests/xstatx.c (statx, statx_timestamp): Redefine before the inclusion
of <sys/stat.h> to avoid conflicts between definitions provided by the
linux kernel headers and the GNU libc.
---
tests/xstatx.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tests/xstatx.c b/tests/xstatx.c
index 7fb9326589..441f4a8305 100644
--- a/tests/xstatx.c
+++ b/tests/xstatx.c
@@ -64,10 +64,14 @@ typedef off_t libc_off_t;
# define stat libc_stat
# define stat64 libc_stat64
+# define statx libc_statx
+# define statx_timestamp libc_statx_timestamp
# include <fcntl.h>
# include <sys/stat.h>
-# undef stat
+# undef statx_timestamp
+# undef statx
# undef stat64
+# undef stat
# undef st_atime
# undef st_mtime
--
2.18.0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7860a6965f1dd832747bd8281a04738274398d32c56e9fbd0a68b1bb9ec09aad
size 1379128

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIcBAABCAAGBQJbIq5MAAoJEKgEH6g54W42OTMQAIqDmZcgMmDcbKDyj5iJQwi/
eimp/+mhqUnjWciedO7i9xkEZEkxHAJ8iLPkeKdotnJtoIolq8RTOlilShGJebWk
iYCErMVOV3K4ozZ+517Fu27B4rvThYlxQxhCyDGGdd5IafAqoP2JgaKk3/lBkYd+
I/Gj/V5h7XVvhk6zatOncvhqMB73QyAxIa7fWjx9pQd4kG4x4Ebwp7FDczXq6Geg
tE3dkXtSzosAc2nEK+jbjq9Nb8th2zf49CUu/GZyIGrBj4XTUvFfFZLgX6vN3O9S
BT8kpBMAVHxutcHYxcboLrfZ3DdrK3+pmx4XJfDx7JmY2bWjq4ipp/FcDykZLAgF
FvCd3dfNfA+6kmgqbFVWir8LSXqukQOIa04n/lL7gAPBlt4gW7ZFE5LKG+wUR+CA
COx//i2I8fYC6tkVVOLSJUmN55ZIViuuZLXJlWCt8m2bfu4Q2zI3LLqy5UEbKiKj
cxempliZuz7uLSQTHmrMmL/oj2bs4SdC0V8qzbBkDjJAWrMM1HLX+c0aFuqlw61w
6HikIN05F8JTYvTX2pBjfjgXd2wECgls0LMRtTwiVhl+uF5c2h0g/6bXwnb/JEna
mgqywDeVIWpDxHjNJa5MmhCFBCBc1RXyMnBcHSx5lM/oYH57vbluEL8h7xT10JWH
N8+VcxPKmSiDNwKv32yd
=V+iA
-----END PGP SIGNATURE-----

3
strace-4.24.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1f4e59fc1edfa2bfb4adf2a748623dc25b105ec79713dd84404199f91b0b0634
size 1398252

16
strace-4.24.tar.xz.asc Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIcBAABCAAGBQJbciYMAAoJEKgEH6g54W42eNwQAKFvNaTpQwJLQeVXdGog6OOC
AF5fvjIjgeRvmna6/nV+5yfSieKZXc654HZN6o8w8DVgi38y0g9S8fkvMK/FFeWT
61ojj8Ngs72QyTy8mWNkp/oun4AcGAOD1NnhqjxbsEnDRteaxo4/eDQytjJM9VHi
rNP9m4HxUc/W22SFu0mRYAuAqk5W7pkxxdGzHOnXWrW+VDey99gCkPAvAmu2xxUo
SfZGrf8Zs5mIDjakWNAaLetr6rJ7WvMGazR975Wg7T+r6+6lii72HInPoUj4VXNA
LIVmTK08HrVsaVoGAcd/j9RUhBOvrY5jaCK6AWZxHWK05tbA55DhEu8ETgXOp2rN
i7vym8F8GTcF5FNPWewxRb4fpBUskVF+eiilBarY4UYlypyhFZ2o3EAF4DqHLz/G
9qu3LoaVekNYhaNh/kmAQhLLQFNQN7hlZbI5OX+ZKPanYpviIPBbPUZY9Iyh064Y
vd6ZLvVhE5oa8d8Al1/8Hd0dE7WvpqJkVGaObwoxPf68iNDZnr7xFKeEW/IvfrTq
7ty3zgqWLd23+Tj4rqqLf35lS34WQEDXvPiiH1mU2MqYPWfhWaehwxH1MLEmyfKl
Aw0KSpsOWabd11aotc/BKYA+WHoKor4ci0jVsVDL+YADq2i+goSsq+3gptMMua1L
zCoCvYy4Wx+4iamezqnX
=i2yT
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Aug 14 06:49:56 UTC 2018 - jslaby@suse.com
- Update to strace 4.24
* Contains a fix for occasionally failing aio.gen.test
* Improvements
* Implemented decoding of kvm vcpu exit reason (-e kvm=vcpu option),
requires Linux kernel version 4.16.0 or higher.
* Implemented decoding of KVM_SET_CPUID2 and KVM_GET_*_CPUID ioctl commands.
- Remove statx-redefinition.patch (in upstream now)
-------------------------------------------------------------------
Wed Aug 1 13:19:36 UTC 2018 - schwab@suse.de

View File

@ -17,7 +17,7 @@
Name: strace
Version: 4.23
Version: 4.24
Release: 0
Summary: A utility to trace the system calls of a program
License: BSD-3-Clause
@ -29,7 +29,6 @@ Source: https://github.com/strace/strace/releases/download/v%{version}/%
Source2: https://github.com/strace/strace/releases/download/v%{version}/%{name}-%{version}.tar.xz.asc
Source3: %{name}.keyring
Source4: baselibs.conf
Patch1: statx-redefinition.patch
BuildRequires: haveged
BuildRequires: libacl-devel
BuildRequires: libaio-devel
@ -59,7 +58,6 @@ and processes can be seen. Child processes can also be tracked.
%prep
%setup -q
%patch1 -p1
%build
%configure \