Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 13003

Summary: groff-1.18.1 emerge fails with "Too many open files"
Product: Gentoo Linux Reporter: Ryan Shaw <ryan.shaw>
Component: New packagesAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED FIXED    
Severity: normal CC: ryan.shaw, seemant
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /usr/bin/cc

Description Ryan Shaw 2002-12-31 23:48:05 UTC
emerge finishes as follows:

imake -DUseInstalled -I/usr/X11R6/lib/X11/config
/usr/bin/cpp: /usr/bin/cpp: /bin/sh: bad interpreter: Too many open files in system
imake: Exit code 126.
  Stop.

!!! ERROR: sys-apps/groff-1.18.1 failed.
!!! Function src_compile, Line 50, Exitcode 1
!!! (no error message)
Comment 1 SpanKY gentoo-dev 2003-01-01 01:04:12 UTC
gcc bug ?
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-01-02 15:47:29 UTC
Prob the /usr/bin/gcc is a script thing.  Check the contents of you /usr/bin/gcc, if a script, please get back to me and also with gcc version, etc (epm -q gcc).
Comment 3 Ryan Shaw 2003-01-02 20:02:14 UTC
gcc is version 3.2.1-r6.

'which gcc' shows /usr/i686-pc-linux-gnu/gcc-bin/3.2/gcc.

/usr/i686-pc-linux-gnu/gcc-bin/3.2/gcc is not a script.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2003-01-02 20:20:29 UTC
hrm, ok.  Can you run /usr/bin/cc and /lib/cc fine ?
Comment 5 Ryan Shaw 2003-01-04 02:02:53 UTC
I can run /usr/bin/cc OK. I don't seem to have /lib/cc. 
Might this be the problem? Should there be a symlink there?
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2003-01-05 11:02:09 UTC
Err, sorry, it should be /lib/cpp.  Anyhow, can you attach the contents of
/usr/bin/cc ?
Comment 7 Ryan Shaw 2003-01-06 03:35:49 UTC
Created attachment 7009 [details]
/usr/bin/cc
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2003-01-07 12:57:12 UTC
Ok, fixed issue.  Please update sys-devel/gcc-config to latest version, and
try again, thanks.  Should be version 1.2.7 as of writing ...
Comment 9 Seemant Kulleen (RETIRED) gentoo-dev 2003-04-11 12:07:36 UTC
closing due to no feedback