From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dctks-00030E-Qt for guix-patches@gnu.org; Wed, 02 Aug 2017 09:32:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dctko-0004ly-Sf for guix-patches@gnu.org; Wed, 02 Aug 2017 09:32:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35166) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dctko-0004lo-Oi for guix-patches@gnu.org; Wed, 02 Aug 2017 09:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dctko-0003mq-Fv for guix-patches@gnu.org; Wed, 02 Aug 2017 09:32:02 -0400 Subject: [bug#27914] [PATCH] guix: Fix Guile current-processor-count deprecation warnings. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dctjs-0002uf-6a for guix-patches@gnu.org; Wed, 02 Aug 2017 09:31:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dctjo-0003iz-9J for guix-patches@gnu.org; Wed, 02 Aug 2017 09:31:04 -0400 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]:34542) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dctjn-0003i1-UI for guix-patches@gnu.org; Wed, 02 Aug 2017 09:31:00 -0400 Received: by mail-wr0-x243.google.com with SMTP id o33so3667157wrb.1 for ; Wed, 02 Aug 2017 06:30:59 -0700 (PDT) From: Mathieu Othacehe Date: Wed, 2 Aug 2017 15:30:52 +0200 Message-Id: <20170802133052.25609-1-m.othacehe@gmail.com> 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: 27914@debbugs.gnu.org When current-processor-count is used without (ice-9 threads) being used, Guile complains with the following warning: Import (ice-9 threads) to have access to `current-processor-count'. * guix/build/utils.scm: Use (ice-9 threads). * guix/store.scm: Ditto. --- guix/build/utils.scm | 1 + guix/store.scm | 1 + 2 files changed, 2 insertions(+) diff --git a/guix/build/utils.scm b/guix/build/utils.scm index e8efb0653..60f969486 100644 --- a/guix/build/utils.scm +++ b/guix/build/utils.scm @@ -29,6 +29,7 @@ #:use-module (ice-9 regex) #:use-module (ice-9 rdelim) #:use-module (ice-9 format) + #:use-module (ice-9 threads) #:use-module (rnrs bytevectors) #:use-module (rnrs io ports) #:re-export (alist-cons diff --git a/guix/store.scm b/guix/store.scm index 2563d26fa..00d1e26fc 100644 --- a/guix/store.scm +++ b/guix/store.scm @@ -40,6 +40,7 @@ #:use-module (ice-9 regex) #:use-module (ice-9 vlist) #:use-module (ice-9 popen) + #:use-module (ice-9 threads) #:use-module (web uri) #:export (%daemon-socket-uri %gc-roots-directory -- 2.13.4