Subject: bug#27914: closed (Re: [bug#27914] [PATCH] guix: Fix Guile current-processor-count deprecation warnings.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 05 Sep 2017 18:46:01 +0000

Your bug report

#27914: [PATCH] guix: Fix Guile current-processor-count deprecation warnings.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
27914: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27914
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#27914] [PATCH] guix: Fix Guile current-processor-count deprecation warnings.
From: Mathieu Othacehe <[email-masked]>
To: Ludovic Courtès <[email-masked]>
Cc: [email-masked]
Date: Tue, 05 Sep 2017 20:45:22 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> Now’s the time to push to ‘core-updates’!

Done !

Mathieu

Subject: [PATCH] guix: Fix Guile current-processor-count deprecation warnings.
From: Mathieu Othacehe <[email-masked]>
To: [email-masked]
Cc: Mathieu Othacehe <[email-masked]>
Date: Wed, 2 Aug 2017 15:30:52 +0200
List-Id: <debbugs-submit.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