From unknown Mon Jun 23 04:10:35 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#41059 <41059@debbugs.gnu.org> To: bug#41059 <41059@debbugs.gnu.org> Subject: Status: Contributing section from manual does not work when I'm working on some patches Reply-To: bug#41059 <41059@debbugs.gnu.org> Date: Mon, 23 Jun 2025 11:10:35 +0000 retitle 41059 Contributing section from manual does not work when I'm worki= ng on some patches reassign 41059 guix submitter 41059 Josh Marshall severity 41059 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun May 03 14:52:41 2020 Received: (at submit) by debbugs.gnu.org; 3 May 2020 18:52:42 +0000 Received: from localhost ([127.0.0.1]:58027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVJjF-0004tA-9n for submit@debbugs.gnu.org; Sun, 03 May 2020 14:52:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:50386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVJ2O-0003os-1Y for submit@debbugs.gnu.org; Sun, 03 May 2020 14:08:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVJ2N-0003ru-Rq for bug-guix@gnu.org; Sun, 03 May 2020 14:08:23 -0400 Received: from mail-vs1-xe42.google.com ([2607:f8b0:4864:20::e42]:34116) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVJ2M-0002Pd-C4 for bug-guix@gnu.org; Sun, 03 May 2020 14:08:23 -0400 Received: by mail-vs1-xe42.google.com with SMTP id b5so9710708vsb.1 for ; Sun, 03 May 2020 11:08:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ZSqjMeyS7fkre50x5xqaG5AGuL1Qm47dUqK7jrv8mUo=; b=c3GF26soBC/YjVwvEkJ1OHsqYCZ0f1Bqegox3Bi/VAUqD2w6jn+hh1DyWNz8Xm6Ys9 x5sReGLYYjhKs27utM4NePq/OSLJ8AXrXrdkVZqRIOQaww0x481RR2SRfOjRmzIeL2ZH iOrud+XGs677JiYltOXmQJOWZz+wKuQVAQ/GQQ6SK46hyBUxvzwlBcLQt+nJzZxIXGdT EE47aFMVnyfZ3TuXw2BBDKYDFYRQpfgXGqil+y5q185S2tCo9Q3HDf0wrVpnxcFFTHTi EztHtyGZ5HrQrD05bjuwBkX7TB77AKlCXSsbHAxH6BXtyNaepp7iGAOVnIfJpQusi9ob fCuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ZSqjMeyS7fkre50x5xqaG5AGuL1Qm47dUqK7jrv8mUo=; b=TXJnYuS5jngNnozrNxGNFd3gHQDAsVUyw5jv3Edky6AjK9f6EFA4I5aT73a4V/3GQW vglLrWgBhcUMQiJFfFAQCuzD3rjoQUke69mZzEDR7Wdx7lkPFbV8uRtLiV/Ox6mWjFyw 5RZnnpQTNsoTX+jaPIUXpSU5gLNSex91ghkvCJHB2qetjMWtDtP2l/7CvsuPFcg+XKow O3YysFXENg5AJyHZH+umyiCv/nX7AAtte4WvXqVWWVSHWTPJYtL9Nsggpe26wLgXa6QK PsIHFtmWryH0KnKHA0GUTheHY7HdbHCijm/iBizSdqQpBB8i9ujLJvxfupkpeIfsOQvP f+sA== X-Gm-Message-State: AGi0PuZj1v2eVQ8qhlIkgeNxG9poC4fT0O0Z2ghSnc3Ie2CayFVw0DRm F89+NEl/Vy9V4mEtkKoxTbrOfqyqBt+Myxa4Hsumcqn7VDE= X-Google-Smtp-Source: APiQypIhwDnX7tkUz85lLe+deMmBak5wbG54Zq9pKvotgLD5JbpHsOSxDGgWHOxNKP0KLMP+JX9wGBt7vE2nZZo4GK8= X-Received: by 2002:a67:ebd2:: with SMTP id y18mr10073266vso.116.1588529300355; Sun, 03 May 2020 11:08:20 -0700 (PDT) MIME-Version: 1.0 From: Josh Marshall Date: Sun, 3 May 2020 14:08:09 -0400 Message-ID: Subject: Contributing section from manual does not work when I'm working on some patches To: bug-guix@gnu.org Content-Type: multipart/alternative; boundary="000000000000a9bd0705a4c24c2e" Received-SPF: pass client-ip=2607:f8b0:4864:20::e42; envelope-from=joshua.r.marshall.1991@gmail.com; helo=mail-vs1-xe42.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 03 May 2020 14:52:40 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) --000000000000a9bd0705a4c24c2e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello all, So I'm trying to get individual patches for the django overhaul I've been working on polished up and ready for submission. Trying to follow the steps in the manual for running and testing builds of these is not working. lfam from IRC suggested that guile-gcrypt might be missing, but that implies that required dependencies are missing. Working off of commit 223e920abc023be91fe1e6747c599d547ad12bc5 with patch ``` diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 2cfaddbc5f..e2f90c1240 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -31,6 +31,7 @@ ;;; Copyright =C2=A9 2019 Pierre Langlois ;;; Copyright =C2=A9 2019 Chris Marusich ;;; Copyright =C2=A9 2020 Lars-Dominik Braun +;;; Copyright =C2=A9 2020 Josh Marshall ;;; ;;; This file is part of GNU Guix. ;;; @@ -1398,6 +1399,32 @@ executed.") (define-public python2-coverage (package-with-python2 python-coverage)) +(define-public python-pytest-asyncio + (package + (name "python-pytest-asyncio") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-asyncio" version)) + (sha256 + (base32 "1bysy4nii13bm7h345wxf8fxcjhab7l374pqdv7vwv3izl053b4z")))) + (build-system python-build-system) + (propagated-inputs + `(("python-pytest" ,python-pytest))) + (native-inputs + `(("python-coverage" ,python-coverage) + ("python-async-generator" ,python-async-generator) + ("python-hypothesis" ,python-hypothesis))) + (home-page "https://github.com/pytest-dev/pytest-asyncio") + (synopsis "Pytest support for asyncio.") + (description "Python asyncio code is usually written in the form of +coroutines, which makes it slightly more difficult to test using normal +testing tools. pytest-asyncio provides useful fixtures and markers to make +testing easier.") + (license license:asl2.0))) + + (define-public python-cov-core (package (name "python-cov-core") ``` 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) ``` ``` 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 ``` ``` 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 ``` 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. --000000000000a9bd0705a4c24c2e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello all,

