mbakke pushed a commit to branch core-updates
in repository guix.
commit fedce7b2b474251a7b7e0e4fb7cc80d89a2939bd
Author: Marius Bakke <[email protected]>
AuthorDate: Mon Feb 3 09:24:34 2020 +0100
gnu: libfaketime: Fix build with glibc 2.31.
* gnu/packages/check.scm (libfaketime)[arguments]: Disable
"deprecated-declarations" warnings before running the test suite.
---
gnu/packages/check.scm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 6c809c7..e819ca7 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2437,6 +2437,10 @@ portable to just about any platform.")
(lambda _
(substitute* "test/functests/test_exclude_mono.sh"
(("/bin/bash") (which "bash")))
+
+ ;; Do not fail due to use of 'ftime', which was
deprecated in
+ ;; glibc 2.31. Remove this for later versions of
libfaketime.
+ (setenv "FAKETIME_COMPILE_CFLAGS"
"-Wno-deprecated-declarations")
#t)))
#:test-target "test"))
(native-inputs