From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#29519: ./pre-inst-env: substitute: Failed to autoload make-session in (gnutls) Date: Wed, 17 Jan 2018 15:51:22 -0800 Message-ID: <20180117235122.GD17805@jasmine.lan> References: <878ten4h8j.fsf@hyperbola.info> <87d13urhcz.fsf@gnu.org> <87vag1ve8x.fsf@hyperbola.info> <20180116204430.GB18014@jasmine.lan> <87lggw7tly.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="W5WqUoFLvi1M7tJE" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebxUz-00019c-CA for bug-guix@gnu.org; Wed, 17 Jan 2018 18:52:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ebxUw-0007V8-8s for bug-guix@gnu.org; Wed, 17 Jan 2018 18:52:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:52821) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ebxUw-0007Uj-4O for bug-guix@gnu.org; Wed, 17 Jan 2018 18:52:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ebxUv-0002QS-RS for bug-guix@gnu.org; Wed, 17 Jan 2018 18:52:01 -0500 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87lggw7tly.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 29519-done@debbugs.gnu.org --W5WqUoFLvi1M7tJE Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 17, 2018 at 09:54:49AM +0100, Ludovic Court=C3=A8s wrote: > Heya, >=20 > Leo Famulari skribis: >=20 > > On Tue, Jan 16, 2018 at 04:40:30PM -0200, Adonay Felipe Nogueira wrote: > >> 2017-12-04T10:07:40+0100 Ludovic Court=C3=A8s wrote: > >> > Hello, > >> > > >> > The problem is that the (gnutls) module is not in the search path of > >> > =E2=80=98guix substitute=E2=80=99. > >> > > >> > Usually the solution is to start the daemon using something like: > >> > > >> > sudo -E ./pre-inst-env guix-daemon =E2=80=A6 > >> > > >> > so that =E2=80=98guix-daemon=E2=80=99 inherits the correct values fo= r =E2=80=98GUILE_LOAD_PATH=E2=80=99, > >> > etc. > >> > > >> > Does that work for you? > >> > > >> > We used to have this suggestion in the doc, but it was reverted in > >> > commit 73a203450d21241eca50375aeb26fb418b287414. Leo, do you think = we > >> > can reinstate it? I=E2=80=99m not sure why it was reverted in the f= irst place. > > > > I missed this request previously :/ > > > > Originally, I reverted the suggestion because it was causing problems > > for some users on #guix, and I thought it was risky to propagate the > > user's environment into a privileged context. > > > > But perhaps it's not any more risky than using sudo, in general. > > > > Ludo, please let me know if you'd still like me to reinstate the advice > > to use `sudo -E`. >=20 > I think you can reinstate it, perhaps with a word of caution explaining > what -E does? Done in 67441b9a6ebd4be094a88f6ea4555de026de4dfc. I didn't add a warning about -E... I worry about re-documenting other software in our own manual. --W5WqUoFLvi1M7tJE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlpf4XoACgkQJkb6MLrK fwgWYBAArRzzxtZQUUXyT2kmXezfgjZ1VFFGd5paYsWRsYbgINARBuZxjg0PjvY2 NIWt7CM4FWEdz0HkkAF/r94Vf2FnDqobrbBzGtCT5qlLQ+uvBzOpRkq9d1zoFM6Q aGzCHqrmQjwkMxLBoKkZ04KmZ5uDSvcCneKqC7W5bcv/DA/0qV5xhztiJbk+wybH /vAfgSbDWA/wH9jGu7045HwJi3hNkv/PxjWuNLfl7LHjYxIE9V/sCSxR+zHmsxaI AsmadBLz2B4+/LvfqFmX/RHcy7CkR/pRpUINlq/PMIBcCfxn8fsJtS7x/2g2Xdtz 3t63t6g9UHrsSZtmc9+YabsMV/qg5HmtoIQbQFyfNJbfCvXz5pqb3mzC35c6Zl8p NOu3ERjACE/6OSKe5H/MN0WINSh1Ah9wE3k+JKlnjGCg60wjRYnD0JN9OEgM2S6m 1aHzrblvaGwTcqZdFOsRT7Awz5hTDWLhrGiElKkBQGxmAWP5As3e18cLeFA6gAf9 cSBoD1K4NQCLhpOZo5zncXGVqvyCv+7TRmXtFuuCGwcYuNFeuKDiiSeVjOl+ONXI zIFounfJpu2d0RTUtQz2uEpzeSRIu+f3kD8pebmorVXw8UtctYfRM1+RPTjidFWM KpSzG0GIRzNH4x/a3e5BFPaxKo2fDzbqLF5gG+FySqvvZ8XNLdw= =HO/U -----END PGP SIGNATURE----- --W5WqUoFLvi1M7tJE--