From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:53808) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izlVV-0001lu-7b for guix-patches@gnu.org; Thu, 06 Feb 2020 13:04:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izlVU-00017c-5r for guix-patches@gnu.org; Thu, 06 Feb 2020 13:04:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42452) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1izlVU-00016x-1K for guix-patches@gnu.org; Thu, 06 Feb 2020 13:04:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1izlVT-0000As-Tt for guix-patches@gnu.org; Thu, 06 Feb 2020 13:04:03 -0500 Subject: [bug#39456] [PATCH 6/6] gnu: libfaketime: Fix build with glibc 2.31. Resent-Message-ID: From: Marius Bakke Date: Thu, 6 Feb 2020 19:02:45 +0100 Message-Id: <20200206180245.12470-6-mbakke@fastmail.com> In-Reply-To: <20200206180245.12470-1-mbakke@fastmail.com> References: <20200206180245.12470-1-mbakke@fastmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39456@debbugs.gnu.org * 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 749bcc7831..a5cf6ea3ff 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2411,6 +2411,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 -- 2.25.0