From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wiktor =?utf-8?Q?=C5=BBelazny?= Subject: Re: ./pre-inst-env guix build dangerous inside an environment? Date: Wed, 11 Sep 2019 18:18:00 +0200 Message-ID: <20190911161800.g6lzpfmfttsxgxmf@wz.localdomain> References: <20190910135802.lorsnzuaofjxifwy@wz.localdomain> <87a7bcqkts.fsf@elephly.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dhxvabkes5su6noc" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:37299) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i85Jv-0006l3-Br for help-guix@gnu.org; Wed, 11 Sep 2019 12:18:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i85Ju-0007GR-D3 for help-guix@gnu.org; Wed, 11 Sep 2019 12:18:15 -0400 Received: from freeshell.de ([2a01:360:106::2]:53097) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i85Jr-00078O-GG for help-guix@gnu.org; Wed, 11 Sep 2019 12:18:13 -0400 Content-Disposition: inline In-Reply-To: <87a7bcqkts.fsf@elephly.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ricardo Wurmus Cc: help-guix@gnu.org --dhxvabkes5su6noc Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 10, 2019 at 04:37:03PM +0200, Ricardo Wurmus wrote: > This sounds like perhaps you ran =E2=80=9C./configure=E2=80=9D without > =E2=80=9C--localstatedir=3D/var=E2=80=9D, so that Guix would be using a d= ifferent > location for its database and thus consider existing stuff in /gnu to > be invalid. Thank you for your prompt reply, Ricardo. Yeah, that=E2=80=99s precisely what happened. I missed (or just lazily, hastily ignored) the =E2=80=9CMake sure to pass --localstatedir=3Ddirectory= =E2=80=9D sentence. I=E2=80=99m glad there exists at least an explanation for that disaster. Don=E2=80=99t you think it would be reasonable to follow that sentence with something like: *Otherwise, you risk that the default store in `/gnu` becomes damaged*? > This is not a problem with using an environment. Still, it seems to me unclear from the manual (at least as far as 14.2 is concerned) whether anything is gained by doing test builds in an environment, and thus whether this is the recommended way, and if so=E2=80=94for which steps. W=C5=BB --dhxvabkes5su6noc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEvcl0zdnJun12Glc9xzWoxqtgedUFAl15HjhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJE Qzk3NENERDlDOUJBN0Q3NjFBNTczREM3MzVBOEM2QUI2MDc5RDUACgkQxzWoxqtg edUtng//V7wpptWHG+cCtxr/Ye12iKr8ddXdFnKkfWMgtQc6fW3aDdbPP6fcw475 YwdoVTLzCtvZonq/gacbwjOOct3xAmKhYiTf+l4WYiUxZo77/sSdzv3ABpUMWb8h uBwsYCGmOMXVL8WB5nTGfSTaHibcJuyZqvFgP6wIIV/+jXFMlream56DjvtqYky6 Zm8undaPBAZp1+pbBz/J+BWwsZXMyBygoeJybmSxd6rfrl32qHXEBfl9kJUNnhgN L9nALLNVStjRmSDGyLukPgO8AC4XRBWBCjUsOrwNC4m3mCPxylpoTzfG8OkCtTt2 Bo/L414yO2yz3fJpld31Y+3SfLtzt8F9PezptFif613KtqXqFUfvzS7juTQCecBe njq3kxSNAMb5ekAm5RpDzzTcoHZ38U2w/qTQR7vDlowftBPwTCua6AfJN3+APBbA HxoGMqdd+Frp2mTcl4rG6Xb5plqmLLI6v2WgQJn9j/yGS5LHE7a+kXYeC08oR1PL QdUxZ+i6NvYnopL+yQCUblZAmH8DknIAX9jIyn7FV0ib6Ktyvte8mRtMNZBW6Oce UlLM0aL8Smea1Dr2/MIXa5xpmOnIgquN0HHF96QQ+i1fxBlaCHEhrsKDBcaPUtcE 3FgpX3/XKI62wHnSrb+C5nCrsWNrpOA2d6UJJZXtRyoeCAyAeX0= =++/1 -----END PGP SIGNATURE----- --dhxvabkes5su6noc--