[Swift-user] Swift build problems
Andriy Fedorov
fedorov at cs.wm.edu
Tue Sep 9 21:55:50 CDT 2008
Hi,
While trying to build development checkout of Swift, I have this
problem (see the report below) -- strange warning about running out of
memory, and then failure due to a problem which doesn't make sense. I
saw similar reports about other packages that use ant, but I didn't
find a general solution.
I have openSuse 11.0, uname -a says
Linux beat 2.6.25.11-0.1-default #1 SMP 2008-07-13 20:48:28 +0200
x86_64 x86_64 x86_64 GNU/Linux
Has anyone seen something like this?
[andrey at beat vdsk] ant dist
Buildfile: build.xml
generateVersion:
antlr:
[java] ANTLR Parser Generator Version 2.7.5 (20050128)
1989-2005 jGuru.com
[java] resources/swiftscript.g:944: warning:nondeterminism upon
[java] resources/swiftscript.g:944: k==1:LBRACK
[java] resources/swiftscript.g:944:
k==2:ID,STRING_LITERAL,LBRACK,LPAREN,AT,PLUS,MINUS,STAR,NOT,INT_LITERAL,FLOAT_LITERAL,"true","false"
[java] resources/swiftscript.g:944: between alt 1 and exit
branch of block
compileSchema:
GC Warning: Out of Memory! Returning NIL!
GC Warning: Repeated allocation of very large block (appr. size 131072000):
May lead to memory leak and poor performance.
[java] Time to build schema type system: 67.854 seconds
[java] Time to generate code: 6.224 seconds
[java] java.io.IOException: Cannot run program
"/home/andrey/local/src/cog/modules/vdsk/javac": java.io.IOException:
error=2, No such file or directory
[java] java.io.IOException: java.io.IOException: error=2, No such
file or directory
[java] java.io.IOException: Cannot run program
"/home/andrey/local/src/cog/modules/vdsk/javac": java.io.IOException:
error=2, No such file or directory
[java] at java.lang.ProcessBuilder.start(ProcessBuilder.java:474)
[java] at java.lang.Runtime.exec(Runtime.java:610)
[java] at java.lang.Runtime.exec(Runtime.java:483)
[java] at
org.apache.xmlbeans.impl.tool.CodeGenUtil.externalCompile(CodeGenUtil.java:231)
[java] at
org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(SchemaCompiler.java:1126)
[java] at
org.apache.xmlbeans.impl.tool.SchemaCompiler.main(SchemaCompiler.java:368)
[java] Caused by: java.io.IOException: java.io.IOException:
error=2, No such file or directory
[java] at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
[java] at java.lang.ProcessImpl.start(ProcessImpl.java:81)
[java] at java.lang.ProcessBuilder.start(ProcessBuilder.java:467)
[java] ... 5 more
[java] BUILD FAILED
BUILD FAILED
/home/andrey/local/src/cog/modules/vdsk/build.xml:152: Java returned: 1
Total time: 1 minute 30 seconds
--
Andrey Fedorov
Center for Real-Time Computing
College of William and Mary
http://www.cs.wm.edu/~fedorov
More information about the Swift-user
mailing list