From unknown Sun Jun 22 11:41:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#16569: Python package doesn't install ctypes module Resent-From: Sree Harsha Totakura Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 27 Jan 2014 11:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16569 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 16569@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Reply-To: sreeharsha@totakura.in Received: via spool by submit@debbugs.gnu.org id=B.139082267211771 (code B ref -1); Mon, 27 Jan 2014 11:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jan 2014 11:37:52 +0000 Received: from localhost ([127.0.0.1]:37458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W7kVj-00033m-5w for submit@debbugs.gnu.org; Mon, 27 Jan 2014 06:37:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58334) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W7kVe-00033Y-Io for submit@debbugs.gnu.org; Mon, 27 Jan 2014 06:37:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7kVY-0000pQ-FZ for submit@debbugs.gnu.org; Mon, 27 Jan 2014 06:37:46 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60291) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7kVY-0000pM-Cj for submit@debbugs.gnu.org; Mon, 27 Jan 2014 06:37:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7kVS-0004eG-L5 for bug-guix@gnu.org; Mon, 27 Jan 2014 06:37:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7kVM-0000me-5C for bug-guix@gnu.org; Mon, 27 Jan 2014 06:37:34 -0500 Received: from mail-out1.informatik.tu-muenchen.de ([131.159.0.8]:62852 helo=smtp1.informatik.tu-muenchen.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7kVL-0000mT-Ow for bug-guix@gnu.org; Mon, 27 Jan 2014 06:37:28 -0500 Received: from [131.159.20.91] (nautophone.net.in.tum.de [131.159.20.91]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.in.tum.de (Postfix) with ESMTPSA id E386224028F for ; Mon, 27 Jan 2014 12:37:23 +0100 (CET) Message-ID: <52E644D9.5030000@totakura.in> Date: Mon, 27 Jan 2014 12:36:57 +0100 From: Sree Harsha Totakura User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Python (both versions 2.7.6 and 3.3) installed through Guix do not contain/install ctypes module. > $ guix package --list-installed ;;; note: source file > /usr/local/share/guile/site/2.0/srfi/srfi-37.scm ;;; newer > than compiled /usr/local/share/guile/site/2.0/srfi/srfi-37.go hello > 2.9 out /nix/store/jgvkvznlsvwax0hc29f5br508ivphks1-hello-2.9 > gnutls 3.2.4 out > /nix/store/r64154hy14lzdxgp8gy8kk99kh4mw7hf-gnutls-3.2.4 libgcrypt > 1.6.0 out > /nix/store/5ad1sv3fr8bjh1db9jwf0z130gbb584a-libgcrypt-1.6.0 ncdc > 1.18.1 out /nix/store/95i40hzr1scgszdsqa9xc38mighczx5g-ncdc-1.18.1 > $ guix package -i python ;;; note: source file > /usr/local/share/guile/site/2.0/srfi/srfi-37.scm ;;; newer > than compiled /usr/local/share/guile/site/2.0/srfi/srfi-37.go The > following package will be installed: python-3.3.3 out > /nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3 > > substitute-binary: ;;; note: source file > /usr/local/share/guile/site/2.0/srfi/srfi-37.scm substitute-binary: > ;;; newer than compiled > /usr/local/share/guile/site/2.0/srfi/srfi-37.go 5 packages in > profile The following environment variable definitions may be > needed: export > PYTHONPATH="/home/totakura/.guix-profile/lib/python3.3/site-packages" > > $ export PYTHONPATH="/home/totakura/.guix-profile/lib/python3.3/site-packages" > $ which python3.3 /home/totakura/.guix-profile/bin/python3.3 $ > python3.3 Python 3.3.3 (default, Dec 30 2013, 01:48:16) [GCC 4.8.2] > on linux Type "help", "copyright", "credits" or "license" for more > information. >>>> import ctypes > Traceback (most recent call last): File "", line 1, in > File > "/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__init__.py", > line 7, in from _ctypes import Union, Structure, Array > ImportError: No module named '_ctypes' >>>> > $ cd /nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3 $ > pwd /nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3 $ find > ./ -name "*ctypes*" > ./lib/python3.3/test/__pycache__/test_ctypes.cpython-33.pyo > ./lib/python3.3/test/__pycache__/test_ctypes.cpython-33.pyc > ./lib/python3.3/test/test_ctypes.py ./lib/python3.3/ctypes > ./lib/python3.3/ctypes/macholib/README.ctypes > ./lib/python3.3/lib-dynload/_ctypes_test.cpython-33m.so > ./lib/python3.3/multiprocessing/__pycache__/sharedctypes.cpython-33.pyc > > ./lib/python3.3/multiprocessing/__pycache__/sharedctypes.cpython-33.pyo > ./lib/python3.3/multiprocessing/sharedctypes.py $ On my debian system, python was able to find ctypes module after searching through these paths: > stat("/usr/lib/python2.7/ctypes", {st_mode=S_IFDIR|0755, > st_size=4096, ...}) = 0 stat("/usr/lib/python2.7/ctypes", > {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > stat("/usr/lib/python2.7/ctypes/os", 0x7fff3be9e430) = -1 ENOENT > (No such file or directory) open("/usr/lib/python2.7/ctypes/os.so", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/lib/python2.7/ctypes/osmodule.so", O_RDONLY) = -1 ENOENT > (No such file or directory) open("/usr/lib/python2.7/ctypes/os.py", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/lib/python2.7/ctypes/os.pyc", O_RDONLY) = -1 ENOENT (No > such file or directory) stat("/usr/lib/python2.7/ctypes/sys", > 0x7fff3be9e430) = -1 ENOENT (No such file or directory) > open("/usr/lib/python2.7/ctypes/sys.so", O_RDONLY) = -1 ENOENT (No > such file or directory) > open("/usr/lib/python2.7/ctypes/sysmodule.so", O_RDONLY) = -1 > ENOENT (No such file or directory) > open("/usr/lib/python2.7/ctypes/sys.py", O_RDONLY) = -1 ENOENT (No > such file or directory) open("/usr/lib/python2.7/ctypes/sys.pyc", > O_RDONLY) = -1 ENOENT (No such file or directory) > stat("/usr/lib/python2.7/ctypes/_ctypes", 0x7fff3be9e430) = -1 > ENOENT (No such file or directory) > open("/usr/lib/python2.7/ctypes/_ctypes.so", O_RDONLY) = -1 ENOENT > (No such file or directory) > open("/usr/lib/python2.7/ctypes/_ctypesmodule.so", O_RDONLY) = -1 > ENOENT (No such file or directory) > open("/usr/lib/python2.7/ctypes/_ctypes.py", O_RDONLY) = -1 ENOENT > (No such file or directory) > open("/usr/lib/python2.7/ctypes/_ctypes.pyc", O_RDONLY) = -1 ENOENT > (No such file or directory) stat("_ctypes", 0x7fff3be9e430) > = -1 ENOENT (No such file or directory) open("_ctypes.so", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("_ctypesmodule.so", O_RDONLY) = -1 ENOENT (No such file > or directory) open("_ctypes.py", O_RDONLY) = -1 ENOENT > (No such file or directory) open("_ctypes.pyc", O_RDONLY) > = -1 ENOENT (No such file or directory) > stat("/usr/lib/python2.7/_ctypes", 0x7fff3be9e430) = -1 ENOENT (No > such file or directory) open("/usr/lib/python2.7/_ctypes.so", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/lib/python2.7/_ctypesmodule.so", O_RDONLY) = -1 ENOENT > (No such file or directory) open("/usr/lib/python2.7/_ctypes.py", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/lib/python2.7/_ctypes.pyc", O_RDONLY) = -1 ENOENT (No > such file or directory) > stat("/usr/lib/python2.7/plat-linux2/_ctypes", 0x7fff3be9e430) = -1 > ENOENT (No such file or directory) > open("/usr/lib/python2.7/plat-linux2/_ctypes.so", O_RDONLY) = -1 > ENOENT (No such file or directory) > open("/usr/lib/python2.7/plat-linux2/_ctypesmodule.so", O_RDONLY) = > -1 ENOENT (No such file or directory) > open("/usr/lib/python2.7/plat-linux2/_ctypes.py", O_RDONLY) = -1 > ENOENT (No such file or directory) > open("/usr/lib/python2.7/plat-linux2/_ctypes.pyc", O_RDONLY) = -1 > ENOENT (No such file or directory) > stat("/usr/lib/python2.7/lib-tk/_ctypes", 0x7fff3be9e430) = -1 > ENOENT (No such file or directory) > open("/usr/lib/python2.7/lib-tk/_ctypes.so", O_RDONLY) = -1 ENOENT > (No such file or directory) > open("/usr/lib/python2.7/lib-tk/_ctypesmodule.so", O_RDONLY) = -1 > ENOENT (No such file or directory) > open("/usr/lib/python2.7/lib-tk/_ctypes.py", O_RDONLY) = -1 ENOENT > (No such file or directory) > open("/usr/lib/python2.7/lib-tk/_ctypes.pyc", O_RDONLY) = -1 ENOENT > (No such file or directory) > stat("/usr/lib/python2.7/lib-dynload/_ctypes", 0x7fff3be9e430) = -1 > ENOENT (No such file or directory) > open("/usr/lib/python2.7/lib-dynload/_ctypes.so", O_RDONLY) = 4 With the Guix installed python I observe this through strace: > rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0 ioctl(0, > SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = > 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 > rt_sigaction(SIGWINCH, {SIG_DFL, [], SA_RESTORER, 0x7fb581e85870}, > {0x7fb57a520760, [], SA_RESTORER|SA_RESTART, 0x7fb581e85870}, 8) = > 0 stat(".", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0 > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3", > {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes", > {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__init__.cpython-33m.so", > 0x7fff05ac1650) = -1 ENOENT (No such file or directory) > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__init__.abi3.so", > 0x7fff05ac1650) = -1 ENOENT (No such file or directory) > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__init__.so", > 0x7fff05ac1650) = -1 ENOENT (No such file or directory) > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__init__.py", > {st_mode=S_IFREG|0444, st_size=17043, ...}) = 0 > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__init__.py", > {st_mode=S_IFREG|0444, st_size=17043, ...}) = 0 > open("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__pycache__/__init__.cpython-33.pyc", > O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0444, st_size=29315, ...}) > = 0 lseek(3, 0, SEEK_CUR) = 0 fstat(3, > {st_mode=S_IFREG|0444, st_size=29315, ...}) = 0 read(3, > "\236\f\r\nh\321\300R\223B\0\0c\0\0\0\0\0\0\0\0\0\0\0\0\r\0\0\0@\0\0"..., > 29316) = 29315 read(3, "", 1) = 0 close(3) > = 0 > open("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__init__.py", > O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0444, st_size=17043, ...}) > = 0 lseek(3, 0, SEEK_CUR) = 0 fstat(3, > {st_mode=S_IFREG|0444, st_size=17043, ...}) = 0 read(3, > "\"\"\"create and manipulate C data "..., 17044) = 17043 read(3, > "", 1) = 0 close(3) > = 0 > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__init__.py", > {st_mode=S_IFREG|0444, st_size=17043, ...}) = 0 > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__pycache__", > {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 > open("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__pycache__/__init__.cpython-33.pyc.140417554480296", > O_WRONLY|O_CREAT|O_EXCL, 0644) = -1 EACCES (Permission denied) > stat(".", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0 > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3", > {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/plat-linux", > {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/lib-dynload", > {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/site-packages", > {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 write(2, "Traceback > (most recent call last"..., 35Traceback (most recent call last): ) > = 35 write(2, " File \"\", line 1, in "", line 1, in ) = 38 open("", O_RDONLY) > = -1 ENOENT (No such file or directory) open("", O_RDONLY) > = -1 ENOENT (No such file or directory) > open("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python33.zip/", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/plat-linux/", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/lib-dynload/", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/site-packages/", > O_RDONLY) = -1 ENOENT (No such file or directory) write(2, " File > \"/nix/store/b50aj7l8qhaxy"..., 120 File > "/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__init__.py", > line 7, in ) = 120 > open("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__init__.py", > O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0444, st_size=17043, ...}) > = 0 ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff05ac1220) = -1 > ENOTTY (Inappropriate ioctl for device) fstat(3, > {st_mode=S_IFREG|0444, st_size=17043, ...}) = 0 lseek(3, 0, > SEEK_CUR) = 0 dup(3) > = 4 fcntl(4, F_GETFL) = 0x8000 (flags > O_RDONLY|O_LARGEFILE) fstat(4, {st_mode=S_IFREG|0444, > st_size=17043, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb58257d000 lseek(4, 0, > SEEK_CUR) = 0 read(4, "\"\"\"create and > manipulate C data "..., 4096) = 4096 close(4) > = 0 munmap(0x7fb58257d000, 4096) = 0 lseek(3, 0, > SEEK_SET) = 0 lseek(3, 0, SEEK_CUR) > = 0 read(3, "\"\"\"create and manipulate C data "..., 8192) = 8192 > close(3) = 0 write(2, " from > _ctypes import Union, S"..., 48 from _ctypes import Union, > Structure, Array ) = 48 write(2, "ImportError: No module named > '_c"..., 39ImportError: No module named '_ctypes' ) = 39 Sree -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlLmRNkACgkQO2+K8UPCHztJRgCeIQzRwGkGRAYGq3xENXDDhdac rtcAn2HjBpRCg535Mhy/ry9uIsA2JsNm =UhMJ -----END PGP SIGNATURE----- From unknown Sun Jun 22 11:41:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#16569: Python package doesn't install ctypes module Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 27 Jan 2014 18:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16569 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Sree Harsha Totakura Cc: 16569@debbugs.gnu.org Received: via spool by 16569-submit@debbugs.gnu.org id=B16569.139084598531249 (code B ref 16569); Mon, 27 Jan 2014 18:07:01 +0000 Received: (at 16569) by debbugs.gnu.org; 27 Jan 2014 18:06:25 +0000 Received: from localhost ([127.0.0.1]:38379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W7qZl-00087w-0k for submit@debbugs.gnu.org; Mon, 27 Jan 2014 13:06:25 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:52343) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W7qZi-00087o-Sk for 16569@debbugs.gnu.org; Mon, 27 Jan 2014 13:06:23 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 948C11C0F; Mon, 27 Jan 2014 19:06:21 +0100 (CET) Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HNo4pHDiCZWV; Mon, 27 Jan 2014 19:06:21 +0100 (CET) Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 19EAD1C0B; Mon, 27 Jan 2014 19:06:21 +0100 (CET) From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <52E644D9.5030000@totakura.in> Date: Mon, 27 Jan 2014 19:06:20 +0100 In-Reply-To: <52E644D9.5030000@totakura.in> (Sree Harsha Totakura's message of "Mon, 27 Jan 2014 12:36:57 +0100") Message-ID: <87fvo9i9k3.fsf@gnu.org> User-Agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Sree Harsha Totakura skribis: > Python (both versions 2.7.6 and 3.3) installed through Guix do not > contain/install ctypes module. Is this fixed with the libffi change you proposed (commit d43547f12d4eae19845f3bf13a53a050af965063)? Ludo=E2=80=99. From unknown Sun Jun 22 11:41:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#16569: Python package doesn't install ctypes module Resent-From: Sree Harsha Totakura Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 27 Jan 2014 19:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16569 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 16569@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.13908502785901 (code B ref -1); Mon, 27 Jan 2014 19:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jan 2014 19:17:58 +0000 Received: from localhost ([127.0.0.1]:38420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W7rh0-0001X6-93 for submit@debbugs.gnu.org; Mon, 27 Jan 2014 14:17:58 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34700) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W7rgx-0001Ww-Sd for submit@debbugs.gnu.org; Mon, 27 Jan 2014 14:17:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7rgp-0004hl-2K for submit@debbugs.gnu.org; Mon, 27 Jan 2014 14:17:55 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38645) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7rgo-0004hh-Vb for submit@debbugs.gnu.org; Mon, 27 Jan 2014 14:17:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7rgi-0001wX-Vh for bug-guix@gnu.org; Mon, 27 Jan 2014 14:17:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7rgd-0004fg-1A for bug-guix@gnu.org; Mon, 27 Jan 2014 14:17:40 -0500 Received: from mail-out1.informatik.tu-muenchen.de ([131.159.0.8]:42241 helo=smtp1.informatik.tu-muenchen.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7rgc-0004fR-Rd for bug-guix@gnu.org; Mon, 27 Jan 2014 14:17:34 -0500 Received: from [192.168.1.2] (unknown [10.149.93.73]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.in.tum.de (Postfix) with ESMTPSA id 535E72403BF for ; Mon, 27 Jan 2014 20:17:33 +0100 (CET) Message-ID: <52E6B0CD.50904@totakura.in> Date: Mon, 27 Jan 2014 20:17:33 +0100 From: Sree Harsha Totakura User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 References: <52E644D9.5030000@totakura.in> <87fvo9i9k3.fsf@gnu.org> In-Reply-To: <87fvo9i9k3.fsf@gnu.org> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On 01/27/2014 07:06 PM, Ludovic Court=C3=A8s 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. What I could not confirm is whether the ctypes module is getting built or not. Maybe knowing that can be helpful. Sree From unknown Sun Jun 22 11:41:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#16569: Python package doesn't install ctypes module Resent-From: Cyril Roelandt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 01 Feb 2014 00:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16569 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Sree Harsha Totakura Cc: 16569@debbugs.gnu.org Received: via spool by 16569-submit@debbugs.gnu.org id=B16569.139121562531563 (code B ref 16569); Sat, 01 Feb 2014 00:48:01 +0000 Received: (at 16569) by debbugs.gnu.org; 1 Feb 2014 00:47:05 +0000 Received: from localhost ([127.0.0.1]:43522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9Ojg-0008D1-Oh for submit@debbugs.gnu.org; Fri, 31 Jan 2014 19:47:05 -0500 Received: from mail-we0-f170.google.com ([74.125.82.170]:34289) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9Ojd-0008CZ-SS for 16569@debbugs.gnu.org; Fri, 31 Jan 2014 19:47:02 -0500 Received: by mail-we0-f170.google.com with SMTP id w62so253672wes.1 for <16569@debbugs.gnu.org>; Fri, 31 Jan 2014 16:47:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=PyuCDWLmlTEStpQcVIWvZBLWDSlhqvDr93wfpvraHak=; b=FsgfnmCInTapd1MW6zbdE3QHfgYiwzDnqtlxHpOwNkQ1M1epge5b2TM84ma3ns2NSq EgPw8hSVRIao8gmEnERmsNKOFiCfHKrrvj6FGte4vXIW6T/UiLPcvvQmXSEPi6RLQjsn 80LqgvCa0bdMBpexkKkwcJ2WUtlsU/8KUVpdClklv4SglO7XoEKzGezsVeLl8afik/L1 +8jx8dMc0RyHaZxzxACtt/tLISC6HIWoUIKBoa50kkrlqqbo/GMk49Qo8s2Og8QhxhiH Di8EC7I8/JLCWEnyfClukzLe97ky/q4YspeC9OgAz1XeCqioDGAlj6qvZRq++drjdMLe ELaA== X-Received: by 10.194.241.228 with SMTP id wl4mr15660679wjc.2.1391215620535; Fri, 31 Jan 2014 16:47:00 -0800 (PST) Received: from [192.168.0.10] (tal33-3-82-233-82-24.fbx.proxad.net. [82.233.82.24]) by mx.google.com with ESMTPSA id fo6sm2096127wib.7.2014.01.31.16.46.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 Jan 2014 16:46:59 -0800 (PST) Message-ID: <52EC43B4.6000703@gmail.com> Date: Sat, 01 Feb 2014 01:45:40 +0100 From: Cyril Roelandt User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 References: <52E644D9.5030000@totakura.in> <87fvo9i9k3.fsf@gnu.org> <52E6B0CD.50904@totakura.in> In-Reply-To: <52E6B0CD.50904@totakura.in> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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. From unknown Sun Jun 22 11:41:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#16569: [PATCH] gnu: Enable the 'ctypes' module in Python. References: <52E644D9.5030000@totakura.in> In-Reply-To: <52E644D9.5030000@totakura.in> Resent-From: Cyril Roelandt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 01 Feb 2014 00:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16569 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 16569@debbugs.gnu.org Cc: Cyril Roelandt Received: via spool by 16569-submit@debbugs.gnu.org id=B16569.139121564731601 (code B ref 16569); Sat, 01 Feb 2014 00:48:02 +0000 Received: (at 16569) by debbugs.gnu.org; 1 Feb 2014 00:47:27 +0000 Received: from localhost ([127.0.0.1]:43525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9Ok3-0008Dc-5f for submit@debbugs.gnu.org; Fri, 31 Jan 2014 19:47:27 -0500 Received: from mail-we0-f181.google.com ([74.125.82.181]:52053) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9Ok1-0008DU-1m for 16569@debbugs.gnu.org; Fri, 31 Jan 2014 19:47:25 -0500 Received: by mail-we0-f181.google.com with SMTP id w61so255170wes.12 for <16569@debbugs.gnu.org>; Fri, 31 Jan 2014 16:47:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=1kXsmBtu26DDiv5bgE86Gj/aHPAxxRcci3OdTz3jVVs=; b=vfD6vDJvkg0Mc4Zsjn+xynxZOtALKhYcdI0CmSjczqNnUe+PN6q36A+iGkXQ8lvOqW dbK1zSKJxEMqhXRQhaRRMHoh/0flAAnjLDUk20LfkXQ5OdmPeYLrScUFU66L98DpLo9X 5tSxFbq9wDE/vIWov0iclqrnNlTCRoqm6ojMDwZqKKCBxs6xemSDAk7CAq35WX8pAjyz yQsgo28541ZGouTT/bd1qm7zEtjrjz90ogfOWmJsNTGUCUxU5mSQtusgd00kD41F7/Z0 kzCZ8x+MGHu851oIJNZ5bfRe7Y7hBO4AFbfzoQ0XIDvsk7+NkUvTLBPzx7n+P/QbiFSD dEXg== X-Received: by 10.180.198.52 with SMTP id iz20mr649728wic.59.1391215644216; Fri, 31 Jan 2014 16:47:24 -0800 (PST) Received: from localhost.localdomain (tal33-3-82-233-82-24.fbx.proxad.net. [82.233.82.24]) by mx.google.com with ESMTPSA id uq2sm23377356wjc.5.2014.01.31.16.47.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 Jan 2014 16:47:23 -0800 (PST) From: Cyril Roelandt Date: Sat, 1 Feb 2014 01:46:00 +0100 Message-Id: <1391215560-6020-1-git-send-email-tipecaml@gmail.com> X-Mailer: git-send-email 1.8.4.rc3 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * gnu/packages/python.scm (python-2): add libffi to the inputs and use it to build the ctypes module. --- gnu/packages/python.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 6d2c940..260bace 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -27,9 +27,11 @@ #:use-module (gnu packages compression) #:use-module (gnu packages gdbm) #:use-module (gnu packages icu4c) + #:use-module (gnu packages libffi) #:use-module (gnu packages readline) #:use-module (gnu packages openssl) #:use-module (gnu packages patchelf) + #:use-module (gnu packages pkg-config) #:use-module (gnu packages sqlite) #:use-module (guix packages) #:use-module (guix download) @@ -98,10 +100,12 @@ #:configure-flags (let ((bz2 (assoc-ref %build-inputs "bzip2")) (gdbm (assoc-ref %build-inputs "gdbm")) + (libffi (assoc-ref %build-inputs "libffi")) (openssl (assoc-ref %build-inputs "openssl")) (readline (assoc-ref %build-inputs "readline")) (zlib (assoc-ref %build-inputs "zlib"))) (list "--enable-shared" ; allow embedding + "--with-system-ffi" ; build ctypes (string-append "CPPFLAGS=" "-I" bz2 "/include " "-I" gdbm "/include " @@ -111,6 +115,7 @@ (string-append "LDFLAGS=" "-L" bz2 "/lib " "-L" gdbm "/lib " + "-L" libffi "/lib " "-L" openssl "/lib " "-L" readline "/lib " "-L" zlib "/lib"))) @@ -137,7 +142,9 @@ (inputs `(("bzip2" ,bzip2) ("gdbm" ,gdbm) + ("libffi" ,libffi) ; for ctypes ("openssl" ,openssl) + ("pkg-config" ,pkg-config) ("readline" ,readline) ("zlib" ,zlib) ("patchelf" ,patchelf))) ; for (guix build rpath) -- 1.8.4.rc3 From unknown Sun Jun 22 11:41:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#16569: Python package doesn't install ctypes module Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 02 Feb 2014 07:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16569 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Cyril Roelandt Cc: 16569@debbugs.gnu.org, Sree Harsha Totakura Received: via spool by 16569-submit@debbugs.gnu.org id=B16569.13913260182483 (code B ref 16569); Sun, 02 Feb 2014 07:27:01 +0000 Received: (at 16569) by debbugs.gnu.org; 2 Feb 2014 07:26:58 +0000 Received: from localhost ([127.0.0.1]:45606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9rSC-0000dy-V0 for submit@debbugs.gnu.org; Sun, 02 Feb 2014 02:26:57 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:59386) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9rS8-0000dm-NH for 16569@debbugs.gnu.org; Sun, 02 Feb 2014 02:26:54 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 79F441C46; Sun, 2 Feb 2014 08:26:51 +0100 (CET) Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4-8eOA9Vvdt1; Sun, 2 Feb 2014 08:26:51 +0100 (CET) Received: from pluto (unknown [91.182.225.46]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 2343D1A64; Sun, 2 Feb 2014 08:26:51 +0100 (CET) From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) In-Reply-To: <52EC43B4.6000703@gmail.com> (Cyril Roelandt's message of "Sat, 01 Feb 2014 01:45:40 +0100") References: <52E644D9.5030000@totakura.in> <87fvo9i9k3.fsf@gnu.org> <52E6B0CD.50904@totakura.in> <52EC43B4.6000703@gmail.com> User-Agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 =?UTF-8?Q?Pluvi=C3=B4se?= an 222 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu Date: Sun, 02 Feb 2014 08:26:50 +0100 Message-ID: <87mwia5611.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Cyril Roelandt skribis: > On 01/27/2014 08:17 PM, Sree Harsha Totakura wrote: >> On 01/27/2014 07:06 PM, Ludovic Court=C3=A8s 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. So the change makes it use the system=E2=80=99s libffi, but it doesn=E2=80= =99t make it build ctype, does it? > I'll send a patch that forces Python to use the system libffi. But if the libffi change above solves this problem, what else is needed? Thanks, Ludo=E2=80=99. From unknown Sun Jun 22 11:41:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#16569: [PATCH] gnu: Enable the 'ctypes' module in Python. Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 02 Feb 2014 07:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16569 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Cyril Roelandt Cc: 16569@debbugs.gnu.org Received: via spool by 16569-submit@debbugs.gnu.org id=B16569.13913262082854 (code B ref 16569); Sun, 02 Feb 2014 07:31:01 +0000 Received: (at 16569) by debbugs.gnu.org; 2 Feb 2014 07:30:08 +0000 Received: from localhost ([127.0.0.1]:45610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9rVH-0000jx-LE for submit@debbugs.gnu.org; Sun, 02 Feb 2014 02:30:08 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:59394) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9rVC-0000im-CP for 16569@debbugs.gnu.org; Sun, 02 Feb 2014 02:30:03 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id C55241C4A; Sun, 2 Feb 2014 08:30:01 +0100 (CET) Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OSnph58kK8dj; Sun, 2 Feb 2014 08:30:01 +0100 (CET) Received: from pluto (unknown [91.182.225.46]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 745BE1A64; Sun, 2 Feb 2014 08:30:01 +0100 (CET) From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) In-Reply-To: <1391215560-6020-1-git-send-email-tipecaml@gmail.com> (Cyril Roelandt's message of "Sat, 1 Feb 2014 01:46:00 +0100") References: <52E644D9.5030000@totakura.in> <1391215560-6020-1-git-send-email-tipecaml@gmail.com> User-Agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 =?UTF-8?Q?Pluvi=C3=B4se?= an 222 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu Date: Sun, 02 Feb 2014 08:30:00 +0100 Message-ID: <87d2j655vr.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Cyril Roelandt skribis: > * gnu/packages/python.scm (python-2): add libffi to the inputs and use it= to > build the ctypes module. Oh I see now, nice! > (inputs > `(("bzip2" ,bzip2) > ("gdbm" ,gdbm) > + ("libffi" ,libffi) ; for ctypes > ("openssl" ,openssl) > + ("pkg-config" ,pkg-config) =E2=80=98pkg-config=E2=80=99 should be in =E2=80=98native-inputs=E2=80=99. OK to commit with this change! Thanks, Ludo=E2=80=99. From unknown Sun Jun 22 11:41:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#16569: [PATCH] gnu: Enable the 'ctypes' module in Python. Resent-From: Sree Harsha Totakura Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 03 Feb 2014 19:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16569 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Cyril Roelandt Cc: 16569@debbugs.gnu.org Received: via spool by 16569-submit@debbugs.gnu.org id=B16569.139145739317511 (code B ref 16569); Mon, 03 Feb 2014 19:57:02 +0000 Received: (at 16569) by debbugs.gnu.org; 3 Feb 2014 19:56:33 +0000 Received: from localhost ([127.0.0.1]:48336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WAPdA-0004YM-NT for submit@debbugs.gnu.org; Mon, 03 Feb 2014 14:56:32 -0500 Received: from mail-out1.informatik.tu-muenchen.de ([131.159.0.8]:38466 helo=smtp1.informatik.tu-muenchen.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WAPd7-0004Y9-Bc for 16569@debbugs.gnu.org; Mon, 03 Feb 2014 14:56:30 -0500 Received: from [192.168.1.128] (unknown [10.149.93.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.in.tum.de (Postfix) with ESMTPSA id D00212401EC; Mon, 3 Feb 2014 20:56:27 +0100 (CET) Message-ID: <52EFF46B.4020305@totakura.in> Date: Mon, 03 Feb 2014 20:56:27 +0100 From: Sree Harsha Totakura User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 References: <52E644D9.5030000@totakura.in> <1391215560-6020-1-git-send-email-tipecaml@gmail.com> In-Reply-To: <1391215560-6020-1-git-send-email-tipecaml@gmail.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi! This patch solved this bug. Thanks! Sree On 02/01/2014 01:46 AM, Cyril Roelandt wrote: > * gnu/packages/python.scm (python-2): add libffi to the inputs and use it to > build the ctypes module. From unknown Sun Jun 22 11:41:19 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: sreeharsha@totakura.in Subject: bug#16569: closed (Re: bug#16569: [PATCH] gnu: Enable the 'ctypes' module in Python.) Message-ID: References: <87y4ztkv2b.fsf@gnu.org> <52E644D9.5030000@totakura.in> X-Gnu-PR-Message: they-closed 16569 X-Gnu-PR-Package: guix Reply-To: 16569@debbugs.gnu.org Date: Sat, 29 Mar 2014 13:13:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1396098783-4065-1" This is a multi-part message in MIME format... ------------=_1396098783-4065-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #16569: Python package doesn't install ctypes module which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 16569@debbugs.gnu.org. --=20 16569: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D16569 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1396098783-4065-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 16569-done) by debbugs.gnu.org; 29 Mar 2014 13:12:35 +0000 Received: from localhost ([127.0.0.1]:55481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WTt3r-00012s-2j for submit@debbugs.gnu.org; Sat, 29 Mar 2014 09:12:35 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:54437) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WTt3o-00012g-0W for 16569-done@debbugs.gnu.org; Sat, 29 Mar 2014 09:12:32 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 3E7ACD72; Sat, 29 Mar 2014 14:12:30 +0100 (CET) Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 82rdhPVtYAPK; Sat, 29 Mar 2014 14:12:30 +0100 (CET) Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id CE4AD35B; Sat, 29 Mar 2014 14:12:29 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Sree Harsha Totakura Subject: Re: bug#16569: [PATCH] gnu: Enable the 'ctypes' module in Python. References: <52E644D9.5030000@totakura.in> <1391215560-6020-1-git-send-email-tipecaml@gmail.com> <52EFF46B.4020305@totakura.in> Date: Sat, 29 Mar 2014 14:12:28 +0100 In-Reply-To: <52EFF46B.4020305@totakura.in> (Sree Harsha Totakura's message of "Mon, 03 Feb 2014 20:56:27 +0100") Message-ID: <87y4ztkv2b.fsf@gnu.org> User-Agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16569-done Cc: 16569-done@debbugs.gnu.org, Cyril Roelandt X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Fixed by b10ab72, now in =E2=80=98master=E2=80=99. Thanks to both of you! Ludo=E2=80=99. ------------=_1396098783-4065-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 27 Jan 2014 11:37:52 +0000 Received: from localhost ([127.0.0.1]:37458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W7kVj-00033m-5w for submit@debbugs.gnu.org; Mon, 27 Jan 2014 06:37:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58334) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W7kVe-00033Y-Io for submit@debbugs.gnu.org; Mon, 27 Jan 2014 06:37:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7kVY-0000pQ-FZ for submit@debbugs.gnu.org; Mon, 27 Jan 2014 06:37:46 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60291) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7kVY-0000pM-Cj for submit@debbugs.gnu.org; Mon, 27 Jan 2014 06:37:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7kVS-0004eG-L5 for bug-guix@gnu.org; Mon, 27 Jan 2014 06:37:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7kVM-0000me-5C for bug-guix@gnu.org; Mon, 27 Jan 2014 06:37:34 -0500 Received: from mail-out1.informatik.tu-muenchen.de ([131.159.0.8]:62852 helo=smtp1.informatik.tu-muenchen.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7kVL-0000mT-Ow for bug-guix@gnu.org; Mon, 27 Jan 2014 06:37:28 -0500 Received: from [131.159.20.91] (nautophone.net.in.tum.de [131.159.20.91]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.in.tum.de (Postfix) with ESMTPSA id E386224028F for ; Mon, 27 Jan 2014 12:37:23 +0100 (CET) Message-ID: <52E644D9.5030000@totakura.in> Date: Mon, 27 Jan 2014 12:36:57 +0100 From: Sree Harsha Totakura User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 To: bug-guix@gnu.org Subject: Python package doesn't install ctypes module X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: sreeharsha@totakura.in List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Python (both versions 2.7.6 and 3.3) installed through Guix do not contain/install ctypes module. > $ guix package --list-installed ;;; note: source file > /usr/local/share/guile/site/2.0/srfi/srfi-37.scm ;;; newer > than compiled /usr/local/share/guile/site/2.0/srfi/srfi-37.go hello > 2.9 out /nix/store/jgvkvznlsvwax0hc29f5br508ivphks1-hello-2.9 > gnutls 3.2.4 out > /nix/store/r64154hy14lzdxgp8gy8kk99kh4mw7hf-gnutls-3.2.4 libgcrypt > 1.6.0 out > /nix/store/5ad1sv3fr8bjh1db9jwf0z130gbb584a-libgcrypt-1.6.0 ncdc > 1.18.1 out /nix/store/95i40hzr1scgszdsqa9xc38mighczx5g-ncdc-1.18.1 > $ guix package -i python ;;; note: source file > /usr/local/share/guile/site/2.0/srfi/srfi-37.scm ;;; newer > than compiled /usr/local/share/guile/site/2.0/srfi/srfi-37.go The > following package will be installed: python-3.3.3 out > /nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3 > > substitute-binary: ;;; note: source file > /usr/local/share/guile/site/2.0/srfi/srfi-37.scm substitute-binary: > ;;; newer than compiled > /usr/local/share/guile/site/2.0/srfi/srfi-37.go 5 packages in > profile The following environment variable definitions may be > needed: export > PYTHONPATH="/home/totakura/.guix-profile/lib/python3.3/site-packages" > > $ export PYTHONPATH="/home/totakura/.guix-profile/lib/python3.3/site-packages" > $ which python3.3 /home/totakura/.guix-profile/bin/python3.3 $ > python3.3 Python 3.3.3 (default, Dec 30 2013, 01:48:16) [GCC 4.8.2] > on linux Type "help", "copyright", "credits" or "license" for more > information. >>>> import ctypes > Traceback (most recent call last): File "", line 1, in > File > "/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__init__.py", > line 7, in from _ctypes import Union, Structure, Array > ImportError: No module named '_ctypes' >>>> > $ cd /nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3 $ > pwd /nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3 $ find > ./ -name "*ctypes*" > ./lib/python3.3/test/__pycache__/test_ctypes.cpython-33.pyo > ./lib/python3.3/test/__pycache__/test_ctypes.cpython-33.pyc > ./lib/python3.3/test/test_ctypes.py ./lib/python3.3/ctypes > ./lib/python3.3/ctypes/macholib/README.ctypes > ./lib/python3.3/lib-dynload/_ctypes_test.cpython-33m.so > ./lib/python3.3/multiprocessing/__pycache__/sharedctypes.cpython-33.pyc > > ./lib/python3.3/multiprocessing/__pycache__/sharedctypes.cpython-33.pyo > ./lib/python3.3/multiprocessing/sharedctypes.py $ On my debian system, python was able to find ctypes module after searching through these paths: > stat("/usr/lib/python2.7/ctypes", {st_mode=S_IFDIR|0755, > st_size=4096, ...}) = 0 stat("/usr/lib/python2.7/ctypes", > {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > stat("/usr/lib/python2.7/ctypes/os", 0x7fff3be9e430) = -1 ENOENT > (No such file or directory) open("/usr/lib/python2.7/ctypes/os.so", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/lib/python2.7/ctypes/osmodule.so", O_RDONLY) = -1 ENOENT > (No such file or directory) open("/usr/lib/python2.7/ctypes/os.py", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/lib/python2.7/ctypes/os.pyc", O_RDONLY) = -1 ENOENT (No > such file or directory) stat("/usr/lib/python2.7/ctypes/sys", > 0x7fff3be9e430) = -1 ENOENT (No such file or directory) > open("/usr/lib/python2.7/ctypes/sys.so", O_RDONLY) = -1 ENOENT (No > such file or directory) > open("/usr/lib/python2.7/ctypes/sysmodule.so", O_RDONLY) = -1 > ENOENT (No such file or directory) > open("/usr/lib/python2.7/ctypes/sys.py", O_RDONLY) = -1 ENOENT (No > such file or directory) open("/usr/lib/python2.7/ctypes/sys.pyc", > O_RDONLY) = -1 ENOENT (No such file or directory) > stat("/usr/lib/python2.7/ctypes/_ctypes", 0x7fff3be9e430) = -1 > ENOENT (No such file or directory) > open("/usr/lib/python2.7/ctypes/_ctypes.so", O_RDONLY) = -1 ENOENT > (No such file or directory) > open("/usr/lib/python2.7/ctypes/_ctypesmodule.so", O_RDONLY) = -1 > ENOENT (No such file or directory) > open("/usr/lib/python2.7/ctypes/_ctypes.py", O_RDONLY) = -1 ENOENT > (No such file or directory) > open("/usr/lib/python2.7/ctypes/_ctypes.pyc", O_RDONLY) = -1 ENOENT > (No such file or directory) stat("_ctypes", 0x7fff3be9e430) > = -1 ENOENT (No such file or directory) open("_ctypes.so", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("_ctypesmodule.so", O_RDONLY) = -1 ENOENT (No such file > or directory) open("_ctypes.py", O_RDONLY) = -1 ENOENT > (No such file or directory) open("_ctypes.pyc", O_RDONLY) > = -1 ENOENT (No such file or directory) > stat("/usr/lib/python2.7/_ctypes", 0x7fff3be9e430) = -1 ENOENT (No > such file or directory) open("/usr/lib/python2.7/_ctypes.so", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/lib/python2.7/_ctypesmodule.so", O_RDONLY) = -1 ENOENT > (No such file or directory) open("/usr/lib/python2.7/_ctypes.py", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/lib/python2.7/_ctypes.pyc", O_RDONLY) = -1 ENOENT (No > such file or directory) > stat("/usr/lib/python2.7/plat-linux2/_ctypes", 0x7fff3be9e430) = -1 > ENOENT (No such file or directory) > open("/usr/lib/python2.7/plat-linux2/_ctypes.so", O_RDONLY) = -1 > ENOENT (No such file or directory) > open("/usr/lib/python2.7/plat-linux2/_ctypesmodule.so", O_RDONLY) = > -1 ENOENT (No such file or directory) > open("/usr/lib/python2.7/plat-linux2/_ctypes.py", O_RDONLY) = -1 > ENOENT (No such file or directory) > open("/usr/lib/python2.7/plat-linux2/_ctypes.pyc", O_RDONLY) = -1 > ENOENT (No such file or directory) > stat("/usr/lib/python2.7/lib-tk/_ctypes", 0x7fff3be9e430) = -1 > ENOENT (No such file or directory) > open("/usr/lib/python2.7/lib-tk/_ctypes.so", O_RDONLY) = -1 ENOENT > (No such file or directory) > open("/usr/lib/python2.7/lib-tk/_ctypesmodule.so", O_RDONLY) = -1 > ENOENT (No such file or directory) > open("/usr/lib/python2.7/lib-tk/_ctypes.py", O_RDONLY) = -1 ENOENT > (No such file or directory) > open("/usr/lib/python2.7/lib-tk/_ctypes.pyc", O_RDONLY) = -1 ENOENT > (No such file or directory) > stat("/usr/lib/python2.7/lib-dynload/_ctypes", 0x7fff3be9e430) = -1 > ENOENT (No such file or directory) > open("/usr/lib/python2.7/lib-dynload/_ctypes.so", O_RDONLY) = 4 With the Guix installed python I observe this through strace: > rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0 ioctl(0, > SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = > 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 > rt_sigaction(SIGWINCH, {SIG_DFL, [], SA_RESTORER, 0x7fb581e85870}, > {0x7fb57a520760, [], SA_RESTORER|SA_RESTART, 0x7fb581e85870}, 8) = > 0 stat(".", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0 > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3", > {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes", > {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__init__.cpython-33m.so", > 0x7fff05ac1650) = -1 ENOENT (No such file or directory) > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__init__.abi3.so", > 0x7fff05ac1650) = -1 ENOENT (No such file or directory) > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__init__.so", > 0x7fff05ac1650) = -1 ENOENT (No such file or directory) > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__init__.py", > {st_mode=S_IFREG|0444, st_size=17043, ...}) = 0 > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__init__.py", > {st_mode=S_IFREG|0444, st_size=17043, ...}) = 0 > open("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__pycache__/__init__.cpython-33.pyc", > O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0444, st_size=29315, ...}) > = 0 lseek(3, 0, SEEK_CUR) = 0 fstat(3, > {st_mode=S_IFREG|0444, st_size=29315, ...}) = 0 read(3, > "\236\f\r\nh\321\300R\223B\0\0c\0\0\0\0\0\0\0\0\0\0\0\0\r\0\0\0@\0\0"..., > 29316) = 29315 read(3, "", 1) = 0 close(3) > = 0 > open("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__init__.py", > O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0444, st_size=17043, ...}) > = 0 lseek(3, 0, SEEK_CUR) = 0 fstat(3, > {st_mode=S_IFREG|0444, st_size=17043, ...}) = 0 read(3, > "\"\"\"create and manipulate C data "..., 17044) = 17043 read(3, > "", 1) = 0 close(3) > = 0 > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__init__.py", > {st_mode=S_IFREG|0444, st_size=17043, ...}) = 0 > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__pycache__", > {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 > open("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__pycache__/__init__.cpython-33.pyc.140417554480296", > O_WRONLY|O_CREAT|O_EXCL, 0644) = -1 EACCES (Permission denied) > stat(".", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0 > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3", > {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/plat-linux", > {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/lib-dynload", > {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 > stat("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/site-packages", > {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 write(2, "Traceback > (most recent call last"..., 35Traceback (most recent call last): ) > = 35 write(2, " File \"\", line 1, in "", line 1, in ) = 38 open("", O_RDONLY) > = -1 ENOENT (No such file or directory) open("", O_RDONLY) > = -1 ENOENT (No such file or directory) > open("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python33.zip/", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/plat-linux/", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/lib-dynload/", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/site-packages/", > O_RDONLY) = -1 ENOENT (No such file or directory) write(2, " File > \"/nix/store/b50aj7l8qhaxy"..., 120 File > "/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__init__.py", > line 7, in ) = 120 > open("/nix/store/b50aj7l8qhaxys65z57wcqhkyi22ni2i-python-3.3.3/lib/python3.3/ctypes/__init__.py", > O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0444, st_size=17043, ...}) > = 0 ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff05ac1220) = -1 > ENOTTY (Inappropriate ioctl for device) fstat(3, > {st_mode=S_IFREG|0444, st_size=17043, ...}) = 0 lseek(3, 0, > SEEK_CUR) = 0 dup(3) > = 4 fcntl(4, F_GETFL) = 0x8000 (flags > O_RDONLY|O_LARGEFILE) fstat(4, {st_mode=S_IFREG|0444, > st_size=17043, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb58257d000 lseek(4, 0, > SEEK_CUR) = 0 read(4, "\"\"\"create and > manipulate C data "..., 4096) = 4096 close(4) > = 0 munmap(0x7fb58257d000, 4096) = 0 lseek(3, 0, > SEEK_SET) = 0 lseek(3, 0, SEEK_CUR) > = 0 read(3, "\"\"\"create and manipulate C data "..., 8192) = 8192 > close(3) = 0 write(2, " from > _ctypes import Union, S"..., 48 from _ctypes import Union, > Structure, Array ) = 48 write(2, "ImportError: No module named > '_c"..., 39ImportError: No module named '_ctypes' ) = 39 Sree -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlLmRNkACgkQO2+K8UPCHztJRgCeIQzRwGkGRAYGq3xENXDDhdac rtcAn2HjBpRCg535Mhy/ry9uIsA2JsNm =UhMJ -----END PGP SIGNATURE----- ------------=_1396098783-4065-1--