GNU bug report logs - #57480
Wrong Type To Apply on Reconfigure

Previous Next

Package: guix;

Reported by: Christopher Rodriguez <yewscion <at> gmail.com>

Date: Tue, 30 Aug 2022 03:05:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57480 in the body.
You can then email your comments to 57480 AT debbugs.gnu.org in the normal way.

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#57480; Package guix. (Tue, 30 Aug 2022 03:05:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Rodriguez <yewscion <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 30 Aug 2022 03:05:01 GMT) Full text and rfc822 format available.

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

From: Christopher Rodriguez <yewscion <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: Wrong Type To Apply on Reconfigure
Date: Mon, 29 Aug 2022 23:01:46 -0400
[Message part 1 (text/plain, inline)]
Hello All,

A change made in b084398 is preventing both my system and home
configurations from building with a Wrong Type to Apply error. Did the
channel spec format change with the changes in that commit?

Here's my channels.scm: https://paste.debian.net/1252097/

And here's the error message for any commit after b084398:
https://paste.debian.net/1252096/


--

Christopher Rodriguez
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#57480; Package guix. (Tue, 30 Aug 2022 06:22:01 GMT) Full text and rfc822 format available.

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

From: Julien Lepiller <julien <at> lepiller.eu>
To: Christopher Rodriguez <yewscion <at> gmail.com>
Cc: 57480 <at> debbugs.gnu.org
Subject: Re: bug#57480: Wrong Type To Apply on Reconfigure
Date: Tue, 30 Aug 2022 08:20:45 +0200
I don't know how to fix it, but here is what I think is the issue:

in guix/scripts/system/reconfigure.scm:

