Subject: Re: bug#54483: ‘guix systemimage’ chokes on host's /var

From: Maxime Devos <[email-masked]>
Date: Sun, 20 Mar 2022 20:57:24 +0100

Tobias Geerinckx-Rice via Bug reports for GNU Guix schreef op zo 20-03-
2022 om 20:26 [+0100]:
> ~/guix ⌥  v1.3.0-15828-gd5b4ca4445 λ ./pre-inst-env guix system image -t 
> iso9660 gnu/system/install.scm
> guix system: warning: unrecognized boot parameters at 
> '/var/guix/profiles/system-8-link/parameters'
> Backtrace:
> In ice-9/boot-9.scm:
>      152:2 19 (with-fluid* _ _ _)
> [...]
> ice-9/eval.scm:386:13 (a . rest)>)
>      152:2 15 (with-fluid* _ _ _)
>      152:2 14 (with-fluid* _ _ _)
>      152:2 13 (with-fluid* _ _ _)
> In unknown file:
>            12 (_ #<procedure 72f62714bc40 at ice-9/eval.scm:330:13 ()> 
> #<procedure 72f62714bbe0 at ice-9/eval…> …)
> In ice-9/eval.scm:
>     191:27 11 (_ #(#(#<directory (guix scripts system) 72f63f196140> 
> #<procedure 72f627144340 at ice-9/ev…>) …))
>      619:8 10 (_ #(#(#(#<directory (guix scripts system) 72f63f196140>) 
> image #<<image> name: #f format:…> …) …))
>     626:19  9 (_ #(#(#(#<directory (guix scripts system) 72f63f196140>) 
> image #<<image> name: #f format:…> …) …))
>      159:9  8 (_ #(#(#(#<directory (guix scripts system) 72f63f196140>) 
> image #<<image> name: #f format:…> …) …))

For a nicer backtrace, could you run "make" before "./pre-inst-env",
such that file name and line number information would be present in
the backtrace instead of all the (ice-9 eval)?

Greetings,
Maxime.