Bug 204639

Summary: Can't run gas/all/comment.s: The system has no more ptys.
Product: [Fedora] Fedora Reporter: Peter Ennis <peterennis>
Component: binutilsAssignee: Jakub Jelinek <jakub>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: hp
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-30 15:52:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Ennis 2006-08-30 15:45:33 UTC
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 15:52:45 UTC
Why do you report LFS related bugs here?
This is a user error, you probably don't have /dev/pts filesystem mounted.