GNU bug report logs - #41069
cyclically dependent channels crashes guix pull

Previous Next

Package: guix;

Reported by: Martin Becze <mjbecze <at> riseup.net>

Date: Mon, 4 May 2020 02:40:01 UTC

Severity: normal

To reply to this bug, email your comments to 41069 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#41069; Package guix. (Mon, 04 May 2020 02:40:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Martin Becze <mjbecze <at> riseup.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 04 May 2020 02:40:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Martin Becze <mjbecze <at> riseup.net>
To: bug-guix <at> gnu.org
Subject: cyclically dependent channels crashes guix pull
Date: Sun, 3 May 2020 21:38:48 -0500
Cyclically dependent channels crashes guix pull. Cyclically dependent
channels probably shouldn't happen, but guix pull probably shouldn't go
into an endless loop and die either.

Cheers!,
-Martin




Information forwarded to bug-guix <at> gnu.org:
bug#41069; Package guix. (Mon, 04 May 2020 16:17:01 GMT) Full text and rfc822 format available.

Message #8 received at 41069 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Martin Becze <mjbecze <at> riseup.net>, 41069 <at> debbugs.gnu.org
Subject: Re: bug#41069: cyclically dependent channels crashes guix pull
Date: Mon, 04 May 2020 18:16:02 +0200
[Message part 1 (text/plain, inline)]
Martin Becze <mjbecze <at> riseup.net> writes:

> Cyclically dependent channels crashes guix pull. Cyclically dependent
> channels probably shouldn't happen, but guix pull probably shouldn't go
> into an endless loop and die either.

Can you provide a channel configuration that reproduces this?
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#41069; Package guix. (Mon, 04 May 2020 17:07:02 GMT) Full text and rfc822 format available.

Message #11 received at 41069 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 41069 <at> debbugs.gnu.org, Martin Becze <mjbecze <at> riseup.net>
Subject: Re: bug#41069: cyclically dependent channels crashes guix pull
Date: Mon, 4 May 2020 19:06:16 +0200
On Mon, 4 May 2020 at 18:23, Marius Bakke <mbakke <at> fastmail.com> wrote:
>
> Martin Becze <mjbecze <at> riseup.net> writes:
>
> > Cyclically dependent channels crashes guix pull. Cyclically dependent
> > channels probably shouldn't happen, but guix pull probably shouldn't go
> > into an endless loop and die either.
>
> Can you provide a channel configuration that reproduces this?

When one channel depends on another one which depends on the first.

This /tmp/channel1/ contains this .guix-channel

--8<---------------cut here---------------start------------->8---
(channel
 (version 0)
 (dependencies
  (channel
   (name channel2-from-channel1)
   (url "file:///tmp/channel2")
   (branch "master"))))
--8<---------------cut here---------------end--------------->8---


This /tmp/channel2/ contains this .guix-channel

--8<---------------cut here---------------start------------->8---
(channel
 (version 0)
 (dependencies
  (channel
   (name channel1-from-channel2)
   (url "file:///tmp/channel1")
   (branch "master"))))
--8<---------------cut here---------------end--------------->8---

And for example, the file 'my-channels.scm' contains:

--8<---------------cut here---------------start------------->8---
(list
 (channel
  (name 'channel1)
  (url "file:///tmp/channel1")
  (branch "master"))
 (channel
  (name 'channel2)
  (url "file:///tmp/channel2")
  (branch "master"))
 (channel
  (name 'guix)
  (url "https://git.savannah.gnu.org/git/guix.git")
  (commit "aea6ab2f4ca060e68f8539cd612b0ce088627557")))
--8<---------------cut here---------------end--------------->8---


Then guix pull -C /tmp/my-channels.scm will be "Updating ..." for ever. :-)



Hope that helps.

All the best,
simon




This bug report was last modified 5 years and 39 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.