Bug 204639 - Can't run gas/all/comment.s: The system has no more ptys.
Summary: Can't run gas/all/comment.s: The system has no more ptys.
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: binutils
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-08-30 15:45 UTC by Peter Ennis
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-08-30 15:52:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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