l...@gnu.org (Ludovic Courtès) skribis:
> From 1cb73a54813136632553f03063abdd5cd105a760 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Ludovic=20Court=C3=A8s?=
> Date: Sun, 19 Mar 2017 22:10:12 +0100
> Subject: [PATCH] gnu: python-minimal@2: Add dependencies on libffi and zlib.
>
> * gnu/packages/pyt
Hi!
Adding libffi and zlib solves the problem, similar to python-minimal@3.
Go for it? :-)
Ludo’.
>From 1cb73a54813136632553f03063abdd5cd105a760 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?=
Date: Sun, 19 Mar 2017 22:10:12 +0100
Subject: [PATCH] gnu: python-minimal@2: Add
On Sat, Mar 18, 2017 at 09:19:01PM +0100, Danny Milosavljevic wrote:
> >There is also the question about zlib and the bundled pip: why is it
> >failing now?
>
> The above doesn't fix the pip zlib problem. It's very strange: The
> value of the environment variable C_INCLUDE_PATH includes bzip2 but
On Sat, Mar 18, 2017 at 09:19:01PM +0100, Danny Milosavljevic wrote:
> An alternative workaround is to use this instead:
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index be452f062..04c944d84 100644
> --- a/gnu/packages/python.scm12/bin/shore-updates/guix$
> /gnu/store/k7
Setting the environment variables
CPPFLAGS="-I/gnu/store/y8c62fyb2x4g4qnl54pmlmid1fn8k3mx-zlib-1.2.8/include"
LDFLAGS="-L/gnu/store/y8c62fyb2x4g4qnl54pmlmid1fn8k3mx-zlib-1.2.8/lib"
before running configure makes it work.
(I've also printed inc_dirs in setup.py without that - and zlib didn't
Hi Leo,
>The python-minimal package *should* use that libffi. I'm not sure why it's
>failing now.
Yeah, sorry. I checked the package definition now and it explicitly disables
the system libffi.
>Do you mean if CONFIG_SHELL is not set, so the build process can't find libffi?
Yes, a workaround
On Fri, Mar 17, 2017 at 03:08:51PM +0100, Danny Milosavljevic wrote:
> Hmmm... Python 2.7.13 seems to bundle libffi-3.1. Do we want that?
The python-minimal package *should* use that libffi. I'm not sure why
it's failing now.
> Also, I checked libffi/configure: If CONFIG_SHELL was set, it would h
Hmmm... Python 2.7.13 seems to bundle libffi-3.1. Do we want that?
Also, I checked libffi/configure: If CONFIG_SHELL was set, it would have picked
it up.
Also, why does Python 2.7.13 try to configure things in the *install* phase ?
python-minimal@2.7.13 is failing to build on core-updates:
https://hydra.gnu.org/build/1912761
I saw this near the beginning of the install phase:
--
configure: error: cannot run /bin/sh
/tmp/guix-build-python-minimal-2.7.13.drv-0/Python-2.7.13/Modules/_ctypes/libffi/config.sub
Failed to con