#:autoload   (guix describe) (current-channels)
...
(define* (check-forward-update ...
           (current-channels ...))
  (define new (current-channels)) ; this is supposed to be the
         ; autoloaded procedure, but it's the keyword argument
         ; which is a list
  ... ; uses of current-channels, the keyword argument

Le Mon, 29 Aug 2022 23:01:46 -0400,
Christopher Rodriguez <yewscion <at> gmail.com> a écrit :

> Hello All,
> 
> A change made in b084398 is preventing both my system and home
> configurations from building with a Wrong Type to Apply error. Did the
> channel spec format change with the changes in that commit?
> 
> Here's my channels.scm: https://paste.debian.net/1252097/
> 
> And here's the error message for any commit after b084398:
> https://paste.debian.net/1252096/
> 
> 
> --
> 
> Christopher Rodriguez





Information forwarded to bug-guix <at> gnu.org:
bug#57480; Package guix. (Tue, 30 Aug 2022 06:50:02 GMT) Full text and rfc822 format available.

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

From: 宋文武 <iyzsong <at> envs.net>
To: Julien Lepiller <julien <at> lepiller.eu>
Cc: Christopher Rodriguez <yewscion <at> gmail.com>, 57480 <at> debbugs.gnu.org,
 ludo <at> gnu.org
Subject: Re: bug#57480: Wrong Type To Apply on Reconfigure
Date: Tue, 30 Aug 2022 14:49:46 +0800
Julien Lepiller <julien <at> lepiller.eu> writes:

> I don't know how to fix it, but here is what I think is the issue:
>
> in guix/scripts/system/reconfigure.scm:
>
> #:autoload   (guix describe) (current-channels)
> ...
> (define* (check-forward-update ...
>            (current-channels ...))
>   (define new (current-channels)) ; this is supposed to be the
>          ; autoloaded procedure, but it's the keyword argument
>          ; which is a list
>   ... ; uses of current-channels, the keyword argument
>
> Le Mon, 29 Aug 2022 23:01:46 -0400,
> Christopher Rodriguez <yewscion <at> gmail.com> a écrit :
>
>> Hello All,
>> 
>> A change made in b084398 is preventing both my system and home
>> configurations from building with a Wrong Type to Apply error. Did the
>> channel spec format change with the changes in that commit?

Hello, I revert the commit b084398 for now.




Information forwarded to bug-guix <at> gnu.org:
bug#57480; Package guix. (Tue, 30 Aug 2022 10:27:02 GMT) Full text and rfc822 format available.

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

From: Wiktor Żelazny <wz <at> freeshell.de>
To: 宋文武 <iyzsong <at> envs.net>
Cc: Julien Lepiller <julien <at> lepiller.eu>, 57480 <at> debbugs.gnu.org, ludo <at> gnu.org,
 Christopher Rodriguez <yewscion <at> gmail.com>
Subject: Re: bug#57480: Wrong Type To Apply on Reconfigure
Date: Tue, 30 Aug 2022 12:26:49 +0200
[Message part 1 (text/plain, inline)]
On Tue, Aug 30, 2022 at 02:49:46PM +0800, 宋文武 wrote:

> >> A change made in b084398 is preventing both my system and home
> >> configurations from building with a Wrong Type to Apply error. Did the
> >> channel spec format change with the changes in that commit?
>
> I revert the commit b084398 for now.

Hello,

I’ve got the same problem, and the revert does not seem to help. Isn’t
9096bc28, which modifies gnu/services.scm, the root of the problem?

WŻ
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#57480; Package guix. (Tue, 30 Aug 2022 15:10:01 GMT) Full text and rfc822 format available.

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

From: John Kehayias <john.kehayias <at> protonmail.com>
To: 宋文武 <iyzsong <at> envs.net>, 57480 <at> debbugs.gnu.org
Cc: Julien Lepiller <julien <at> lepiller.eu>, ludo <at> gnu.org,
 Christopher Rodriguez <yewscion <at> gmail.com>
Subject: Re: bug#57480: Wrong Type To Apply on Reconfigure
Date: Tue, 30 Aug 2022 15:09:18 +0000
Hello,

On Tue, Aug 30, 2022 at 02:49 PM, 宋文武 wrote:

> Julien Lepiller <julien <at> lepiller.eu> writes:
>
>> I don't know how to fix it, but here is what I think is the issue:
>>
>> in guix/scripts/system/reconfigure.scm:
>>
>> #:autoload   (guix describe) (current-channels)
>> ...
>> (define* (check-forward-update ...
>>            (current-channels ...))
>>   (define new (current-channels)) ; this is supposed to be the
>>          ; autoloaded procedure, but it's the keyword argument
>>          ; which is a list
>>   ... ; uses of current-channels, the keyword argument
>>
>> Le Mon, 29 Aug 2022 23:01:46 -0400,
>> Christopher Rodriguez <yewscion <at> gmail.com> a écrit :
>>
>>> Hello All,
>>>
>>> A change made in b084398 is preventing both my system and home
>>> configurations from building with a Wrong Type to Apply error. Did the
>>> channel spec format change with the changes in that commit?
>
> Hello, I revert the commit b084398 for now.

Thanks, I was able to reconfigure after a guix pull to
466038b2e552f5550252afb1a22e3936bc455cfc

John





Information forwarded to bug-guix <at> gnu.org:
bug#57480; Package guix. (Tue, 30 Aug 2022 18:01:02 GMT) Full text and rfc822 format available.

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

From: Christopher Rodriguez <yewscion <at> gmail.com>
To: Wiktor Żelazny <wz <at> freeshell.de>
Cc: Julien Lepiller <julien <at> lepiller.eu>, 57480 <at> debbugs.gnu.org, ludo <at> gnu.org,
 Christopher Rodriguez <yewscion <at> gmail.com>,
 宋文武 <iyzsong <at> envs.net>
Subject: Re: bug#57480: Wrong Type To Apply on Reconfigure
Date: Tue, 30 Aug 2022 13:58:35 -0400
[Message part 1 (text/plain, inline)]
Wiktor Żelazny <wz <at> freeshell.de> writes:

> I’ve got the same problem, and the revert does not seem to help. Isn’t
> 9096bc28, which modifies gnu/services.scm, the root of the problem?

I was able to successfully reconfigure with the 9096bc28 commit, but
maybe I don't use what was changed in it in my configurations.

They /do/ seem related, but I am not familiar enough with what was
changed to speculate as to a solution for either issue.

--

Christopher Rodriguez
[signature.asc (application/pgp-signature, inline)]

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Wed, 31 Aug 2022 11:08:01 GMT) Full text and rfc822 format available.

Notification sent to Christopher Rodriguez <yewscion <at> gmail.com>:
bug acknowledged by developer. (Wed, 31 Aug 2022 11:08:02 GMT) Full text and rfc822 format available.

Message #25 received at 57480-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: 宋文武 <iyzsong <at> envs.net>
Cc: Julien Lepiller <julien <at> lepiller.eu>,
 Christopher Rodriguez <yewscion <at> gmail.com>, 57480-done <at> debbugs.gnu.org
Subject: Re: bug#57480: Wrong Type To Apply on Reconfigure
Date: Wed, 31 Aug 2022 13:07:12 +0200
Hi,

宋文武 <iyzsong <at> envs.net> skribis:

> Julien Lepiller <julien <at> lepiller.eu> writes:
>
>> I don't know how to fix it, but here is what I think is the issue:
>>
>> in guix/scripts/system/reconfigure.scm:
>>
>> #:autoload   (guix describe) (current-channels)
>> ...
>> (define* (check-forward-update ...
>>            (current-channels ...))
>>   (define new (current-channels)) ; this is supposed to be the
>>          ; autoloaded procedure, but it's the keyword argument
>>          ; which is a list
>>   ... ; uses of current-channels, the keyword argument
>>
>> Le Mon, 29 Aug 2022 23:01:46 -0400,
>> Christopher Rodriguez <yewscion <at> gmail.com> a écrit :
>>
>>> Hello All,
>>> 
>>> A change made in b084398 is preventing both my system and home
>>> configurations from building with a Wrong Type to Apply error. Did the
>>> channel spec format change with the changes in that commit?
>
> Hello, I revert the commit b084398 for now.

Thanks for the quick reaction.

As Julien wrote, the code referred to the wrong ‘current-channels’.
Fixed in 270e1b9e1ea2b3e41067a38b094b0656ceb56838.

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 28 Sep 2022 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 210 days ago.

Previous Next


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