unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#51415] [PATCH] In the Artanis package the propagated input of guile-json is conflicting with guix, and no series of guix upgrades or guix installs seems to fix this. Therefore, I moved guile-json from a propagated input to an input, which solves the issue, but may not be ideal for people who don't wish to keep multiple copies of guile-json
@ 2021-10-26 12:46 Blake Shaw via Guix-patches via
  2021-10-26 17:46 ` Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Blake Shaw via Guix-patches via @ 2021-10-26 12:46 UTC (permalink / raw)
  To: 51415; +Cc: Blake Shaw

---
 gnu/packages/guile-xyz.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 355b23f57e..2d08739287 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -169,14 +169,14 @@ (define-public artanis
     (inputs
      `(("guile" ,guile-3.0)
        ("nspr" ,nspr)
-       ("nss" ,nss)))
+       ("nss" ,nss)
+       ("guile-json" ,guile-json-3)))
     ;; FIXME the bundled csv contains one more exported procedure
     ;; (sxml->csv-string) than guile-csv. The author is maintainer of both
     ;; projects.
     ;; TODO: Add guile-dbi and guile-dbd optional dependencies.
     (propagated-inputs
-     `(("guile-json" ,guile-json-3)
-       ("guile-readline" ,guile-readline)
+     `(("guile-readline" ,guile-readline)
        ("guile-redis" ,guile-redis)))
     (native-inputs
      `(("bash"       ,bash)         ;for the `source' builtin
@@ -4870,4 +4870,4 @@ (define-public guile-netlink
 It provides a generic library for writing implementations of a netlink
 protocol, a low-level rtnetlink implementation that uses that library and a
 high-level API for network management that uses rtnetlink.")
-    (license license:gpl3+)))
+    (license license:gpl3+))) 
-- 
2.32.0





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

* [bug#51415] [PATCH] In the Artanis package the propagated input of guile-json is conflicting with guix, and no series of guix upgrades or guix installs seems to fix this. Therefore, I moved guile-json from a propagated input to an input, which solves the issue, but may not be ideal for people who don't wish to keep multiple copies of guile-json
  2021-10-26 12:46 [bug#51415] [PATCH] In the Artanis package the propagated input of guile-json is conflicting with guix, and no series of guix upgrades or guix installs seems to fix this. Therefore, I moved guile-json from a propagated input to an input, which solves the issue, but may not be ideal for people who don't wish to keep multiple copies of guile-json Blake Shaw via Guix-patches via
@ 2021-10-26 17:46 ` Leo Famulari
  2021-11-08 21:08   ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2021-10-26 17:46 UTC (permalink / raw)
  To: Blake Shaw; +Cc: 51415

On Tue, Oct 26, 2021 at 07:46:02PM +0700, Blake Shaw via Guix-patches via wrote:
> In the Artanis package the propagated input of guile-json is
> conflicting with guix, and no series of guix upgrades or guix installs
> seems to fix this. Therefore, I moved guile-json from a propagated
> input to an input, which solves the issue, but may not be ideal for
> people who don't wish to keep multiple copies of guile-json

Thanks for the report... can you share the warnings or error messages
that you are seeing?

It's likely that guile-json is propagated for a good reason, and that
not propagating it would cause problems for artanis users. Maybe there
is another way to solve the problem that you're experiencing.




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

* [bug#51415] [PATCH] In the Artanis package the propagated input of guile-json is conflicting with guix, and no series of guix upgrades or guix installs seems to fix this. Therefore, I moved guile-json from a propagated input to an input, which solves the issue, but may not be ideal for people who don't wish to keep multiple copies of guile-json
  2021-10-26 17:46 ` Leo Famulari
@ 2021-11-08 21:08   ` Ludovic Courtès
  2023-01-03 22:34     ` Maxim Cournoyer
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2021-11-08 21:08 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 51415, Blake Shaw

Hi,

Leo Famulari <leo@famulari.name> skribis:

> On Tue, Oct 26, 2021 at 07:46:02PM +0700, Blake Shaw via Guix-patches via wrote:
>> In the Artanis package the propagated input of guile-json is
>> conflicting with guix, and no series of guix upgrades or guix installs
>> seems to fix this. Therefore, I moved guile-json from a propagated
>> input to an input, which solves the issue, but may not be ideal for
>> people who don't wish to keep multiple copies of guile-json
>
> Thanks for the report... can you share the warnings or error messages
> that you are seeing?

I think the problem Blake describes is this:

--8<---------------cut here---------------start------------->8---
$ guix install artanis guix -p /tmp/test
La jenaj pakoj estos instalataj:
    artanis 0.5
   guix    1.3.0-11.014f1b6

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

Removing Guix from that profile solves the problem:

--8<---------------cut here---------------start------------->8---
$ guix install artanis  -p /tmp/test
La jena pako estos instalata:
    artanis 0.5

La jena derivaĵo estos konstruata:
   /gnu/store/jgd870rpvgxjqnlbsnlqya0libg1107v-profile.drv

building profile with 1 package...

[...]
--8<---------------cut here---------------end--------------->8---

> It's likely that guile-json is propagated for a good reason, and that
> not propagating it would cause problems for artanis users. Maybe there
> is another way to solve the problem that you're experiencing.

Yeah, though it seems that the ‘wrap-art’ phase already does the right
thing.

Blake, could you confirm that Artanis is still usable after this change,
even when guile-json is not around in GUILE_LOAD_PATH?

Thanks,
Ludo’.




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

* [bug#51415] [PATCH] In the Artanis package the propagated input of guile-json is conflicting with guix, and no series of guix upgrades or guix installs seems to fix this. Therefore, I moved guile-json from a propagated input to an input, which solves the issue, but may not be ideal for people who don't wish to keep multiple copies of guile-json
  2021-11-08 21:08   ` Ludovic Courtès
@ 2023-01-03 22:34     ` Maxim Cournoyer
  0 siblings, 0 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2023-01-03 22:34 UTC (permalink / raw)
  To: Blake Shaw; +Cc: Ludovic Courtès, 51415, Leo Famulari

Hello Blake,

[...]

> Blake, could you confirm that Artanis is still usable after this change,
> even when guile-json is not around in GUILE_LOAD_PATH?

Friendly ping, regarding the above question from Ludovic.

-- 
Thanks,
Maxim




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

end of thread, other threads:[~2023-01-03 22:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-26 12:46 [bug#51415] [PATCH] In the Artanis package the propagated input of guile-json is conflicting with guix, and no series of guix upgrades or guix installs seems to fix this. Therefore, I moved guile-json from a propagated input to an input, which solves the issue, but may not be ideal for people who don't wish to keep multiple copies of guile-json Blake Shaw via Guix-patches via
2021-10-26 17:46 ` Leo Famulari
2021-11-08 21:08   ` Ludovic Courtès
2023-01-03 22:34     ` Maxim Cournoyer

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