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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27914 in the body.
You can then email your comments to 27914 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#27914; Package guix-patches. (Wed, 02 Aug 2017 13:32:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mathieu Othacehe <m.othacehe <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 02 Aug 2017 13:32:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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





Information forwarded to guix-patches <at> gnu.org:
bug#27914; Package guix-patches. (Sat, 05 Aug 2017 21:21:01 GMT) Full text and rfc822 format available.

Message #8 received at 27914 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Mathieu Othacehe <m.othacehe <at> gmail.com>
Cc: 27914 <at> debbugs.gnu.org
Subject: Re: [bug#27914] [PATCH] guix: Fix Guile current-processor-count
 deprecation warnings.
Date: Sat, 05 Aug 2017 23:20:38 +0200
Hi!

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

> 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.

The (guix store) part is OK for master, but the (guix build utils) will
have to wait until the next core-updates cycle.

Thanks,
Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#27914; Package guix-patches. (Mon, 04 Sep 2017 13:21:01 GMT) Full text and rfc822 format available.

Message #11 received at 27914 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Mathieu Othacehe <m.othacehe <at> gmail.com>
Cc: 27914 <at> debbugs.gnu.org
Subject: Re: [bug#27914] [PATCH] guix: Fix Guile current-processor-count
 deprecation warnings.
Date: Mon, 04 Sep 2017 15:19:31 +0200
ludo <at> gnu.org (Ludovic Courtès) skribis:

> Mathieu Othacehe <m.othacehe <at> gmail.com> skribis:
>
>> 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.
>
> The (guix store) part is OK for master, but the (guix build utils) will
> have to wait until the next core-updates cycle.

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

Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#27914; Package guix-patches. (Tue, 05 Sep 2017 07:01:02 GMT) Full text and rfc822 format available.

Message #14 received at 27914 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <m.othacehe <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 27914 <at> debbugs.gnu.org
Subject: Re: [bug#27914] [PATCH] guix: Fix Guile current-processor-count
 deprecation warnings.
Date: Tue, 05 Sep 2017 09:00:01 +0200
> Now’s the time to push to ‘core-updates’!

Ok I'll take care of it tonight.

Thanks for the reminder,

Mathieu




Reply sent to Mathieu Othacehe <m.othacehe <at> gmail.com>:
You have taken responsibility. (Tue, 05 Sep 2017 18:46:01 GMT) Full text and rfc822 format available.

Notification sent to Mathieu Othacehe <m.othacehe <at> gmail.com>:
bug acknowledged by developer. (Tue, 05 Sep 2017 18:46:01 GMT) Full text and rfc822 format available.

Message #19 received at 27914-done <at> debbugs.gnu.org (full text, mbox):

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 04 Oct 2017 11:24:04 GMT) Full text and rfc822 format available.

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.