gnu: strace: Update to 5.15.

* gnu/packages/linux.scm (strace): Update to 5.15.
[arguments]: Remove trailing #T from build phases; disable one more test.
This commit is contained in:
Ricardo Wurmus 2021-12-22 05:42:23 +01:00
parent c0c878856e
commit dce3415a74
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -12,7 +12,7 @@
;;; Copyright © 2016 Raymond Nicholson <rain1@openmailbox.org>
;;; Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
;;; Copyright © 2016, 2018, 2019, 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2016, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016 David Craven <david@craven.ch>
;;; Copyright © 2016 John Darrington <jmd@gnu.org>
;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Marius Bakke <marius@gnu.org>
@ -2340,7 +2340,7 @@ (define-public zerofree
(define-public strace
(package
(name "strace")
(version "5.13")
(version "5.15")
(home-page "https://strace.io")
(source (origin
(method url-fetch)
@ -2348,7 +2348,7 @@ (define-public strace
"/strace-" version ".tar.xz"))
(sha256
(base32
"0mmns22bjjvakxj29si0x4dcylcgy26llpcimkb0llcxif439k2s"))
"1p3jipp6mj5fwfcjdnp6xhxk84z07jy5qhjlqr6jjdbk54pw5jpb"))
(patches (search-patches "strace-readlink-tests.patch"))))
(build-system gnu-build-system)
(arguments
@ -2357,8 +2357,7 @@ (define-public strace
(add-after 'unpack 'patch-/bin/sh
(lambda _
(substitute* "src/strace.c"
(("/bin/sh") (which "sh")))
#t))
(("/bin/sh") (which "sh")))))
(add-after 'unpack 'disable-failing-tests
(lambda _
(substitute* "tests/Makefile.in"
@ -2366,8 +2365,9 @@ (define-public strace
;; extended.
(("^\tstrace-DD?D?\\.test \\\\.*") "")
(("^\tpidns-cache.test \\\\.*") "")
(("^\t.*--pidns-translation.test \\\\.*") ""))
#t)))
(("^\t.*--pidns-translation.test \\\\.*") "")
;; This one fails with an encoding error.
(("^\t.*net-yy-unix.test \\\\.*") "")))))
;; Don't fail if the architecture doesn't support different
;; personalities.
#:configure-flags '("--enable-mpers=check")