Red Hat Bugzilla – Bug 204639
Can't run gas/all/comment.s: The system has no more ptys.
Last modified: 2007-11-30 17:11:41 EST
Description of problem:
Compiling binutils 2.16.1 with glibc 2.3.6
and gcc 4.0.3 on FC5. Using the LFS 6.2
formula which has DejsGNU 1.4.4.
After building, pulling down and building again I eventually get
the following error:
Running target unix
Using /tools/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /tools/share/dejagnu/config/unix.exp as generic interface file for target.
Using /binutils-2.16.1/gas/testsuite/config/default.exp as
tool-and-target-specific interface file.
Running /binutils-2.16.1/gas/testsuite/gas/all/gas.exp ...
ERROR: Can't run gas/all/comment.s: The system has no more ptys. Ask your
system administrator to create more.
NOTE: A reboot will fix the ptys problem, but the question is
why it happens and how to do it without a reboot.
Found this reference on the web to a similar problem
with no solution:
Version-Release number of selected component (if applicable):
Build, reformat partition, remove all mount --bind
references, rebuild. Eventually the error will appear.
Steps to Reproduce:
It should build repeatedly and not gobble up ptys.
What is a check for used ptys, and how can locked
or unused ones be killed without having to
reboot the machine?
Is there some new test in binutils for the ptys?
Why do you report LFS related bugs here?
This is a user error, you probably don't have /dev/pts filesystem mounted.