From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#26136: core-updates: python-minimal@2.7.13 fails due to missing zlib Date: Sun, 19 Mar 2017 22:40:38 +0100 Message-ID: <87r31t0wtl.fsf@gnu.org> References: <20170317014622.GA27842@jasmine> <20170317150851.56e225f0@scratchpost.org> <20170318172601.GA2721@jasmine> <20170318211901.35ed1744@scratchpost.org> <20170319192636.GA16604@jasmine> <20170319201545.GA22896@jasmine> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpiZV-0005ig-PI for bug-guix@gnu.org; Sun, 19 Mar 2017 17:41:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpiZS-00051r-LX for bug-guix@gnu.org; Sun, 19 Mar 2017 17:41:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:37357) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cpiZS-00051e-6t for bug-guix@gnu.org; Sun, 19 Mar 2017 17:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cpiZR-0006QL-WA for bug-guix@gnu.org; Sun, 19 Mar 2017 17:41:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20170319201545.GA22896@jasmine> (Leo Famulari's message of "Sun, 19 Mar 2017 16:15:45 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Leo Famulari Cc: 26136@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi! Adding libffi and zlib solves the problem, similar to python-minimal@3. Go for it? :-) Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-python-minimal-2-Add-dependencies-on-libffi-and-.patch Content-Description: the patch >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/python.scm (python2-minimal)[inputs]: Add LIBFFI and ZLIB. [arguments]: Remove. --- gnu/packages/python.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index be452f062..00598776a 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -359,11 +359,12 @@ data types.") (package (inherit python-2) (name "python-minimal") (outputs '("out")) - (arguments - (substitute-keyword-arguments (package-arguments python-2) - ((#:configure-flags cf) - `(append ,cf '("--without-system-ffi"))))) - (inputs '()))) ;none of the optional dependencies + + ;; Keep zlib, which is used by 'pip' (via the 'zipimport' module), which + ;; is invoked upon 'make install'. 'pip' also expects 'ctypes' and thus + ;; libffi. + (inputs `(("libffi" ,libffi) + ("zlib" ,zlib))))) (define-public python-minimal (package (inherit python) -- 2.12.0 --=-=-=--