From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YEz7IPxJsF4IIgAA0tVLHw (envelope-from ) for ; Mon, 04 May 2020 16:59:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iKjoLAdKsF5LJAAAbx9fmQ (envelope-from ) for ; Mon, 04 May 2020 16:59:51 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::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 81F28944AA0 for ; Mon, 4 May 2020 16:14:06 +0000 (UTC) Received: from localhost ([::1]:50802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVdjI-0000lX-Vg for larch@yhetil.org; Mon, 04 May 2020 12:14:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVdXf-0003bU-BA for bug-guix@gnu.org; Mon, 04 May 2020 12:02:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50458) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVdXe-0006Tf-HH for bug-guix@gnu.org; Mon, 04 May 2020 12:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jVdXe-0005pO-Bh for bug-guix@gnu.org; Mon, 04 May 2020 12:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41059: Contributing section from manual does not work when I'm working on some patches Resent-From: Josh Marshall Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 04 May 2020 16:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41059 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Marius Bakke Received: via spool by 41059-submit@debbugs.gnu.org id=B41059.158860811722376 (code B ref 41059); Mon, 04 May 2020 16:02:02 +0000 Received: (at 41059) by debbugs.gnu.org; 4 May 2020 16:01:57 +0000 Received: from localhost ([127.0.0.1]:33769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVdXZ-0005op-3Y for submit@debbugs.gnu.org; Mon, 04 May 2020 12:01:57 -0400 Received: from mail-vs1-f43.google.com ([209.85.217.43]:41968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVd4A-0004Cj-Av for 41059@debbugs.gnu.org; Mon, 04 May 2020 11:31:34 -0400 Received: by mail-vs1-f43.google.com with SMTP id y185so11376423vsy.8 for <41059@debbugs.gnu.org>; Mon, 04 May 2020 08:31:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bcOJXwdE+ULKYeGvLZaPIb2GuQzM3Nk8x1kdLi4JfQU=; b=lJ7yiKeh/xXe/m8B6tf7G9xUDP4OTVQPKURnM3Pix+/2S3eAWny0Sgsf00ACgJITPU uXHRHSpuxEajjRUtW0OSoGxhiQf2zQAIDCDDNk6yQdbJ8xH2pxf3UIj7XkgzxUhig8G0 +aYL5RJGwmCkX5bkSxw0Koiyf/olZwAgDIg/52/bMP95PPI8OR3Y/iXHU7wlT8W1yxXs wpsUGDpiHd0hfmp+0PdpELUxSDv16B/FCssSndhj1WHDCT1xGT2kTB4kYLy1R7z2UUWK jZJXz7Z99CRSANJ9ZTmOjv1NSxt8wBDfYoODxt6oNLQ6wwfFnkkROO6s0HsOUkBA/Btn oy/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bcOJXwdE+ULKYeGvLZaPIb2GuQzM3Nk8x1kdLi4JfQU=; b=iLoHrU/MhGrNLcT5vEBsxHTUmzZG9QcUTADkWkvsChDY05dOAKzHsT6ESeWtuOMY3P Rn2KW4kKNLn8qH2b8VaqzG8G3Bw3DeeYbA1qA7DALs9efZJ+4N4YlV8tImpNQhJ1lsCO 6YKZT2QCLBIdxlCnmFMMG5DPlbEgdlY6Ws1aOr2edrQpxoxrkrzsLeRCcPqtpxFKFIrm z8tcxz9OMD2UvqsXIzoybxD7TH2i2u/E23HMLc2Y7yy/CjjdH7VYEjomzJy1Rtum7Y+y CwrMnCiOWqs0vAF+Ni/8gTbIX6/rmsgIq/2tlHyiFz2AD6UBvyRi2j8TuZYpRlDGV4ha Yamw== X-Gm-Message-State: AGi0PubSXVYJXFnljSgMEZZtHrHSytBYcNL5DrdXDemmpUg1TlYpOsfe zza4rSC1n8VwYP0+JJLw2AfrJMC9r43JGgQUS+c= X-Google-Smtp-Source: APiQypJSH3pb3cZVeepTliqv+XISWDGIccbrs5YzD0oU/pWkP5jwfjs6F5D2E+cFcnaOQg4DGIR2r+1tE96bZXUAXR0= X-Received: by 2002:a05:6102:3025:: with SMTP id v5mr12276826vsa.16.1588606288568; Mon, 04 May 2020 08:31:28 -0700 (PDT) MIME-Version: 1.0 References: <87h7wv222b.fsf@devup.no> In-Reply-To: <87h7wv222b.fsf@devup.no> From: Josh Marshall Date: Mon, 4 May 2020 11:31:16 -0400 Message-ID: Content-Type: multipart/alternative; boundary="00000000000084c61a05a4d43916" X-Spam-Score: 0.3 (/) X-Mailman-Approved-At: Mon, 04 May 2020 12:01:56 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -0.7 (/) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 41059@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 X-Spam-Score: 0.09 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=lJ7yiKeh; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Scan-Result: default: False [0.09 / 13.00]; GENERIC_REPUTATION(0.00)[-0.49492190472613]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.13), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; R_DKIM_REJECT(1.00)[gmail.com:s=20161025]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[gmail.com:-]; MAILLIST(-0.20)[mailman]; FREEMAIL_TO(0.00)[fastmail.com]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[joshuarmarshall1991@gmail.com,bug-guix-bounces@gnu.org]; ARC_NA(0.00)[]; URIBL_BLOCKED(0.00)[fastmail.com:email]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[41059@debbugs.gnu.org]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; RCVD_COUNT_SEVEN(0.00)[8]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : SPF not aligned (relaxed),none] X-TUID: 5wf5CSBB0Cuz --00000000000084c61a05a4d43916 Content-Type: text/plain; charset="UTF-8" Close fixed On Mon, May 4, 2020, 10:43 Marius Bakke wrote: > Josh Marshall writes: > > > has the following results from various invocations: > > > > ``` > > anadon@goodadvicemallard:~/documents/code/guix$ ./pre-inst-env guix > > guile: warning: failed to install locale > > Backtrace: > > In ice-9/threads.scm: > > 390:8 19 (_ _) > > In ice-9/boot-9.scm: > > 2994:20 18 (_) > > 2312:4 17 (save-module-excursion _) > > 3014:26 16 (_) > > In unknown file: > > 15 (primitive-load-path "guix/store" #) > > In guix/store.scm: > > 22:0 14 (_) > > In ice-9/boot-9.scm: > > 2874:4 13 (define-module* _ #:filename _ #:pure _ #:version _ # _ ?) > > 2887:24 12 (_) > > 222:29 11 (map1 (((guix utils)) ((guix config)) ((guix #)) ((?)) ?)) > > 222:29 10 (map1 (((guix config)) ((guix deprecation)) ((guix ?)) ?)) > > 222:29 9 (map1 (((guix deprecation)) ((guix memoization)) ((?)) ?)) > > 222:29 8 (map1 (((guix memoization)) ((guix serialization)) (#) ?)) > > 222:29 7 (map1 (((guix serialization)) ((guix monads)) ((# #)) ?)) > > 222:29 6 (map1 (((guix monads)) ((guix records)) ((guix #)) (#) ?)) > > 222:29 5 (map1 (((guix records)) ((guix base16)) ((guix #)) (#) ?)) > > 222:29 4 (map1 (((guix base16)) ((guix base32)) ((gcrypt #)) # ?)) > > 222:29 3 (map1 (((guix base32)) ((gcrypt hash)) ((guix #)) (#) ?)) > > 222:17 2 (map1 (((gcrypt hash)) ((guix profiling)) ((rnrs #)) # ?)) > > 2803:6 1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ ?) > > In unknown file: > > 0 (scm-error misc-error #f "~A ~S" ("no code for modu?" ?) ?) > > > > ERROR: In procedure scm-error: > > no code for module (gcrypt hash) > > ``` > > You should use 'guix environment guix' to ensure the dependencies are > available. > > > ``` > > anadon@goodadvicemallard:~/documents/code/guix$ guix environment guix -- > > ./pre-inst-env guix > > guile: warning: failed to install locale > > guix environment: error: failed to connect to > > `/var/guix/daemon-socket/socket': Connection refused > > ``` > > This means the daemon is not running, or configured with a faulty > --localstatedir. > > > ``` > > anadon@goodadvicemallard:~/documents/code/guix$ guix environment guix -- > > ./pre-inst-env guix build python-pytest-asyncio > > guile: warning: failed to install locale > > guix build: error: failed to connect to > > `/usr/local/var/guix/daemon-socket/socket': Connection refused > > ``` > > Pass "--localstatedir=/var" when running the configure script to provide > the correct daemon state directory. > > > The daemon has been run via systemd and > > `anadon@goodadvicemallard:~/documents/code/guix$ > > sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild` to > > similar effect. > > You don't need to run the daemon manually unless you want to hack on the > daemon itself. However if you do, make sure that it has been configured > with the correct "--localstatedir" and "--sysconfdir". > > HTH, > Marius > --00000000000084c61a05a4d43916 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Close fixed

