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 P29qAsDzuF/YCQAA0tVLHw (envelope-from ) for ; Sat, 21 Nov 2020 11:02:24 +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 0E0/Ob/zuF+2aQAAB5/wlQ (envelope-from ) for ; Sat, 21 Nov 2020 11:02:23 +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 597A09403AD for ; Sat, 21 Nov 2020 11:02:23 +0000 (UTC) Received: from localhost ([::1]:37716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgQer-0008Bg-1g for larch@yhetil.org; Sat, 21 Nov 2020 06:02:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgQeY-0008BQ-5q for bug-guix@gnu.org; Sat, 21 Nov 2020 06:02:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33419) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kgQeX-0007N8-UB for bug-guix@gnu.org; Sat, 21 Nov 2020 06:02:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kgQeX-0001Vd-R7 for bug-guix@gnu.org; Sat, 21 Nov 2020 06:02:01 -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: Sat, 21 Nov 2020 11:02:01 +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.16059564715716 (code B ref 44735); Sat, 21 Nov 2020 11:02:01 +0000 Received: (at 44735) by debbugs.gnu.org; 21 Nov 2020 11:01:11 +0000 Received: from localhost ([127.0.0.1]:44962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kgQdi-0001U7-VM for submit@debbugs.gnu.org; Sat, 21 Nov 2020 06:01:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kgQde-0001Td-9h for 44735@debbugs.gnu.org; Sat, 21 Nov 2020 06:01:10 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56122) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgQdX-00072a-Dx; Sat, 21 Nov 2020 06:00:59 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=45520 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kgQdQ-0007if-GV; Sat, 21 Nov 2020 06:00:56 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <4A9406A5-DB4F-4A05-BCC0-4AD8DBD2A112@vodafonemail.de> <878sawfemr.fsf@gnu.org> <78228B3F-FA9D-48C1-B70C-2F0B4CC65446@vodafonemail.de> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 1 Frimaire 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: Sat, 21 Nov 2020 12:00:49 +0100 In-Reply-To: <78228B3F-FA9D-48C1-B70C-2F0B4CC65446@vodafonemail.de> (Stefan's message of "Fri, 20 Nov 2020 15:35:26 +0100") Message-ID: <87r1onc6u6.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: -0.01 X-TUID: KJvZsLOkwIi8 Hi Stefan, Stefan skribis: > That doesn=E2=80=99t seem to be so bad. :-) Heh, good. >> ./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. > > It warns in the chapter =E2=80=9C2 Requirements=E2=80=9D. It doesn=E2=80= =99t warn in chapter =E2=80=9D14.1 Building from Git=E2=80=9D. > > Anyway, it was just a typo. Even if I would have known about that warning= , this would have happened.=20 Yeah, we could always duplicate the warning in the manual, but it can still be overlooked. > checking the current installation's localstatedir... /var > configure: WARNING: chosen localstatedir '/vaar' does not match that of t= he existing installation '/var' > configure: WARNING: installing may corrupt /gnu/store! [...] > Indeed, there in all that pages of output, luckily on the last page, ther= e is a warning. I could have noticed it. But I did=E2=80=99t. Red colour co= uld have helped. :-) Heh OK. At least it=E2=80=99s there. :-) Note that it would have been an error if you had not passed an explicit =E2=80=98--localstatedir=E2=80=99 (see guix.m4). The assumption here is th= at, since you explicitly passed =E2=80=98--localstatedir=E2=80=99, you =E2=80=9Cknow what= you=E2=80=99re doing=E2=80=9D, hence a mere warning. >> 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 chec= kout, >> the problem would not have occurred, even with a wrong >> =E2=80=98--localstatedir=E2=80=99.) > > I was trying to add a build side module into guix/build. This failed all = the time with an error =E2=80=9Cno code for module=E2=80=9D. As neither #:m= odules nor #:imported-modules are documented (see also http://debbugs.gnu.o= rg/cgi/bugreport.cgi?bug=3D44758), I was a bit clueless. Then I found out, = that I have to add the module into Makefile.am and have to run configure. A= nd there the typo happened. But still this was=E2=80=99t working and I thou= ght that I may need to start the daemon with pre-inst-env to have the GUILE= _LOAD_PATH properly point to guix/build. Well, and so the disaster happened. OK. You definitely do not need to run guix-daemon from the checkout to test this kind of changes. Commit 9022861dc028e99fab930721fe991a682c497bbb clarified that guix-daemon does not have to be launched from the checkout, but if you can think of other places that need clarification, please let me know! In the meantime, I=E2=80=99m closing this issue. Glad you recovered your s= tore! Thanks, Ludo=E2=80=99.