unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: divoplade <d@divoplade.fr>
To: zimoun <zimon.toutoune@gmail.com>, 44452@debbugs.gnu.org
Subject: bug#44452: Clash between guile-3.0 and guile-3.0-latest
Date: Thu, 05 Nov 2020 08:39:57 +0100	[thread overview]
Message-ID: <e6439be3cf9937369293886fb1766df4198875e9.camel@divoplade.fr> (raw)
In-Reply-To: <86r1p8g9pk.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 535 bytes --]

Le mercredi 04 novembre 2020 à 21:15 +0100, zimoun a écrit :
> > The fix would be to deprecate guile-3.0-latest as an alias for
> > guile-
> > 3.0, and use the 3.0.4 version in guile-3.0.
> 
> I have not checked, but this proposal could lead to a world rebuild.

With this fix, yes, it leads to a world rebuild, but it was marked in a
TODO anyway. I don't know if it fully solves the problem just yet,
because I'm downloading 400MB of world rebuilding with my connection at
180 KB/s, but I have good hopes!

Best regards,

divoplade

[-- Attachment #2: 0001-gnu-upgrade-guile-to-3.0.4.patch --]
[-- Type: text/x-patch, Size: 2081 bytes --]

From 42e2d64533c018a61db8408b5ae22312b210f7cc Mon Sep 17 00:00:00 2001
From: divoplade <d@divoplade.fr>
Date: Thu, 5 Nov 2020 08:25:46 +0100
Subject: [PATCH] gnu: upgrade guile to 3.0.4

It is impossible to have guile-3.0 installed as a package in the system
configuration, because it is incompatible with guile-3.0-latest which is used
by the system (see bug 44452). By having the same version, it works.
---
 gnu/packages/guile.scm | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 6d93d7432f..ff943dd6de 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -284,14 +284,14 @@ without requiring the source code to be rewritten.")
   (package
     (inherit guile-2.2)
     (name "guile")
-    (version "3.0.2")
+    (version "3.0.4")
     (source (origin
               (inherit (package-source guile-2.2))
               (uri (string-append "mirror://gnu/guile/guile-"
                                   version ".tar.xz"))
               (sha256
                (base32
-                "12lziar4j27j9whqp2n18427q45y9ghq7gdd8lqhmj1k0lr7vi2k"))))
+                "0c8dkyvs6xbxp7rgnhkyakajzhakay7qn9kahj1mj49x5vf4fybb"))))
     (arguments
      ;; XXX: JIT-enabled Guile crashes in obscure ways on GNU/Hurd.
      (if (hurd-target?)
@@ -309,17 +309,7 @@ without requiring the source code to be rewritten.")
                      "share/guile/site/3.0")))))))
 
 (define-public guile-3.0-latest
-  ;; TODO: Make this 'guile-3.0' on the next rebuild cycle.
-  (package
-    (inherit guile-3.0)
-    (version "3.0.4")
-    (source (origin
-              (inherit (package-source guile-3.0))
-              (uri (string-append "mirror://gnu/guile/guile-"
-                                  version ".tar.xz"))
-              (sha256
-               (base32
-                "0c8dkyvs6xbxp7rgnhkyakajzhakay7qn9kahj1mj49x5vf4fybb"))))))
+  (deprecated-package "guile-3.0-latest" guile-3.0))
 
 (define-public guile-next
   (deprecated-package "guile-next" guile-3.0))
-- 
2.29.2


  parent reply	other threads:[~2020-11-05  7:41 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-04 18:47 bug#44452: Clash between guile-3.0 and guile-3.0-latest divoplade
2020-11-04 20:15 ` zimoun
2020-11-05  7:02   ` divoplade
2020-11-05  7:39   ` divoplade [this message]
2020-11-05 10:29 ` Leo Prikler
2020-11-05 14:48   ` divoplade
2020-11-05 15:29     ` zimoun
2020-11-06 10:07 ` Ludovic Courtès
2020-11-06 10:22   ` divoplade
2020-12-01 21:41     ` zimoun
2020-12-01 21:56       ` divoplade
2020-12-01 22:19         ` zimoun
2020-12-02  9:10           ` divoplade
2020-12-02 11:11             ` zimoun
2020-12-02 11:48               ` divoplade
2020-12-02 12:50                 ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e6439be3cf9937369293886fb1766df4198875e9.camel@divoplade.fr \
    --to=d@divoplade.fr \
    --cc=44452@debbugs.gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).