Bug 204639 - Can't run gas/all/comment.s: The system has no more ptys.
Can't run gas/all/comment.s: The system has no more ptys.
Status: CLOSED WORKSFORME
Product: Fedora
Classification: Fedora
Component: binutils (Show other bugs)
5
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-30 11:45 EDT by Peter Ennis
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-08-30 11:52:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Peter Ennis 2006-08-30 11:45:33 EDT
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.

Ref: http://www.linuxfromscratch.org/lfs/view/stable/chapter03/packages.html

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.
ERROR: timeout

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:

Ref: http://ecos.sourceware.org/ml/binutils/2004-12/msg00091.html

Version-Release number of selected component (if applicable):


How reproducible:
Build, reformat partition, remove all mount --bind
references, rebuild. Eventually the error will appear.

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:
It should build repeatedly and not gobble up ptys.


Additional info:
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?
Comment 1 Jakub Jelinek 2006-08-30 11:52:45 EDT
Why do you report LFS related bugs here?
This is a user error, you probably don't have /dev/pts filesystem mounted.

Note You need to log in before you can comment on or make changes to this bug.