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

Previous Next

Package: guix-patches;

Reported by: Mathieu Othacehe <m.othacehe <at> gmail.com>

Date: Wed, 2 Aug 2017 13:32:02 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <m.othacehe <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Mathieu Othacehe <m.othacehe <at> gmail.com>
Subject: bug#27914: closed (Re: [bug#27914] [PATCH] guix: Fix Guile
 current-processor-count deprecation warnings.)
Date: Tue, 05 Sep 2017 18:46:01 +0000
[Message part 1 (text/plain, inline)]
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 27914 <at> debbugs.gnu.org.

-- 
27914: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27914
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Mathieu Othacehe <m.othacehe <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 27914-done <at> debbugs.gnu.org
Subject: Re: [bug#27914] [PATCH] guix: Fix Guile current-processor-count
 deprecation warnings.
Date: Tue, 05 Sep 2017 20:45:22 +0200
> Now’s the time to push to ‘core-updates’!

Done !

Mathieu

[Message part 3 (message/rfc822, inline)]
From: Mathieu Othacehe <m.othacehe <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Mathieu Othacehe <m.othacehe <at> gmail.com>
Subject: [PATCH] guix: Fix Guile current-processor-count deprecation warnings.
Date: Wed,  2 Aug 2017 15:30:52 +0200
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




This bug report was last modified 7 years and 263 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.