unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#57480: Wrong Type To Apply on Reconfigure
@ 2022-08-30  3:01 Christopher Rodriguez
  2022-08-30  6:20 ` Julien Lepiller
  2022-08-30 15:09 ` John Kehayias via Bug reports for GNU Guix
  0 siblings, 2 replies; 7+ messages in thread
From: Christopher Rodriguez @ 2022-08-30  3:01 UTC (permalink / raw)
  To: 57480

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


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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* bug#57480: Wrong Type To Apply on Reconfigure
  2022-08-30  3:01 bug#57480: Wrong Type To Apply on Reconfigure Christopher Rodriguez
@ 2022-08-30  6:20 ` Julien Lepiller
  2022-08-30  6:49   ` 宋文武 via Bug reports for GNU Guix
  2022-08-30 15:09 ` John Kehayias via Bug reports for GNU Guix
  1 sibling, 1 reply; 7+ messages in thread
From: Julien Lepiller @ 2022-08-30  6:20 UTC (permalink / raw)
  To: Christopher Rodriguez; +Cc: 57480

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@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





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

* bug#57480: Wrong Type To Apply on Reconfigure
  2022-08-30  6:20 ` Julien Lepiller
@ 2022-08-30  6:49   ` 宋文武 via Bug reports for GNU Guix
  2022-08-30 10:26     ` Wiktor Żelazny
  2022-08-31 11:07     ` Ludovic Courtès
  0 siblings, 2 replies; 7+ messages in thread
From: 宋文武 via Bug reports for GNU Guix @ 2022-08-30  6:49 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: Christopher Rodriguez, 57480, ludo

Julien Lepiller <julien@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@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.




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

* bug#57480: Wrong Type To Apply on Reconfigure
  2022-08-30  6:49   ` 宋文武 via Bug reports for GNU Guix
@ 2022-08-30 10:26     ` Wiktor Żelazny
  2022-08-30 17:58       ` Christopher Rodriguez
  2022-08-31 11:07     ` Ludovic Courtès
  1 sibling, 1 reply; 7+ messages in thread
From: Wiktor Żelazny @ 2022-08-30 10:26 UTC (permalink / raw)
  To: 宋文武
  Cc: Julien Lepiller, 57480, ludo, Christopher Rodriguez

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

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Ż

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

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

* bug#57480: Wrong Type To Apply on Reconfigure
  2022-08-30  3:01 bug#57480: Wrong Type To Apply on Reconfigure Christopher Rodriguez
  2022-08-30  6:20 ` Julien Lepiller
@ 2022-08-30 15:09 ` John Kehayias via Bug reports for GNU Guix
  1 sibling, 0 replies; 7+ messages in thread
From: John Kehayias via Bug reports for GNU Guix @ 2022-08-30 15:09 UTC (permalink / raw)
  To: 宋文武, 57480
  Cc: Julien Lepiller, ludo, Christopher Rodriguez

Hello,

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

> Julien Lepiller <julien@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@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





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

* bug#57480: Wrong Type To Apply on Reconfigure
  2022-08-30 10:26     ` Wiktor Żelazny
@ 2022-08-30 17:58       ` Christopher Rodriguez
  0 siblings, 0 replies; 7+ messages in thread
From: Christopher Rodriguez @ 2022-08-30 17:58 UTC (permalink / raw)
  To: Wiktor Żelazny
  Cc: Julien Lepiller, 57480, ludo, Christopher Rodriguez,
	宋文武

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


Wiktor Żelazny <wz@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* bug#57480: Wrong Type To Apply on Reconfigure
  2022-08-30  6:49   ` 宋文武 via Bug reports for GNU Guix
  2022-08-30 10:26     ` Wiktor Żelazny
@ 2022-08-31 11:07     ` Ludovic Courtès
  1 sibling, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2022-08-31 11:07 UTC (permalink / raw)
  To: 宋文武
  Cc: Julien Lepiller, Christopher Rodriguez, 57480-done

Hi,

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

> Julien Lepiller <julien@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@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’.




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

end of thread, other threads:[~2022-08-31 11:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-30  3:01 bug#57480: Wrong Type To Apply on Reconfigure Christopher Rodriguez
2022-08-30  6:20 ` Julien Lepiller
2022-08-30  6:49   ` 宋文武 via Bug reports for GNU Guix
2022-08-30 10:26     ` Wiktor Żelazny
2022-08-30 17:58       ` Christopher Rodriguez
2022-08-31 11:07     ` Ludovic Courtès
2022-08-30 15:09 ` John Kehayias via Bug reports for GNU Guix

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