Problems building from source

Does anyone have any clues as to what this may be? This is with a
fresh checkout of the JRuby trunk.

ant jar-complete
Buildfile: build.xml

init:

prepare:

compile.tasks:
[copy] Copying 1 file to /Users/Shared/jruby-trunk/build/
classes/jruby

check-for-optional-java4-packages:

check-for-optional-packages:

compile-jruby:
[javac] Compiling 1 source file to /Users/Shared/jruby-trunk/
build/classes/jruby

compile:

generate-method-classes:
[touch] Creating /Users/Shared/jruby-trunk/build/__empty.rb
[delete] Deleting: /Users/Shared/jruby-trunk/build/__empty.rb

jar-complete:
[jarjar] Building jar: /Users/Shared/jruby-trunk/lib/jruby-
complete.jar

BUILD FAILED
/Users/Shared/jruby-trunk/build.xml:174:
java.lang.ArrayIndexOutOfBoundsException: 10

Total time: 6 seconds

Here is the full stacktrace from running ant -debug

BUILD FAILED
/Users/Shared/jruby-trunk/build.xml:174:
java.lang.ArrayIndexOutOfBoundsException: 10
at org.apache.tools.ant.dispatch.DispatchUtils.execute
(DispatchUtils.java:115)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets
(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:
1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets
(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:
1181)
at org.apache.tools.ant.Main.runBuild(Main.java:698)
at org.apache.tools.ant.Main.startAnt(Main.java:199)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 10
at com.tonicsystems.jarjar.asm.Type.a(Unknown Source)
at com.tonicsystems.jarjar.asm.Type.getElementType(Unknown
Source)
at com.tonicsystems.jarjar.asm.commons.Remapper.mapType
(Unknown Source)
at com.tonicsystems.jarjar.asm.commons.Remapper.mapType
(Unknown Source)
at com.tonicsystems.jarjar.PackageRemapper.mapPath
(PackageRemapper.java:82)
at com.tonicsystems.jarjar.PackageRemapper.mapValue
(PackageRemapper.java:104)
at
com.tonicsystems.jarjar.asm.commons.RemappingMethodAdapter.visitLdcInsn(
Unknown Source)
at com.tonicsystems.jarjar.asm.ClassReader.accept(Unknown
Source)
at com.tonicsystems.jarjar.asm.ClassReader.accept(Unknown
Source)
at com.tonicsystems.jarjar.ext_util.JarTransformer.process
(JarTransformer.java:35)
at com.tonicsystems.jarjar.ext_util.JarProcessorChain.process
(JarProcessorChain.java:31)
at com.tonicsystems.jarjar.MainProcessor.process
(MainProcessor.java:83)
at com.tonicsystems.jarjar.ext_util.AntJarProcessor.zipFile
(AntJarProcessor.java:55)
at org.apache.tools.ant.taskdefs.Zip.zipFile(Zip.java:1511)
at org.apache.tools.ant.taskdefs.Zip.addResources(Zip.java:752)
at org.apache.tools.ant.taskdefs.Zip.addResources(Zip.java:810)
at org.apache.tools.ant.taskdefs.Zip.executeMain(Zip.java:543)
at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:410)
at com.tonicsystems.jarjar.ext_util.AntJarProcessor.execute
(AntJarProcessor.java:42)
at com.tonicsystems.jarjar.JarJarTask.execute
(JarJarTask.java:50)
at org.apache.tools.ant.UnknownElement.execute
(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tools.ant.dispatch.DispatchUtils.execute
(DispatchUtils.java:105)
… 11 more
— Nested Exception —
java.lang.ArrayIndexOutOfBoundsException: 10
at com.tonicsystems.jarjar.asm.Type.a(Unknown Source)
at com.tonicsystems.jarjar.asm.Type.getElementType(Unknown
Source)
at com.tonicsystems.jarjar.asm.commons.Remapper.mapType
(Unknown Source)
at com.tonicsystems.jarjar.asm.commons.Remapper.mapType
(Unknown Source)
at com.tonicsystems.jarjar.PackageRemapper.mapPath
(PackageRemapper.java:82)
at com.tonicsystems.jarjar.PackageRemapper.mapValue
(PackageRemapper.java:104)
at
com.tonicsystems.jarjar.asm.commons.RemappingMethodAdapter.visitLdcInsn(
Unknown Source)
at com.tonicsystems.jarjar.asm.ClassReader.accept(Unknown
Source)
at com.tonicsystems.jarjar.asm.ClassReader.accept(Unknown
Source)
at com.tonicsystems.jarjar.ext_util.JarTransformer.process
(JarTransformer.java:35)
at com.tonicsystems.jarjar.ext_util.JarProcessorChain.process
(JarProcessorChain.java:31)
at com.tonicsystems.jarjar.MainProcessor.process
(MainProcessor.java:83)
at com.tonicsystems.jarjar.ext_util.AntJarProcessor.zipFile
(AntJarProcessor.java:55)
at org.apache.tools.ant.taskdefs.Zip.zipFile(Zip.java:1511)
at org.apache.tools.ant.taskdefs.Zip.addResources(Zip.java:752)
at org.apache.tools.ant.taskdefs.Zip.addResources(Zip.java:810)
at org.apache.tools.ant.taskdefs.Zip.executeMain(Zip.java:543)
at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:410)
at com.tonicsystems.jarjar.ext_util.AntJarProcessor.execute
(AntJarProcessor.java:42)
at com.tonicsystems.jarjar.JarJarTask.execute
(JarJarTask.java:50)
at org.apache.tools.ant.UnknownElement.execute
(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tools.ant.dispatch.DispatchUtils.execute
(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets
(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:
1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets
(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:
1181)
at org.apache.tools.ant.Main.runBuild(Main.java:698)
at org.apache.tools.ant.Main.startAnt(Main.java:199)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Never mind. I had originally tried to build with an out of date copy
of ant(1.6.2). Using the latest version of ant(1.7.0) there are no
problems.

Thanks,
-lenny

On Oct 5, 2007, at 2:03 PM, Lenny M. wrote:

compile.tasks:

BUILD FAILED
java.lang.ArrayIndexOutOfBoundsException: 10
org.apache.tools.ant.helper.DefaultExecutor.executeTargets
at com.tonicsystems.jarjar.asm.Type.getElementType(Unknown
com.tonicsystems.jarjar.asm.commons.RemappingMethodAdapter.visitLdcIns
at com.tonicsystems.jarjar.MainProcessor.process
at com.tonicsystems.jarjar.ext_util.AntJarProcessor.execute
at java.lang.reflect.Method.invoke(Method.java:585)
at com.tonicsystems.jarjar.asm.commons.Remapper.mapType
at com.tonicsystems.jarjar.asm.ClassReader.accept(Unknown
at org.apache.tools.ant.taskdefs.Zip.zipFile(Zip.java:1511)
at org.apache.tools.ant.UnknownElement.execute
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Main.runBuild(Main.java:698)


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Lenny M. wrote:

Never mind. I had originally tried to build with an out of date copy of
ant(1.6.2). Using the latest version of ant(1.7.0) there are no problems.

It should build fine with ant 1.6.5 as well. We don’t have a 1.7
requirement yet.

  • Charlie

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs