Subject: Re: bug#70624: Cannot reconfigure: Wrong type argument in position 1 (expecting struct): (#<package [email-masked] gnu/packages/wm.scm:2397 7fe5218a9370> "lib")

From: Maxim Cournoyer <[email-masked]>
Date: Sun, 28 Apr 2024 10:48:39 -0400

Hi,

Simen Endsjø <[email-masked]> writes:

> Guix commit 4178eaf
>
> Backtrace:
> In guix/ui.scm:
>    2312:7 19 (run-guix . _)
>   2275:10 18 (run-guix-command _ . _)
> In ice-9/boot-9.scm:
>   1752:10 17 (with-exception-handler _ _ #:unwind? _ # _)
> In guix/status.scm:
>     859:3 16 (_)
>     839:4 15 (call-with-status-report _ _)
> In guix/scripts/system.scm:
>    1310:4 14 (_)
> In ice-9/boot-9.scm:
>   1752:10 13 (with-exception-handler _ _ #:unwind? _ # _)
> In guix/store.scm:
>    666:37 12 (thunk)
>    1302:8 11 (call-with-build-handler #<procedure 7fe52fd89390 at g…> …)
>   2182:25 10 (run-with-store #<store-connection 256.100 7fe5137aa0f0> …)
> In guix/scripts/system.scm:
>     852:2  9 (_ _)
>     726:8  8 (_ #<store-connection 256.100 7fe5137aa0f0>)
> In gnu/system.scm:
>   1327:19  7 (operating-system-derivation _)
>    863:11  6 (operating-system-services #<<operating-system> kernel:…>)
>    819:20  5 (operating-system-default-essential-services #<<operati…>)
>    327:35  4 (operating-system-packages _)
> In unknown file:
>            3 (filter #<procedure 7fe5194db818 at gnu/system.scm:327…> …)
> In gnu/system.scm:
>    328:67  2 (_ (#<package [email-masked] gnu/packages/wm.scm:2397…> …))
> In ice-9/boot-9.scm:
>   1685:16  1 (raise-exception _ #:continuable? _)
>   1685:16  0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> In procedure struct-vtable: Wrong type argument in position 1
> (expecting struct): (#<package [email-masked] gnu/packages/wm.scm:2397
> 7fe5218a9370> "lib")

This should now be fixed, thanks to Nathan for the investigation &
patch.

-- 
Thanks,
Maxim