[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/07: ui: Disable '%fresh-auto-compile' only for Guile 2.2.3.
From: |
Ludovic Courtès |
Subject: |
03/07: ui: Disable '%fresh-auto-compile' only for Guile 2.2.3. |
Date: |
Mon, 15 Jan 2018 17:29:40 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 92423868bc451600f8f3d93b638091d12b14b7aa
Author: Ludovic Courtès <address@hidden>
Date: Mon Jan 15 15:43:53 2018 +0100
ui: Disable '%fresh-auto-compile' only for Guile 2.2.3.
Mitigates <https://bugs.gnu.org/29881>.
Reported by Diego Nicola Barbato <address@hidden>.
* guix/ui.scm (load*): Unset '%fresh-auto-compile' only on Guile 2.2.3.
---
guix/ui.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/guix/ui.scm b/guix/ui.scm
index 8951797..fb2380b 100644
--- a/guix/ui.scm
+++ b/guix/ui.scm
@@ -195,7 +195,16 @@ messages."
(catch #t
(lambda ()
;; XXX: Force a recompilation to avoid ABI issues.
- ;; (set! %fresh-auto-compile #t)
+ ;;
+ ;; In 2.2.3, the bogus answer to <https://bugs.gnu.org/29226> was to
+ ;; ignore all available .go, not just those from ~/.cache, which in turn
+ ;; meant that we had to rebuild *everything*. Since this is too costly,
+ ;; we have to turn auto '%fresh-auto-compile' with that version, at the
+ ;; risk of getting ABI breakage in the user's config file. See
+ ;; <https://bugs.gnu.org/29881>.
+ (unless (string=? (version) "2.2.3")
+ (set! %fresh-auto-compile #t))
+
(set! %load-should-auto-compile #t)
(save-module-excursion
- branch master updated (b640370 -> c181636), Ludovic Courtès, 2018/01/15
- 01/07: offload: Look at machine loads for the past minute., Ludovic Courtès, 2018/01/15
- 03/07: ui: Disable '%fresh-auto-compile' only for Guile 2.2.3.,
Ludovic Courtès <=
- 07/07: services: bitlbee: Add test., Ludovic Courtès, 2018/01/15
- 02/07: doc: Connect "guix archive", "guix pack", and co., Ludovic Courtès, 2018/01/15
- 06/07: doc: Deprecate 'bitlbee-service' procedure., Ludovic Courtès, 2018/01/15
- 04/07: linux-container: Work around EBADF errors upon exit., Ludovic Courtès, 2018/01/15
- 05/07: services: bitlbee: Move to (gnu services messaging)., Ludovic Courtès, 2018/01/15