From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GKYMHIept1/QXgAA0tVLHw (envelope-from ) for ; Fri, 20 Nov 2020 11:33:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yOkNGIept1/UEgAAB5/wlQ (envelope-from ) for ; Fri, 20 Nov 2020 11:33:27 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DC91794006E for ; Fri, 20 Nov 2020 11:33:26 +0000 (UTC) Received: from localhost ([::1]:54908 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kg4fN-0005ET-5p for larch@yhetil.org; Fri, 20 Nov 2020 06:33:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kg4f1-0005CJ-1O for bug-guix@gnu.org; Fri, 20 Nov 2020 06:33:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58877) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kg4f0-0000eG-MC for bug-guix@gnu.org; Fri, 20 Nov 2020 06:33:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kg4f0-0006n2-Hq for bug-guix@gnu.org; Fri, 20 Nov 2020 06:33:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44735: gilbc of the running system got wiped while building a package, system broken Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 20 Nov 2020 11:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44735 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Stefan Received: via spool by 44735-submit@debbugs.gnu.org id=B44735.160587192926034 (code B ref 44735); Fri, 20 Nov 2020 11:33:02 +0000 Received: (at 44735) by debbugs.gnu.org; 20 Nov 2020 11:32:09 +0000 Received: from localhost ([127.0.0.1]:42190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kg4e9-0006lq-9S for submit@debbugs.gnu.org; Fri, 20 Nov 2020 06:32:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kg4e7-0006lU-Gy for 44735@debbugs.gnu.org; Fri, 20 Nov 2020 06:32:07 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51583) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kg4e0-0000LL-Ug; Fri, 20 Nov 2020 06:32:00 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39344 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kg4dz-0003tH-Fu; Fri, 20 Nov 2020 06:32:00 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <4A9406A5-DB4F-4A05-BCC0-4AD8DBD2A112@vodafonemail.de> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 30 Brumaire an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 20 Nov 2020 12:31:56 +0100 In-Reply-To: <4A9406A5-DB4F-4A05-BCC0-4AD8DBD2A112@vodafonemail.de> (Stefan's message of "Thu, 19 Nov 2020 14:55:19 +0100") Message-ID: <878sawfemr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 44735@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.51 X-TUID: Nr58mhq08aOI Hi Stefan, Stefan skribis: > I found the root cause of this issue: I made a typo and inadvertently did= a =E2=80=9C./configure --localstatedir=3D/vaar=E2=80=9D. Ouch. :-/ Your store database may no longer be in sync with your actual store so you may have to reinstall. You can try =E2=80=98guix gc --verify=E2=80=99 = to get an idea of how bad the situation is. > The manual should warn that using a wrong (or omitted) --localstatedir ma= y destroy the guix installation and possibly the whole guix system. > > What can be done to prevent that a simple mistake like this destroys a sy= stem? ./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 =E2=80=98config.log=E2=80=99 to see what =E2=80=98configure= =E2=80=99 said? You can see the source of this check at the bottom of =E2=80=98m4/guix.m4=E2=80=99. Also, why did you run guix-daemon from your checkout? This is only necessary if you=E2=80=99re actually hacking on the daemon, but perhaps the manual is misleading. (Hadn=E2=80=99t you run guix-daemon from the checkou= t, the problem would not have occurred, even with a wrong =E2=80=98--localstatedir=E2=80=99.) Thanks, Ludo=E2=80=99.