[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/34: gnu: util-linux: Disable setarch test on all architectures.
From: |
guix-commits |
Subject: |
15/34: gnu: util-linux: Disable setarch test on all architectures. |
Date: |
Sat, 22 May 2021 11:16:30 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 52f4ba9617d39f52d5a1db3aadfe6475221e3d43
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun May 16 10:46:47 2021 +0200
gnu: util-linux: Disable setarch test on all architectures.
* gnu/packages/linux.scm (util-linux)[arguments]: Don't make the
disable-setarch-test phase conditional. While at it, remove trailing #t's.
---
gnu/packages/linux.scm | 42 ++++++++++++++++--------------------------
1 file changed, 16 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index c454e40..6b9bc93 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1663,16 +1663,14 @@ providing the system administrator with some help in
common tasks.")
;; libraries below $exec_prefix when $libdir does not
;; match any of the "usual" locations. Fix that.
(("usrlib_execdir='\\$\\{exec_prefix\\}'\\$libdir")
- "usrlib_execdir=$libdir"))
- #t))
+ "usrlib_execdir=$libdir"))))
(add-before 'build 'set-umount-file-name
(lambda* (#:key outputs #:allow-other-keys)
;; Tell 'eject' the right file name of 'umount'.
(let ((out (assoc-ref outputs "out")))
(substitute* "sys-utils/eject.c"
(("\"/bin/umount\"")
- (string-append "\"" out "/bin/umount\"")))
- #t)))
+ (string-append "\"" out "/bin/umount\""))))))
(add-before 'check 'pre-check
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
@@ -1684,23 +1682,18 @@ providing the system administrator with some help in
common tasks.")
;; The C.UTF-8 locale does not exist in our libc.
(substitute* "tests/ts/column/invalid-multibyte"
- (("C\\.UTF-8") "en_US.utf8"))
- #t)))
- ;; TODO: Remove the conditional on the next rebuild cycle.
- ,@(if (string-prefix? "arm" (%current-system))
- '((add-before 'check 'disable-setarch-test
- (lambda _
- ;; The setarch tests are unreliable in QEMU's
- ;; user-mode emulation, which is our primary
- ;; method of building ARMv7 packages.
- ;;
<https://github.com/karelzak/util-linux/issues/601>
- (substitute* "tests/ts/misc/setarch"
- (("ts_init_subtest.*" all)
- (string-append
- all "\n"
- "ts_skip \"setarch tests are unreliable
under QEMU\"")))
- #t)))
- '())
+ (("C\\.UTF-8") "en_US.utf8")))))
+ (add-before 'check 'disable-setarch-test
+ (lambda _
+ ;; The setarch tests are unreliable in QEMU's user-mode
+ ;; emulation, which is our primary method of building
+ ;; ARMv7 packages. See
+ ;; <https://github.com/karelzak/util-linux/issues/601>.
+ (substitute* "tests/ts/misc/setarch"
+ (("ts_init_subtest.*" all)
+ (string-append
+ all "\n"
+ "ts_skip \"setarch tests are unreliable under
QEMU\"")))))
(add-after 'install 'move-static-libraries
(lambda* (#:key outputs #:allow-other-keys)
(let ((lib (assoc-ref outputs "lib"))
@@ -1719,9 +1712,7 @@ providing the system administrator with some help in
common tasks.")
;; files so that Libtool does the right thing when
both
;; the shared and static library is available.
(substitute* (find-files "lib" "\\.la$")
- (("old_library=.*") "old_library=''\n")))
-
- #t)))
+ (("old_library=.*") "old_library=''\n"))))))
(add-after 'install 'adjust-pkg-config-files
(lambda* (#:key outputs #:allow-other-keys)
(let ((lib (assoc-ref outputs "lib")))
@@ -1729,8 +1720,7 @@ providing the system administrator with some help in
common tasks.")
;; the pkg-config files to avoid a cyclic reference on
"out".
(substitute* (find-files (string-append lib
"/lib/pkgconfig")
"\\.pc$")
- (("^(exec_)?prefix=.*") "")))
- #t)))))
+ (("^(exec_)?prefix=.*") ""))))))))
(inputs `(("zlib" ,zlib)
("ncurses" ,ncurses)
- 02/34: gnu: python-pyopenssl: Update to 20.0.1., (continued)
- 02/34: gnu: python-pyopenssl: Update to 20.0.1., guix-commits, 2021/05/22
- 01/34: gnu: java.scm: Adjust to new #:disallowed-references convention., guix-commits, 2021/05/22
- 05/34: gnu: libical: Update to 3.0.10., guix-commits, 2021/05/22
- 09/34: gnu: gtkmm: Fix build failure., guix-commits, 2021/05/22
- 10/34: gnu: Meson: Remove special versions., guix-commits, 2021/05/22
- 07/34: gnu: cairomm@1.13: Update to 1.14.2., guix-commits, 2021/05/22
- 03/34: gnu: python-sphinx: Update to 4.0.1., guix-commits, 2021/05/22
- 04/34: gnu: cairomm: Do not propagate fontconfig., guix-commits, 2021/05/22
- 06/34: gnu: ATLAS: Fix build with GCC 10., guix-commits, 2021/05/22
- 11/34: gnu: meson: Update to 0.58.0., guix-commits, 2021/05/22
- 15/34: gnu: util-linux: Disable setarch test on all architectures.,
guix-commits <=
- 16/34: gnu: boost: Update to 1.76.0., guix-commits, 2021/05/22
- 17/34: gnu: autoconf: Remove unnecessary conditional., guix-commits, 2021/05/22
- 19/34: gnu: help2man: Update to 1.48.3., guix-commits, 2021/05/22
- 21/34: gnu: libuv: Update to 1.41.0., guix-commits, 2021/05/22
- 22/34: gnu: Tcl/Tk: Update to 8.6.11., guix-commits, 2021/05/22
- 20/34: gnu: libfaketime: Use absolute 'date' reference., guix-commits, 2021/05/22
- 23/34: gnu: SWIG: Update to 4.0.2., guix-commits, 2021/05/22
- 26/34: gnu: xorgproto: Update to 2021.4., guix-commits, 2021/05/22
- 28/34: gnu: libxfixes: Update to 6.0.0., guix-commits, 2021/05/22
- 18/34: gnu: automake: Remove unnecessary conditional., guix-commits, 2021/05/22