On Mon, May 4, 2020, 10:43 Marius Bakke <<= a href=3D"mailto:mbakke@fastmail.com">mbakke@fastmail.com> wrote:
Josh Marshall <joshu= a.r.marshall.1991@gmail.com> writes:

> has the following results from various invocations:
>
> ```
> anadon@goodadvicemallard:~/documents/code/guix$ ./pre-inst-env guix > guile: warning: failed to install locale
> Backtrace:
> In ice-9/threads.scm:
>=C2=A0 =C2=A0 =C2=A0390:8 19 (_ _)
> In ice-9/boot-9.scm:
>=C2=A0 =C2=A02994:20 18 (_)
>=C2=A0 =C2=A0 2312:4 17 (save-module-excursion _)
>=C2=A0 =C2=A03014:26 16 (_)
> In unknown file:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A015 (primitive-load-path "= guix/store" #<procedure 7fa451b4a?>)
> In guix/store.scm:
>=C2=A0 =C2=A0 =C2=A0 22:0 14 (_)
> In ice-9/boot-9.scm:
>=C2=A0 =C2=A0 2874:4 13 (define-module* _ #:filename _ #:pure _ #:versi= on _ # _ ?)
>=C2=A0 =C2=A02887:24 12 (_)
>=C2=A0 =C2=A0 222:29 11 (map1 (((guix utils)) ((guix config)) ((guix #)= ) ((?)) ?))
>=C2=A0 =C2=A0 222:29 10 (map1 (((guix config)) ((guix deprecation)) ((g= uix ?)) ?))
>=C2=A0 =C2=A0 222:29=C2=A0 9 (map1 (((guix deprecation)) ((guix memoiza= tion)) ((?)) ?))
>=C2=A0 =C2=A0 222:29=C2=A0 8 (map1 (((guix memoization)) ((guix seriali= zation)) (#) ?))
>=C2=A0 =C2=A0 222:29=C2=A0 7 (map1 (((guix serialization)) ((guix monad= s)) ((# #)) ?))
>=C2=A0 =C2=A0 222:29=C2=A0 6 (map1 (((guix monads)) ((guix records)) ((= guix #)) (#) ?))
>=C2=A0 =C2=A0 222:29=C2=A0 5 (map1 (((guix records)) ((guix base16)) ((= guix #)) (#) ?))
>=C2=A0 =C2=A0 222:29=C2=A0 4 (map1 (((guix base16)) ((guix base32)) ((g= crypt #)) # ?))
>=C2=A0 =C2=A0 222:29=C2=A0 3 (map1 (((guix base32)) ((gcrypt hash)) ((g= uix #)) (#) ?))
>=C2=A0 =C2=A0 222:17=C2=A0 2 (map1 (((gcrypt hash)) ((guix profiling)) = ((rnrs #)) # ?))
>=C2=A0 =C2=A0 2803:6=C2=A0 1 (resolve-interface _ #:select _ #:hide _ #= :prefix _ # _ ?)
> In unknown file:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0 (scm-error misc-error #f &q= uot;~A ~S" ("no code for modu?" ?) ?)
>
> ERROR: In procedure scm-error:
> no code for module (gcrypt hash)
> ```

