* bug#50461: [core-updates-frozen] backtrace on `guix package -A'
@ 2021-09-07 18:11 Sarah Morgensen
2021-09-07 19:35 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Sarah Morgensen @ 2021-09-07 18:11 UTC (permalink / raw)
To: 50461
Hello Guix,
I'm getting a backtrace on `guix package -A'. The argument doesn't seem
to matter, and `guix package -s' works fine.
--8<---------------cut here---------------start------------->8---
sarah@gnu ~/guix-cu-frozen [env]$ ./pre-inst-env guix describe
Git checkout:
repository: /home/sarah/guix/.git/worktrees
branch: HEAD
commit: 445eec918332c1b8d4a6ba4baf1322e13076029b
sarah@gnu ~/guix-cu-frozen [env]$ ./pre-inst-env guix package -A foo
Backtrace:
In srfi/srfi-1.scm:
460:18 19 (fold #<procedure 7f2a479a8a20 at guix/packages.scm:10…> …)
In guix/packages.scm:
1088:40 18 (_ _ ("x86_64-linux" "i686-linux"))
In guix/memoization.scm:
100:0 17 (_ #<hash-table 7f2a53d73380 331/443> (#<package co…> …) …)
In guix/packages.scm:
1084:10 16 (_)
In srfi/srfi-1.scm:
460:18 15 (fold #<procedure 7f2a47a1a1e0 at guix/packages.scm:10…> …)
In guix/packages.scm:
1088:40 14 (_ _ ("x86_64-linux" "i686-linux"))
In guix/memoization.scm:
100:0 13 (_ #<hash-table 7f2a53d73380 331/443> (#<package gt…> …) …)
In guix/packages.scm:
1084:10 12 (_)
In srfi/srfi-1.scm:
460:18 11 (fold #<procedure 7f2a47a1a1b0 at guix/packages.scm:10…> …)
In guix/packages.scm:
1088:40 10 (_ _ ("x86_64-linux" "i686-linux"))
In guix/memoization.scm:
100:0 9 (_ #<hash-table 7f2a53d73380 331/443> (#<package db…> …) …)
In guix/packages.scm:
1092:35 8 (_)
1331:16 7 (package->bag _ _ _ #:graft? _)
1432:48 6 (thunk)
In gnu/packages/docbook.scm:
479:28 5 (inputs #<package dblatex@0.3.12 gnu/packages/docbook.s…>)
405:19 4 (inputs #<package dblatex@0.3.12 gnu/packages/docbook.s…>)
In gnu/packages/tex.scm:
4103:18 3 (texlive-updmap.cfg _)
In srfi/srfi-1.scm:
460:18 2 (fold #<procedure 7f2a4e4d22b0 at gnu/packages/tex.scm…> …)
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>
--8<---------------cut here---------------end--------------->8---
--
Sarah
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#50461: [core-updates-frozen] backtrace on `guix package -A'
2021-09-07 18:11 bug#50461: [core-updates-frozen] backtrace on `guix package -A' Sarah Morgensen
@ 2021-09-07 19:35 ` Ludovic Courtès
2021-09-07 19:53 ` Sarah Morgensen
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2021-09-07 19:35 UTC (permalink / raw)
To: Sarah Morgensen; +Cc: 50461
Hi,
Sarah Morgensen <iskarian@mgsn.dev> 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’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#50461: [core-updates-frozen] backtrace on `guix package -A'
2021-09-07 19:35 ` Ludovic Courtès
@ 2021-09-07 19:53 ` Sarah Morgensen
0 siblings, 0 replies; 3+ messages in thread
From: Sarah Morgensen @ 2021-09-07 19:53 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 50461-done
Hi,
Ludovic Courtès <ludo@gnu.org> writes:
> Hi,
>
> Sarah Morgensen <iskarian@mgsn.dev> 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
That fixed it. Sorry for the alarm!
(It seems that "make" for guix/guile is not very good at determining
what needs to be recompiled... this isn't the first time "make"
succeeded by still caused issues.)
--
Sarah
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-09-07 19:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-07 18:11 bug#50461: [core-updates-frozen] backtrace on `guix package -A' Sarah Morgensen
2021-09-07 19:35 ` Ludovic Courtès
2021-09-07 19:53 ` Sarah Morgensen
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).