On 01 Dec 2009, at 14:44, Jean-François Mertens wrote:

> Build went through w/o problem on 64bit, but on 32bit (same machine)  
> failed with the strange "Too many open files" :
>
>> Making all in intl-java
>> /bin/sh ../javacomp.sh -d . ./gnu/gettext/GettextResource.java
>> ./gnu/gettext/GettextResource.java:1: error: Cannot read the source  
>> from ./gnu/gettext/GettextResource.java due to internal exception  
>> java.io.FileNotFoundException:./gnu/gettext/GettextResource.java  
>> (Too many open files)
>> 1 problem (1 error)
>

the situation became very unpleasant, as every selfupdate
wanted to relaunch this build, and more and more pkgs were
depending on this broken pkg ...

Looking into the builddir, "wc" showed that the CONF_CLASSPATH=...
line in gettext-runtime/javacomp.sh  listed 152 jar files, in /sw/ 
share/java
_ clearly from pkgs on which libgettext8-shlibs had no dependency :) .

Adding then "ulimit -n 1024" as an additional command in the  
CompileScript
allowed to bypass the hurdle ...

Jean-Francois
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to