From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: Re: [PATCH] fix python Date: Fri, 04 Apr 2014 10:36:52 -0500 Message-ID: <87r45d85t7.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WW6AS-00071c-6P for guix-devel@gnu.org; Fri, 04 Apr 2014 11:36:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WW6AL-0005kc-Jy for guix-devel@gnu.org; Fri, 04 Apr 2014 11:36:32 -0400 Received: from mail-ie0-x22e.google.com ([2607:f8b0:4001:c03::22e]:63315) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WW6AL-0005kS-FO for guix-devel@gnu.org; Fri, 04 Apr 2014 11:36:25 -0400 Received: by mail-ie0-f174.google.com with SMTP id rp18so3518564iec.19 for ; Fri, 04 Apr 2014 08:36:24 -0700 (PDT) In-Reply-To: (=?utf-8?Q?=22Al=C3=ADrio?= Eyng"'s message of "Fri, 4 Apr 2014 08:42:28 +0000") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?utf-8?Q?Al=C3=ADrio?= Eyng Cc: guix-devel@gnu.org Al=C3=ADrio Eyng writes: > This fixes 'OSError: out of pty devices' with '# > CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set' This does not fix the error it claims to fix on my machine. It also undoes commit bb184d9884891ad190f2ebc4ffb71d6f361ab488 The errors I get from building python-3.3.3 are: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D FAIL: test_wait_result (test.test_multiprocessing.WithProcessesTestConditio= n) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/nix-build-python-3.3.3.drv-11/Python-3.3.3/Lib/test/test_multi= processing.py", line 1035, in test_wait_result self.assertRaises(KeyboardInterrupt, c.wait, 10) AssertionError: KeyboardInterrupt not raised by wait ---------------------------------------------------------------------- Ran 242 tests in 60.644s FAILED (failures=3D1, skipped=3D4) Re-running test 'test_openpty' in verbose mode test (test.test_openpty.OpenptyTest) ... test test_openpty failed ERROR =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ERROR: test (test.test_openpty.OpenptyTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/nix-build-python-3.3.3.drv-11/Python-3.3.3/Lib/test/test_openp= ty.py", line 12, in test master, slave =3D os.openpty() FileNotFoundError: [Errno 2] No such file or directory ---------------------------------------------------------------------- Ran 1 test in 0.001s FAILED (errors=3D1) Re-running test 'test_pty' in verbose mode test__copy_eof_on_all (test.test_pty.SmallPtyTests) Test the empty read EOF case on both master_fd and stdin. ... ok test__copy_to_each (test.test_pty.SmallPtyTests) Test the normal data case on both master_fd and stdin. ... ok test_basic (test.test_pty.PtyTest) ... Calling master_open() skipped 'Pseudo-terminals (seemingly) not functional.' test_fork (test.test_pty.PtyTest) ... test test_pty failed calling pty.fork() ERROR =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ERROR: test_fork (test.test_pty.PtyTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/nix-build-python-3.3.3.drv-11/Python-3.3.3/Lib/test/test_pty.p= y", line 116, in test_fork pid, master_fd =3D pty.fork() File "/tmp/nix-build-python-3.3.3.drv-11/Python-3.3.3/Lib/pty.py", line 1= 07, in fork master_fd, slave_fd =3D openpty() File "/tmp/nix-build-python-3.3.3.drv-11/Python-3.3.3/Lib/pty.py", line 2= 9, in openpty master_fd, slave_name =3D _open_terminal() File "/tmp/nix-build-python-3.3.3.drv-11/Python-3.3.3/Lib/pty.py", line 7= 0, in _open_terminal raise os.error('out of pty devices') OSError: out of pty devices --=20 `~Eric