bug-artanis
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

collisions with guile-json propagated input in Guix


From: Blake Shaw
Subject: collisions with guile-json propagated input in Guix
Date: Tue, 26 Oct 2021 21:18:31 +0700

你好同志!!
Xin chào đồng chí! Greetings from Hà Nội, good to know we have friends hacking 
the good hack on Guile nearby. I've been editing the docs, correcting basic 
grammar mistakes along the way, and sent the patches to mulei@gnu.org

But I've run into a collision issue installing artanis on guix.

The artanis package's propagated input (guile-json-3.0) collides with guix's 
propagated input (guile-json-4.5.2)  

```
The following package will be installed:
   artanis 0.4.1

guix install: error: profile contains conflicting entries for guile-json
guix install: error:   first entry: guile-json@1.3.2 
/gnu/store/xmsbfjnjj1gvlq62flwf137d7k7sxlas-guile-json-1.3.2
guix install: error:    ... propagated from artanis@0.4.1
guix install: error:   second entry: guile-json@4.5.2 
/gnu/store/lxbvzmdcv82ik37z4np3c45p11iic7qx-guile-json-4.5.2
guix install: error:    ... propagated from guix@1.3.0-4.4985a42
hint: Try upgrading both `artanis' and `guix', or remove one of them from the
profile.
```
its the same if I try the newer definition (0.5) from my guix checkout:

```
The following package will be installed:
   artanis 0.5

guix install: error: profile contains conflicting entries for guile-json
guix install: error:   first entry: guile-json@3.5.0 
/gnu/store/6s765nvcy77cla92wxzwhakglzlpv362-guile-json-3.5.0
guix install: error:    ... propagated from artanis@0.5
guix install: error:   second entry: guile-json@4.5.2 
/gnu/store/lxbvzmdcv82ik37z4np3c45p11iic7qx-guile-json-4.5.2
guix install: error:    ... propagated from guix@1.3.0-4.4985a42
hint: Try upgrading both `artanis' and `guix', or remove one of them from the
profile.
```

I moved guile-json-3.0 from propagated input to normal input, and it installs 
(I submitted a patch to guix upstream, perphaps too early, as we will see)

Then I launch guile and try to use artanis:

```
->> ,use (artanis artanis)
While executing meta-command:
Undefined variable: json-parser?
```
Sure, we need to import guile-json explicitly now because it didn't propagate:

```
->> ,use (json parser)
->> ,use (artanis artanis)
->> (init-server)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Unbound variable: init-server
->> ,a init-server
(artanis artanis): init-server  (unbound)
```
So now the module shows as unbound.

How should we go about fixing this?

Thanks! Happy hacking.

Blake



reply via email to

[Prev in Thread] Current Thread [Next in Thread]