GNU bug report logs -
#44735
gilbc of the running system got wiped while building a package, system broken
Previous Next
Reported by: Stefan <stefan-guix <at> vodafonemail.de>
Date: Thu, 19 Nov 2020 08:04:02 UTC
Severity: normal
Tags: notabug
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi Stefan,
Stefan <stefan-guix <at> vodafonemail.de> skribis:
> I found the root cause of this issue: I made a typo and inadvertently did a “./configure --localstatedir=/vaar”.
Ouch. :-/
Your store database may no longer be in sync with your actual store so
you may have to reinstall. You can try ‘guix gc --verify’ to get an
idea of how bad the situation is.
> The manual should warn that using a wrong (or omitted) --localstatedir may destroy the guix installation and possibly the whole guix system.
>
> What can be done to prevent that a simple mistake like this destroys a system?
./configure warns or errors out and the manual warns in a couple of
places too, but evidently it remains too easy to shoot oneself in the
foot.
Could you check ‘config.log’ to see what ‘configure’ said? You can see
the source of this check at the bottom of ‘m4/guix.m4’.
Also, why did you run guix-daemon from your checkout? This is only
necessary if you’re actually hacking on the daemon, but perhaps the
manual is misleading. (Hadn’t you run guix-daemon from the checkout,
the problem would not have occurred, even with a wrong
‘--localstatedir’.)
Thanks,
Ludo’.
This bug report was last modified 4 years and 242 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.