From: Jelle Licht <jlicht@fsfe.org>
To: "Clément Lassieur" <clement@lassieur.org>
Cc: 31190@debbugs.gnu.org
Subject: bug#31190: Ansible doesn't build
Date: Tue, 17 Apr 2018 20:36:20 +0200 [thread overview]
Message-ID: <CAPsKtfKu=BcfB20kH_P2JHbFh=_YC3F=ZMSX6NytRsjhKSOyvw@mail.gmail.com> (raw)
In-Reply-To: <87h8oayxum.fsf@lassieur.org>
[-- Attachment #1.1: Type: text/plain, Size: 1471 bytes --]
2018-04-17 11:40 GMT+02:00 Clément Lassieur <clement@lassieur.org>:
> starting phase `check'
> running "python setup.py" with command "test" and parameters ()
> running test
> Searching for pynacl>=1.0.1
> Reading https://pypi.python.org/simple/pynacl/
> Download error on https://pypi.python.org/simple/pynacl/: [Errno -2] Name
> or service not known -- Some packages may not be found!
> Couldn't find index page for 'pynacl' (maybe misspelled?)
> Scanning index of all packages (this may take a while)
> Reading https://pypi.python.org/simple/
> Download error on https://pypi.python.org/simple/: [Errno -2] Name or
> service not known -- Some packages may not be found!
> No local packages or working download links found for pynacl>=1.0.1
> error: Could not find suitable distribution for
> Requirement.parse('pynacl>=1.0.1')
> phase `check' failed after 0.5 seconds
> builder for `/gnu/store/4mmlsi4rw7iwaw1nghkixbx859vi24ad-ansible-2.4.2.0.drv'
> failed with exit code 1
> @ build-failed /gnu/store/4mmlsi4rw7iwaw1nghkixbx859vi24ad-ansible-2.4.2.0.drv
> - 1 builder for `/gnu/store/4mmlsi4rw7iwaw1nghkixbx859vi24ad-ansible-2.4.2.0.drv'
> failed with exit code 1
> guix build: error: build failed: build of `/gnu/store/
> 4mmlsi4rw7iwaw1nghkixbx859vi24ad-ansible-2.4.2.0.drv' failed
>
>
>
>
The attached patches should fix this issue, but I am currently not able to
build them myself.
Could someone review + verify them?
- Jelle
[-- Attachment #1.2: Type: text/html, Size: 2323 bytes --]
[-- Attachment #2: 0001-gnu-Add-python2-pynacl.patch --]
[-- Type: text/x-patch, Size: 850 bytes --]
From 1c978fad25da3847d55fd6879a4473e84a9b02ff Mon Sep 17 00:00:00 2001
From: Jelle Licht <jlicht@fsfe.org>
Date: Tue, 17 Apr 2018 21:29:41 +0200
Subject: [PATCH] gnu: Add python2-pynacl.
* gnu/packages/python-crypto.scm (python2-pynacl): New variable.
---
gnu/packages/python-crypto.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index ace0891a7..9d5c35cac 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -587,6 +587,9 @@ Networking and Cryptography library. These libraries have a stated goal
of improving usability, security and speed.")
(license license:asl2.0)))
+(define-public python2-pynacl
+ (package-with-python2 python-pynacl))
+
(define-public python2-pgpdump
(package
(name "python2-pgpdump")
--
2.17.0
[-- Attachment #3: 0001-gnu-ansible-Add-missing-inputs.patch --]
[-- Type: text/x-patch, Size: 1368 bytes --]
From f770998d0f0b56180e0c9a12f0946a77d7ff61a5 Mon Sep 17 00:00:00 2001
From: Jelle Licht <jlicht@fsfe.org>
Date: Tue, 17 Apr 2018 21:31:05 +0200
Subject: [PATCH] gnu: ansible: Add missing inputs
* gnu/packages/admin.scm (ansible)[native-inputs]: Add python2-bcrypt and
python2-pynacl.
---
gnu/packages/admin.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index aed997e5b..07401af72 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -73,6 +73,7 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages popt)
#:use-module (gnu packages python)
+ #:use-module (gnu packages password-utils)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-web)
#:use-module (gnu packages terminals)
@@ -1522,7 +1523,9 @@ of supported upstream metrics systems simultaneously.")
(patches (search-patches "ansible-wrap-program-hack.patch"))))
(build-system python-build-system)
(native-inputs
- `(("python2-pycrypto" ,python2-pycrypto)
+ `(("python2-bcrypt" ,python2-bcrypt)
+ ("python2-pycrypto" ,python2-pycrypto)
+ ("python2-pynacl" ,python2-pynacl)
("python2-httplib2" ,python2-httplib2)
("python2-passlib" ,python2-passlib)
("python2-nose" ,python2-nose)
--
2.17.0
next prev parent reply other threads:[~2018-04-17 18:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-17 9:40 bug#31190: Ansible doesn't build Clément Lassieur
2018-04-17 18:36 ` Jelle Licht [this message]
2018-04-17 20:56 ` Marius Bakke
2018-04-19 13:44 ` Jelle Licht
2018-04-19 16:04 ` Marius Bakke
2018-04-19 18:33 ` Clément Lassieur
2018-04-19 20:16 ` Roel Janssen
2018-04-24 11:50 ` Jelle Licht
2018-04-24 11:50 ` bug#31219: " Jelle Licht
2018-04-24 12:21 ` Clément Lassieur
2018-04-24 12:21 ` [bug#31219] " Clément Lassieur
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAPsKtfKu=BcfB20kH_P2JHbFh=_YC3F=ZMSX6NytRsjhKSOyvw@mail.gmail.com' \
--to=jlicht@fsfe.org \
--cc=31190@debbugs.gnu.org \
--cc=clement@lassieur.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.