l...@gnu.org (Ludovic Courtès) writes: > Mark H Weaver <m...@netris.org> skribis: > >> I've run into a build issue with recent master on x86_64 and Loongson 3A >> (both hosted on Debian wheezy). Python 3 fails in the tests with >> "OSError: out of pty devices" > > Any idea what this test is doing? (Maybe Cyril knows?)
Cyril is apparently unable to reproduce the problem on his system, which he tells me is Debian Sid running in a VM. Eric Bavier reported seeing the same problem on x86_64 Trisquel 6.0. See below for the tail of my build log. Mark --8<---------------cut here---------------start------------->8--- 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-13/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-13/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-13/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-13/Python-3.3.3/Lib/pty.py", line 70, in _open_terminal raise os.error('out of pty devices') OSError: out of pty devices ---------------------------------------------------------------------- Ran 4 tests in 0.020s FAILED (errors=1, skipped=1) Makefile:881: recipe for target 'test' failed make: *** [test] Error 1 phase `check' failed after 563 seconds note: keeping build directory `/tmp/nix-build-python-3.3.3.drv-13' builder for `/gnu/store/7a9dv96kb1z7547ms4k9bcywg4c0pf0j-python-3.3.3.drv' failed with exit code 1 @ build-failed /gnu/store/7a9dv96kb1z7547ms4k9bcywg4c0pf0j-python-3.3.3.drv - 1 builder for `/gnu/store/7a9dv96kb1z7547ms4k9bcywg4c0pf0j-python-3.3.3.drv' failed with exit code 1 cannot build derivation `/gnu/store/02xs98dh962srhs71hgiq046d9jgsk8z-python-wrapper-3.3.3.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/dlwvzvnpmprmlgw9b7bccidd1fw8gawg-glib-2.39.1.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/500mhfzdk6kr344y3hwhi2i5y61w7bn5-ghostscript-9.06.0.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/bbwqs6s4c2bzqi24r1wfh3vyh1q6q1v1-emacs-24.3.drv': 1 dependencies couldn't be built --8<---------------cut here---------------end--------------->8---