Subject: bug#50461: [core-updates-frozen] backtrace on `guix package -A'

From: Ludovic Courtès <[email-masked]>
Date: Tue, 07 Sep 2021 21:35:06 +0200

Hi,

Sarah Morgensen <[email-masked]> skribis:

> I'm getting a backtrace on `guix package -A'.  The argument doesn't seem
> to matter, and `guix package -s' works fine.

[...]

> In gnu/packages/tex.scm:
>   4104:26  1 (_ _ _)
> In ice-9/boot-9.scm:
>   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): #<syntax-transformer texlive-latex-hyperref>

I believe rebuilding will fix it:

  rm gnu/packages/*.go && make -j4

The reason is that bindings of deprecated packages like
‘texlive-latex-hyperref’ changed from regular bindings to macros; here
Guile stumbles upon the macro at run time when it instead expects a
<package> record.

Thanks,
Ludo’.