From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: bug#16569: Python package doesn't install ctypes module Date: Sat, 01 Feb 2014 01:45:40 +0100 Message-ID: <52EC43B4.6000703@gmail.com> References: <52E644D9.5030000@totakura.in> <87fvo9i9k3.fsf@gnu.org> <52E6B0CD.50904@totakura.in> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9Okk-0003Ap-0M for bug-guix@gnu.org; Fri, 31 Jan 2014 19:48:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9Okc-0001MB-Mk for bug-guix@gnu.org; Fri, 31 Jan 2014 19:48:09 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:57739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9Okc-0001M3-IY for bug-guix@gnu.org; Fri, 31 Jan 2014 19:48:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W9Okb-0008EU-R7 for bug-guix@gnu.org; Fri, 31 Jan 2014 19:48:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <52E6B0CD.50904@totakura.in> 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-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Sree Harsha Totakura Cc: 16569@debbugs.gnu.org On 01/27/2014 08:17 PM, Sree Harsha Totakura wrote: > On 01/27/2014 07:06 PM, Ludovic Courtès wrote: >> Is this fixed with the libffi change you proposed (commit >> d43547f12d4eae19845f3bf13a53a050af965063)? > > I haven't tested it, but I don't think the libffi change I proposed > would fix this, because python source comes with libffi. > Actually, it helps! Python only uses its own version of libffi if no libffi can be found on the system. This is what it tries to do in Guix, but it fails because it uses commands that ultimately use /bin/sh, which is not available in the chroot. I'll send a patch that forces Python to use the system libffi. It's against core-updates, since your patch that symlinks stuff in libffi is needed; however, I've only tested it against master after manually 'backporting' it. Could you tell us whether it fixes your issue ? Regards, Cyril.