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 ECOtBtExsF5zSgAA0tVLHw (envelope-from ) for ; Mon, 04 May 2020 15:16:33 +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 6MTiENwxsF48VgAAbx9fmQ (envelope-from ) for ; Mon, 04 May 2020 15:16:44 +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 6F8B0941C0A for ; Mon, 4 May 2020 14:56:19 +0000 (UTC) Received: from localhost ([::1]:49160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVcW3-0003Ii-Nd for larch@yhetil.org; Mon, 04 May 2020 10:56:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVcKA-0005nt-Eb for bug-guix@gnu.org; Mon, 04 May 2020 10:44:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50331) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVcKA-0007Bv-2m for bug-guix@gnu.org; Mon, 04 May 2020 10:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jVcKA-0001ff-1V for bug-guix@gnu.org; Mon, 04 May 2020 10:44: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: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 04 May 2020 14:44:01 +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: Josh Marshall , 41059@debbugs.gnu.org Received: via spool by 41059-submit@debbugs.gnu.org id=B41059.15886034156382 (code B ref 41059); Mon, 04 May 2020 14:44:01 +0000 Received: (at 41059) by debbugs.gnu.org; 4 May 2020 14:43:35 +0000 Received: from localhost ([127.0.0.1]:33644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVcJi-0001es-OP for submit@debbugs.gnu.org; Mon, 04 May 2020 10:43:35 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:50873) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVcJg-0001eb-AD for 41059@debbugs.gnu.org; Mon, 04 May 2020 10:43:32 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 62D216E2; Mon, 4 May 2020 10:43:26 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 04 May 2020 10:43:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=Tar2SqKenMg3sA6n86zqBbDfv5 XIfs3WEFZQumActDI=; b=E50LlPVWg6Xo6JAJI2xF4j7IYkQbCX8FkTp7pEjkO4 mad8RNPyPkwKJLYTiU7WXZOMt0UhWYkz8SAtSsMZe/bM6kFahpC+JUcIDQK8j5Rk yC6gnYxy4YAH2cJ+XnDSmojcH2yfuyeE09sHqc4QO+zBDzcryLAEaGgYHutcRZ7K D+5Q6yiZkVWXvt42nIOYqGUx3JfkhdcLbGqqTA9putltkO4z68ERaVpX2+EN7w+F LpuHZU37IRz/9+7TjDEFaZdnKCYqDvcVehJXI4IASYcOAdqbvFJsxk29vDjP6h14 zJNpmsIWZLNFTeBIKW44K4wSipD5oFB72gh3KknljmSw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Tar2Sq KenMg3sA6n86zqBbDfv5XIfs3WEFZQumActDI=; b=ygSYl78vGeSnG58eMlu8Dg z8wvCjrnwaQXl0pQUUB+VPcay+UwuHJc7bRgMSrOFwOJKiwWlZv6scTVn3oexWJ1 N3HbXr1D/vU4M2Obep4OjE+ftjV9CdZDajnWQDVimvrIudJIJDjAHf6RrBgMtigW 5i6mb9ARMf0m2ZRd5Kq7f0VPi9OCglVUosG+foD0MqXel0g89+5sSAfrM9AV8nU2 QPpn3x53sIdyqqVmRUvhEJM52iC0c/wTNMu9bA+Zsy7JCqzmXbcjqWGtutnxu7Eq uSIiV9/0h0RVsaYxYJrlGPgM0OVaZgOWz6ZIKVE8fDYnchfhJHb7hEc3Zrnh3Yww == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrjeeggdejvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffujghffgffkfggtgesghdtreertdertdenucfhrhhomhepofgrrhhiuhhs uceurghkkhgvuceomhgsrghkkhgvsehfrghsthhmrghilhdrtghomheqnecuggftrfgrth htvghrnheptddvgfegveegiedvffeujeeitdetvdektddugffgtdegfeeitdeikeffudfg ueffnecukfhppeekgedrvddtvddrieekrdejheenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Received: from localhost (ti0006q161-2604.bb.online.no [84.202.68.75]) by mail.messagingengine.com (Postfix) with ESMTPA id 6D166328005E; Mon, 4 May 2020 10:43:25 -0400 (EDT) From: Marius Bakke In-Reply-To: References: User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Mon, 04 May 2020 16:43:24 +0200 Message-ID: <87h7wv222b.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 X-Spam-Score: -2.01 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=fastmail.com header.s=fm2 header.b=E50LlPVW; dkim=fail (rsa verify failed) header.d=messagingengine.com header.s=fm2 header.b=ygSYl78v; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fastmail.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 [-2.01 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.4948709092543]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; FREEMAIL_FROM(0.00)[fastmail.com]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; 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)[fastmail.com:s=fm2,messagingengine.com:s=fm2]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[fastmail.com:-,messagingengine.com:-]; MAILLIST(-0.20)[mailman]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[gmail.com,debbugs.gnu.org]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; 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)[mbakke@fastmail.com,bug-guix-bounces@gnu.org]; ARC_NA(0.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; FROM_HAS_DN(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; HAS_LIST_UNSUB(-0.01)[]; RCVD_COUNT_SEVEN(0.00)[10]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[fastmail.com : SPF not aligned (relaxed),none] X-TUID: rknkm+t/TudL --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl6wKgwACgkQoqBt8qM6 VPryswf8DHjotJ4/k7wep+/XhNXwkur8oyExLZdx0gSwAryKyttRFKB92FpIBRRK zQ4f2PiEkn/JWywfw7XiwS7NYFYggDqcpmWaJgghYZVSkHJTRVEa4q7CJe58szjq ckovAbdzbnQcZbBsCaA57sR+VRXxi/E/MoWVZilASRzvzVAUANcp7C7/7ddPrdZl q3GJQAgXa1gJnwthiPhcWqHKglP4JOyYTCbaD34+UaaoQbtayOy3Zoi7StKyrxZl g52jNmMKcTeJBPYAfWVPUdom2B03sxas3zJfc1A8/utfC4xLrQdMDF/bs/09a8S4 /wDyb2o4CTbvxXeGo5/w1uMMlqPLew== =MUmk -----END PGP SIGNATURE----- --=-=-=--