So I'm trying= to get individual patches for the django overhaul I've been working on= polished up and ready for submission.=C2=A0 Trying to follow the steps in = the manual for running and testing builds of these is not working.=C2=A0 lf= am from IRC suggested that guile-gcrypt might be missing, but that implies = that required dependencies are missing.=C2=A0

Working off of commit 223e920abc023be91fe1e6747c599d547ad12bc5
=
with patch
```
diff --git a/gnu/pac= kages/check.scm b/gnu/packages/check.scm
index 2cfaddbc5f..e2f90c1240 10= 0644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ = -31,6 +31,7 @@
=C2=A0;;; Copyright =C2=A9 2019 Pierre Langlois <pierre.langlois@gmx.com>
= =C2=A0;;; Copyright =C2=A9 2019 Chris Marusich <cmmarusich@gmail.com>
=C2=A0;;; Copyright =C2=A9 = 2020 Lars-Dominik Braun <l= db@leibniz-psychology.org>
+;;; Copyright =C2=A9 2020 Josh Marsha= ll <joshua.r.marshal= l.1991@gmail.com>
=C2=A0;;;
=C2=A0;;; This file is part of GNU= Guix.
=C2=A0;;;
@@ -1398,6 +1399,32 @@ executed.")
=C2=A0(de= fine-public python2-coverage
=C2=A0 =C2=A0(package-with-python2 python-c= overage))
=C2=A0
+(define-public python-pytest-asyncio
+ =C2=A0(pa= ckage
+ =C2=A0 =C2=A0(name "python-pytest-asyncio")
+ =C2= =A0 =C2=A0(version "0.10.0")
+ =C2=A0 =C2=A0(source
+ =C2= =A0 =C2=A0 =C2=A0(origin
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0(method url-fetch)=
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0(uri (pypi-uri "pytest-asyncio" = version))
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0(sha256
+ =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0(base32 "1bysy4nii13bm7h345wxf8fxcjhab7l374pqdv7vwv3izl0= 53b4z"))))
+ =C2=A0(build-system python-build-system)
+ =C2=A0(p= ropagated-inputs
+ =C2=A0 `(("python-pytest" ,python-pytest)))=
+ =C2=A0(native-inputs
+ =C2=A0 `(("python-coverage" ,pyth= on-coverage)
+ =C2=A0 =C2=A0 ("python-async-generator" ,python= -async-generator)
+ =C2=A0 =C2=A0 ("python-hypothesis" ,python= -hypothesis)))
+ =C2=A0(home-page "https://github.com/pytest-dev/pytest-asyncio&q= uot;)
+ =C2=A0(synopsis "Pytest support for asyncio.")
+ = =C2=A0(description "Python asyncio code is usually written in the form= of
+coroutines, which makes it slightly more difficult to test using no= rmal
+testing tools. pytest-asyncio provides useful fixtures and markers= to make
+testing easier.")
+ =C2=A0(license license:asl2.0)))+
+
=C2=A0(define-public python-cov-core
=C2=A0 =C2=A0(package=C2=A0 =C2=A0 =C2=A0(name "python-cov-core")
```

has the following results from various invocations:

```
anadon@goodadvicemallard:~/documents/c= ode/guix$ ./pre-inst-env guix
guile: warning: failed to install localeBacktrace:
In ice-9/threads.scm:
=C2=A0 =C2=A0 390:8 19 (_ _)
In= ice-9/boot-9.scm:
=C2=A0 2994:20 18 (_)
=C2=A0 =C2=A02312:4 17 (save= -module-excursion _)
=C2=A0 3014:26 16 (_)
In unknown file:
=C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 15 (primitive-load-path "guix/store"= #<procedure 7fa451b4a?>)
In guix/store.scm:
=C2=A0 =C2=A0 =C2= =A022:0 14 (_)
In ice-9/boot-9.scm:
=C2=A0 =C2=A02874:4 13 (define-mo= dule* _ #:filename _ #:pure _ #:version _ # _ ?)
=C2=A0 2887:24 12 (_)=C2=A0 =C2=A0222:29 11 (map1 (((guix utils)) ((guix config)) ((guix #)) (= (?)) ?))
=C2=A0 =C2=A0222:29 10 (map1 (((guix config)) ((guix deprecatio= n)) ((guix ?)) ?))
=C2=A0 =C2=A0222:29 =C2=A09 (map1 (((guix deprecation= )) ((guix memoization)) ((?)) ?))
=C2=A0 =C2=A0222:29 =C2=A08 (map1 (((g= uix memoization)) ((guix serialization)) (#) ?))
=C2=A0 =C2=A0222:29 =C2= =A07 (map1 (((guix serialization)) ((guix monads)) ((# #)) ?))
=C2=A0 = =C2=A0222:29 =C2=A06 (map1 (((guix monads)) ((guix records)) ((guix #)) (#)= ?))
=C2=A0 =C2=A0222:29 =C2=A05 (map1 (((guix records)) ((guix base16))= ((guix #)) (#) ?))
=C2=A0 =C2=A0222:29 =C2=A04 (map1 (((guix base16)) (= (guix base32)) ((gcrypt #)) # ?))
=C2=A0 =C2=A0222:29 =C2=A03 (map1 (((g= uix base32)) ((gcrypt hash)) ((guix #)) (#) ?))
=C2=A0 =C2=A0222:17 =C2= =A02 (map1 (((gcrypt hash)) ((guix profiling)) ((rnrs #)) # ?))
=C2=A0 = =C2=A02803:6 =C2=A01 (resolve-interface _ #:select _ #:hide _ #:prefix _ # = _ ?)
In unknown file:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00 (scm= -error misc-error #f "~A ~S" ("no code for modu?" ?) ?)=

ERROR: In procedure scm-error:
no code for module (gcrypt hash)<= /div>
```

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

```
anadon@goodadvicemallard:~= /documents/code/guix$ guix environment guix -- ./pre-inst-env guix build py= thon-pytest-asyncio
guile: warning: failed to install locale
guix bui= ld: error: failed to connect to `/usr/local/var/guix/daemon-socket/socket&#= 39;: Connection refused
```

The daemon h= as been run via systemd and `anadon@goodadvicemallard:~/documents/code/guix= $ sudo -E ./pre-inst-env guix-daemon --build-users-group=3Dguixbuild` to si= milar effect.
--000000000000a9bd0705a4c24c2e-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 04 10:43:35 2020 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 To: Josh Marshall , 41059@debbugs.gnu.org Subject: Re: bug#41059: Contributing section from manual does not work when I'm working on some patches 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-Debbugs-Envelope-To: 41059 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= 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----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 04 11:37:55 2020 Received: (at 41059-done) by debbugs.gnu.org; 4 May 2020 15:37:55 +0000 Received: from localhost ([127.0.0.1]:33740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVdAJ-0005Cd-2S for submit@debbugs.gnu.org; Mon, 04 May 2020 11:37:55 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:33893) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVdAH-0005CQ-TB for 41059-done@debbugs.gnu.org; Mon, 04 May 2020 11:37:54 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 406D766E; Mon, 4 May 2020 11:37:48 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 04 May 2020 11:37:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=sJTxQRPaxgLxEOk85TE6MXCmCP fJuwVJg5yMnLgNZe8=; b=JFMUMpOEoGzHPv3+YN7Tv7yreDVRGlA3ViomxWnTzZ K/7HoSUs3pIgilYrf5BMRNt8aReeS3sAsU/Y+sjhWm1a19LWECWd71Mlan4qeAPh QuYhpezvhBJpCcA9MPTszyD904EEHBc1YEuiY0yZ53Rt1lVmm4Q7CgAKS2JssxRs Q4jiSnVOyGfPW06RN/4KD7kRFTT9DUDbTqxfMDlevDr27Ij98idp/MmKkDzj/vUU cqQ7wfLh6HGUQy83pD9733Pj0H7mIHUVbEcUEBaNSQwEiksnXzlpswbVjfXvsAdQ gLAAOR7GuKdJlhN5KhNCOkZixt5N1mzZWG3xthpi36/g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=sJTxQR PaxgLxEOk85TE6MXCmCPfJuwVJg5yMnLgNZe8=; b=mSF0WS9IYVTotBJwHxjMEs AlxAeEg6I7BqjWNDbMXiP5s0+JO+/uertAKDB4jaiPxPgQxgyjiN364GUIAG/b8G gLCsFDyWXKEhobaYy6HpbcYhpHXWQXX2HYmUu/IqaPWpwLCjXJ/rlG4QtjyhFUCd +aQy93ZYbEZ/LLoT86n9xPePUbLUBfrQIZ6BkTSO446FyqjpM+a9I3L+hPJHuwce Cc6V+hQuSnYsqLyxx+u3MIvX3wSXUd4yaU38MG6p7HWPRuHwIQChaIWZcICNGBpZ FbtlqQDrGT1Fz0eZIQ5mggKACRXMLEAy/aWPLaC42MKVZLTzTYC4OfLv47qD2idg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrjeeggdekfecutefuodetggdotefrodftvf 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 4A3CA328005D; Mon, 4 May 2020 11:37:47 -0400 (EDT) From: Marius Bakke To: Josh Marshall Subject: Re: bug#41059: Contributing section from manual does not work when I'm working on some patches In-Reply-To: References: <87h7wv222b.fsf@devup.no> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Mon, 04 May 2020 17:37:45 +0200 Message-ID: <875zdb1zjq.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-Debbugs-Envelope-To: 41059-done Cc: 41059-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Josh Marshall writes: > Close fixed OK, closing by adding -done to the bug email address. Thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl6wNskACgkQoqBt8qM6 VPqwrQgAkcYZulQNB2YoDbQd9/tghyLbZoVtdv68/3wciuYHuF/4FTmZSGmK+lFi mJBTCq1tKEIdQDw3JUVcSBvRMHbScOmkz9NcL5iCivlLpYA+BXV7yyUsifoMhxoV KE2WDzdwhN+AYUyjZzbnVJgbea5/x6X+D//WMNAn4NnTgj9nKcDOSdrBQZqLZ3QE DNY0MFhP5LroMz6HA68UkX6saBkmJQD56duYWtmpvoGUphpahlxVf7A7CnNy0B9a FKJk0RylPxTxxun4eoqBJ0/JWoECoADdPu6rGGC7O7oU8rlBkqkbix39qEUEBue+ CLI0i+2e3SF07y9R2jnujuuCaPuZsA== =/ByE -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 04 12:01:57 2020 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: Subject: Re: bug#41059: Contributing section from manual does not work when I'm working on some patches To: Marius Bakke Content-Type: multipart/alternative; boundary="00000000000084c61a05a4d43916" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 41059 X-Mailman-Approved-At: Mon, 04 May 2020 12:01:56 -0400 Cc: 41059@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --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-- From unknown Mon Jun 23 04:10:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 02 Jun 2020 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator