Closed
Bug 338847
Opened 19 years ago
Closed 9 years ago
xulrunner build crash due to xargs too long list of arguments.
Categories
(Toolkit Graveyard :: XULRunner, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: francois.moulin, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3
Build Identifier: Mozilla/5.0 Xulrunner 1.8.0.1
xulrunner build crashes when I do make in [objDirectory]/extensions/java/xpcom/interfaces.
the command generating the error is the following :
find _javagen -name "*.java" | xargs /cygdrive/c/jdk1.5.0_06/bin/javac -source 1.4 -classpath . -d . -sourcepath _javagen
the error returned is :
xargs: /cygdrive/c/jdk1.5.0_06/bin/javac: Argument list too long
Reproducible: Always
Steps to Reproduce:
Build Xulrunner with java/XPCom
My .mozconfig is :
. $topsrcdir/xulrunner/config/mozconfig
mk_add_options MOZ_CO_PROJECT=xulrunner
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@
mk_add_options MOZ_MAKE_FLAGS="-j2"
ac_add_options --enable-application=xulrunner
ac_add_options --enable-javaxpcom
ac_add_options --enable-storage
ac_add_options --disable-debug
ac_add_options --disable-tests
ac_add_options --enable-optimize
ac_add_options --enable-branding
ac_add_options --enable-extensions=inspector,cview,venkman,webdav,xml-rpc,xforms,default
ac_add_options --with-java-include-path="/cygdrive/c/jdk1.5.0_06/include"
ac_add_options --with-java-bin-path="/cygdrive/c/jdk1.5.0_06/bin"
ac_add_options --disable-mailnews
ac_add_options --disable-composer
ac_add_options --disable-debug
ac_add_options --enable-crypto
I have MSVC8, cygwin, my jdk version is 1.5.0_06.
The problem is solved by adding ' -n 20 ' in the command line after xargs, like this in [objDirectory]/extensions/java/xpcom/interfaces :
find _javagen -name "*.java" | xargs -n 20 /cygdrive/c/jdk1.5.0_06/bin/javac -source 1.4 -classpath . -d . -sourcepath _javagen
make -t
Updated•19 years ago
|
Assignee: mozilla → nobody
Component: CCK → XULRunner
Product: Other Applications → Toolkit
QA Contact: mozilla → xulrunner
Version: unspecified → Trunk
Comment 1•16 years ago
|
||
reporter writes "We changed our application into a firefox extension 3 months after i reported the bug and i haven't tried to build xulrunner with java-xpcom since [so I don't know if the problem exists]
Severity: normal → major
Comment 2•9 years ago
|
||
XULRunner has been removed from the Mozilla tree: see https://groups.google.com/forum/#!topic/mozilla.dev.platform/_rFMunG2Bgw for context.
I am closing all the bugs currently in the XULRunner bugzilla component, in preparation for moving this component to the graveyard. If this bug is still valid in a XULRunner-less world, it will need to be moved to a different bugzilla component to be reopened.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
Assignee | ||
Updated•9 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•