Needs newer jline: $ diff jython-2.7_beta{3,4}* 31c31 < dev-java/jline:0 --- > dev-java/jline:2 55c55 < EANT_GENTOO_CLASSPATH="asm-4,commons-compress,guava-13,jffi-1.2,jline,jnr-constants" --- > EANT_GENTOO_CLASSPATH="asm-4,commons-compress,guava-13,jffi-1.2,jline-2,jnr-constants" compile: [javac] Compiling 865 source files to /var/tmp/portage/dev-java/jython-2.7_beta4/work/build/classes [javac] /var/tmp/portage/dev-java/jython-2.7_beta4/work/src/org/python/core/packagecache/PackageManager.java:178: error: cannot find symbol [javac] super(Opcodes.ASM5); [javac] ^ [javac] symbol: variable ASM5 [javac] location: interface Opcodes [javac] /var/tmp/portage/dev-java/jython-2.7_beta4/work/src/org/python/compiler/Code.java:25: error: cannot find symbol [javac] super(ASM5); [javac] ^ [javac] symbol: variable ASM5 [javac] location: class Code [snip] [javac] /var/tmp/portage/dev-java/jython-2.7_beta4/work/src/org/python/modules/posix/PosixModule.java:986: error: cannot find symbol [javac] return posix.write(getFD(fd).getIntFD(), bb, bb.position()); [javac] ^ [javac] symbol: method write(int,ByteBuffer,int) [javac] location: variable posix of type POSIX [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 28 errors [javac] 1 warning BUILD FAILED /var/tmp/portage/dev-java/jython-2.7_beta4/work/build.xml:451: Compile failed; see the compiler error output for details. Total time: 22 seconds * ERROR: dev-java/jython-2.7_beta4::gentoo failed (compile phase): * eant failed
As you implied, dev-java/asm-5 is required here. This is now in the tree but still with a SLOT of 4 as it is backwards compatible. You should use >=dev-java/asm-5:4. It still didn't build though as the "posix" errors are a different problem. Perhaps jnr-posix needs updating?
dev-java/jnr-posix-3.0.2 is sufficient to avoid these errors in src/org/python/modules/posix/PosixModule.java.
2.7.0 released and working with a few small dep changes, committed :)