GNU bug report logs -
#26136
core-updates: python-minimal@2.7.13 fails due to missing zlib
Previous Next
Reported by: Leo Famulari <leo <at> famulari.name>
Date: Fri, 17 Mar 2017 01:47:02 UTC
Severity: normal
Tags: fixed
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
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/k7029k5va68lka
> +++ b/gnu/packages/python.scm
> @@ -229,6 +229,8 @@
> ;; before 1980". Work around this by setting the file times in the
> ;; source tree to sometime in early 1980.
> (lambda _
> + (setenv "CONFIG_SHELL" (which "bash"))
> +
I think this is the better solution to the libffi / ctypes issue. It
also fixes python-minimal <at> 3 to use the bundled libffi. We added libffi
to python-minimal <at> 3's inputs in
d0b73960db051baa468fc1a0fbab21fa9f89f885 to work around a similar issue.
In Python 3.7, the bundled libffi will be removed, and we will have to
build our minimal Python-3 variant with an external libffi package:
https://bugs.python.org/issue27976
Here's a patch that fixes this problem for python-minimal <at> 2. I don't
want to change python-minimal <at> 3 this late in the core-updates cycle; we
can do it in a python-updates branch after core-updates.
[0001-gnu-python-minimal-2-Fix-build-failure-due-to-missin.patch (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 8 years and 151 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.