unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Bavier <ericbavier@gmail.com>
To: "Alírio Eyng" <alirioeyng@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] fix python
Date: Fri, 04 Apr 2014 10:36:52 -0500	[thread overview]
Message-ID: <87r45d85t7.fsf@gmail.com> (raw)
In-Reply-To: <CALkz57GHZ81J5o800PWFdBpb2he_7V6aRwgrThOE=zWJwZsusA@mail.gmail.com> ("Alírio Eyng"'s message of "Fri, 4 Apr 2014 08:42:28 +0000")

Alírio Eyng <alirioeyng@gmail.com> 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:

======================================================================
FAIL: test_wait_result (test.test_multiprocessing.WithProcessesTestCondition)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/nix-build-python-3.3.3.drv-11/Python-3.3.3/Lib/test/test_multiprocessing.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=1, skipped=4)
Re-running test 'test_openpty' in verbose mode
test (test.test_openpty.OpenptyTest) ... test test_openpty failed
ERROR

======================================================================
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_openpty.py", line 12, in test
    master, slave = os.openpty()
FileNotFoundError: [Errno 2] No such file or directory

----------------------------------------------------------------------
Ran 1 test in 0.001s

FAILED (errors=1)
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

======================================================================
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.py", line 116, in test_fork
    pid, master_fd = pty.fork()
  File "/tmp/nix-build-python-3.3.3.drv-11/Python-3.3.3/Lib/pty.py", line 107, in fork
    master_fd, slave_fd = openpty()
  File "/tmp/nix-build-python-3.3.3.drv-11/Python-3.3.3/Lib/pty.py", line 29, in openpty
    master_fd, slave_name = _open_terminal()
  File "/tmp/nix-build-python-3.3.3.drv-11/Python-3.3.3/Lib/pty.py", line 70, in _open_terminal
    raise os.error('out of pty devices')
OSError: out of pty devices

-- 
`~Eric

  reply	other threads:[~2014-04-04 15:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-04  8:42 [PATCH] fix python Alírio Eyng
2014-04-04 15:36 ` Eric Bavier [this message]
2014-04-04 19:36   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r45d85t7.fsf@gmail.com \
    --to=ericbavier@gmail.com \
    --cc=alirioeyng@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).