mbakke pushed a commit to branch core-updates
in repository guix.
commit f09948fd442c22f0b1873ff40b64827a0bbe8a2c
Author: Marius Bakke <[email protected]>
AuthorDate: Fri Dec 6 18:22:42 2019 +0100
gnu: libfaketime: Fix failing test.
* gnu/packages/check.scm (libfaketime)[arguments]: Set environment variable
before building.
---
gnu/packages/check.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index f61e964..7f54863 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2298,6 +2298,12 @@ portable to just about any platform.")
(let ((out (assoc-ref outputs "out")))
(setenv "CC" "gcc")
(setenv "PREFIX" out)
+
+ ;; XXX: Without this flag, the CLOCK_REALTIME test
hangs
+ ;; indefinitely. See README.packagers for more
information.
+ ;; Try removing this for future versions of
libfaketime.
+ (setenv "FAKETIME_COMPILE_CFLAGS"
"-DFORCE_MONOTONIC_FIX")
+
#t)))
(add-before 'check 'pre-check
(lambda _