unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#31330: guix a2cfe broken after update from ~month old guix: util-linux-2.31.1: unbound variable
@ 2018-05-01 12:38 Martin Castillo
  2018-05-01 13:38 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Castillo @ 2018-05-01 12:38 UTC (permalink / raw)
  To: 31330

Hi,

I updated guix (on guixsd) from a version from about beginning of april
to a2cfe.
After that, guix system (and other commands depending on it) give me a
backtrace.

Backtrace:
In ice-9/boot-9.scm:
   222:29 19 (map1 _)
   222:29 18 (map1 _)
   222:29 17 (map1 _)
   222:29 16 (map1 _)
   222:29 15 (map1 _)
   222:29 14 (map1 _)
   222:29 13 (map1 _)
   222:29 12 (map1 _)
   222:29 11 (map1 _)
   222:29 10 (map1 _)
   222:29  9 (map1 _)
   222:29  8 (map1 (((gnu system linux-initrd)) ((gnu system)) (#) …))
   222:17  7 (map1 (((gnu system)) ((gnu bootloader)) ((gnu # #)) # …))
  2788:17  6 (resolve-interface (gnu system) #:select _ #:hide _ # _ …)
  2714:10  5 (_ (gnu system) _ _ #:ensure _)
  2982:16  4 (try-module-autoload _ _)
   2312:4  3 (save-module-excursion #<procedure 1bc4e70 at ice-9/boo…>)
  3002:22  2 (_)
In unknown file:
           1 (primitive-load-path "gnu/system" #<procedure 2aed920 a…>)
In gnu/system.scm:
    508:0  0 (_)

gnu/system.scm:508:0: util-linux-2.31.1: unbound variable

I think it's because the older guix had a CVE fix for util-linux in
gnu/system.scm.

If that's true, what can be done to prevent this kind of breakage?

$ which guix
/run/current-system/profile/bin/guix

What's the best way to recover? I'm currently trying to build guix from
git and then reconfigure the system. Luckily I have a 'guix environment
guix -r envguix', because guix environment doesn't work neither (correct
grammar?).

Martin

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

* bug#31330: guix a2cfe broken after update from ~month old guix: util-linux-2.31.1: unbound variable
  2018-05-01 12:38 bug#31330: guix a2cfe broken after update from ~month old guix: util-linux-2.31.1: unbound variable Martin Castillo
@ 2018-05-01 13:38 ` Ludovic Courtès
  2018-05-01 15:37   ` Martin Castillo
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2018-05-01 13:38 UTC (permalink / raw)
  To: Martin Castillo; +Cc: 31330

Hello Martin,

Martin Castillo <castilma@uni-bremen.de> skribis:

> I updated guix (on guixsd) from a version from about beginning of april
> to a2cfe.
> After that, guix system (and other commands depending on it) give me a
> backtrace.

Did you update with ‘guix pull’?  The issue reported at
<https://bugs.gnu.org/31329> could lead to partly-compiled sets of
modules, which in turn could lead to errors like what you describe.

I’m working on a fix.

Thanks,
Ludo’.

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

* bug#31330: guix a2cfe broken after update from ~month old guix: util-linux-2.31.1: unbound variable
  2018-05-01 13:38 ` Ludovic Courtès
@ 2018-05-01 15:37   ` Martin Castillo
  2018-05-01 20:06     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Castillo @ 2018-05-01 15:37 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 31330

On 01.05.2018 15:38, Ludovic Courtès wrote:
> Hello Martin,
> 
> Martin Castillo <castilma@uni-bremen.de> skribis:
> 
>> I updated guix (on guixsd) from a version from about beginning of april
>> to a2cfe.
>> After that, guix system (and other commands depending on it) give me a
>> backtrace.
> 
> Did you update with ‘guix pull’?
yes.
  The issue reported at
> <https://bugs.gnu.org/31329> could lead to partly-compiled sets of
> modules, which in turn could lead to errors like what you describe.
> 
> I’m working on a fix.

I was able to rebuild from git and reconfigure the system. Now it's
working again.

You seemed to have already fixed 31329. So I guess we can close my issue?

Martin
-- 
GPG: 7FDE 7190 2F73 2C50 236E  403D CC13 48F1 E644 08EC

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

* bug#31330: guix a2cfe broken after update from ~month old guix: util-linux-2.31.1: unbound variable
  2018-05-01 15:37   ` Martin Castillo
@ 2018-05-01 20:06     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2018-05-01 20:06 UTC (permalink / raw)
  To: Martin Castillo; +Cc: 31330-done

Martin Castillo <castilma@uni-bremen.de> skribis:

> I was able to rebuild from git and reconfigure the system. Now it's
> working again.

Good.

> You seemed to have already fixed 31329. So I guess we can close my issue?

I think so, done!

Ludo’.

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

end of thread, other threads:[~2018-05-01 20:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-01 12:38 bug#31330: guix a2cfe broken after update from ~month old guix: util-linux-2.31.1: unbound variable Martin Castillo
2018-05-01 13:38 ` Ludovic Courtès
2018-05-01 15:37   ` Martin Castillo
2018-05-01 20:06     ` Ludovic Courtès

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