From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iI9bHhMTr15AaQAA0tVLHw (envelope-from ) for ; Sun, 03 May 2020 18:53:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id yKakGR0Tr17lRAAA1q6Kng (envelope-from ) for ; Sun, 03 May 2020 18:53:17 +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 4C943941ACC for ; Sun, 3 May 2020 18:53:16 +0000 (UTC) Received: from localhost ([::1]:57376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVJjo-0000zs-Fg for larch@yhetil.org; Sun, 03 May 2020 14:53:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVJja-0000y1-Qr for bug-guix@gnu.org; Sun, 03 May 2020 14:53:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46483) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVJja-0003Od-Gy for bug-guix@gnu.org; Sun, 03 May 2020 14:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jVJja-0004tt-GT for bug-guix@gnu.org; Sun, 03 May 2020 14:53: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: Sun, 03 May 2020 18:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41059 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 41059@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158853196218800 (code B ref -1); Sun, 03 May 2020 18:53:02 +0000 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: 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-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 X-Spam-Score: -2.1 (--) 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: 0.09 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=c3GF26so; 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.49376198351659]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; R_DKIM_REJECT(1.00)[gmail.com:s=20161025]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.14), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; DKIM_TRACE(0.00)[gmail.com:-]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; 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)[joshuarmarshall1991@gmail.com,bug-guix-bounces@gnu.org]; ARC_NA(0.00)[]; URIBL_BLOCKED(0.00)[gmx.com:email,leibniz-psychology.org:email]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_SEVEN(0.00)[10]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : SPF not aligned (relaxed),none] X-TUID: ZL4JtU2TB/pu --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--