You should use 'guix environment guix' to ensure the dependencies a= re
available.

> ```
> anadon@goodadvicemallard:~/documents/code/guix$ guix environment guix = --
> ./pre-inst-env guix
> guile: warning: failed to install locale
> guix environment: error: failed to connect to
> `/var/guix/daemon-socket/socket': Connection refused
> ```

This means the daemon is not running, or configured with a faulty
--localstatedir.

> ```
> anadon@goodadvicemallard:~/documents/code/guix$ guix environment guix = --
> ./pre-inst-env guix build python-pytest-asyncio
> guile: warning: failed to install locale
> guix build: error: failed to connect to
> `/usr/local/var/guix/daemon-socket/socket': Connection refused
> ```

Pass "--localstatedir=3D/var" when running the configure script t= o provide
the correct daemon state directory.

> The daemon has been run via systemd and
> `anadon@goodadvicemallard:~/documents/code/guix$
> sudo -E ./pre-inst-env guix-daemon --build-users-group=3Dguixbuild` to=
> similar effect.

You don't need to run the daemon manually unless you want to hack on th= e
daemon itself.=C2=A0 However if you do, make sure that it has been configur= ed
with the correct "--localstatedir" and "--sysconfdir".<= br>
HTH,
Marius
--00000000000084c61a05a4d43916--