guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/22: gnu: libfaketime: Fix build with glibc 2.31.


From: guix-commits
Subject: 09/22: gnu: libfaketime: Fix build with glibc 2.31.
Date: Sat, 15 Feb 2020 16:09:02 -0500 (EST)

mbakke pushed a commit to branch core-updates
in repository guix.

commit fedce7b2b474251a7b7e0e4fb7cc80d89a2939bd
Author: Marius Bakke <address@hidden>
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]