unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#27914] [PATCH] guix: Fix Guile current-processor-count deprecation warnings.
@ 2017-08-02 13:30 Mathieu Othacehe
  2017-08-05 21:20 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Mathieu Othacehe @ 2017-08-02 13:30 UTC (permalink / raw)
  To: 27914

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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#27914] [PATCH] guix: Fix Guile current-processor-count deprecation warnings.
  2017-08-02 13:30 [bug#27914] [PATCH] guix: Fix Guile current-processor-count deprecation warnings Mathieu Othacehe
@ 2017-08-05 21:20 ` Ludovic Courtès
  2017-09-04 13:19   ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2017-08-05 21:20 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 27914

Hi!

Mathieu Othacehe <m.othacehe@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’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#27914] [PATCH] guix: Fix Guile current-processor-count deprecation warnings.
  2017-08-05 21:20 ` Ludovic Courtès
@ 2017-09-04 13:19   ` Ludovic Courtès
  2017-09-05  7:00     ` Mathieu Othacehe
  2017-09-05 18:45     ` bug#27914: " Mathieu Othacehe
  0 siblings, 2 replies; 5+ messages in thread
From: Ludovic Courtès @ 2017-09-04 13:19 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 27914

ludo@gnu.org (Ludovic Courtès) skribis:

> Mathieu Othacehe <m.othacehe@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’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#27914] [PATCH] guix: Fix Guile current-processor-count deprecation warnings.
  2017-09-04 13:19   ` Ludovic Courtès
@ 2017-09-05  7:00     ` Mathieu Othacehe
  2017-09-05 18:45     ` bug#27914: " Mathieu Othacehe
  1 sibling, 0 replies; 5+ messages in thread
From: Mathieu Othacehe @ 2017-09-05  7:00 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 27914


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

Ok I'll take care of it tonight.

Thanks for the reminder,

Mathieu

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#27914: [PATCH] guix: Fix Guile current-processor-count deprecation warnings.
  2017-09-04 13:19   ` Ludovic Courtès
  2017-09-05  7:00     ` Mathieu Othacehe
@ 2017-09-05 18:45     ` Mathieu Othacehe
  1 sibling, 0 replies; 5+ messages in thread
From: Mathieu Othacehe @ 2017-09-05 18:45 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 27914-done


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

Done !

Mathieu

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-09-05 18:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-02 13:30 [bug#27914] [PATCH] guix: Fix Guile current-processor-count deprecation warnings Mathieu Othacehe
2017-08-05 21:20 ` Ludovic Courtès
2017-09-04 13:19   ` Ludovic Courtès
2017-09-05  7:00     ` Mathieu Othacehe
2017-09-05 18:45     ` bug#27914: " Mathieu Othacehe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).