Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541860 - dev-java/jython-2.7.0 bump / compile failure
Summary: dev-java/jython-2.7.0 bump / compile failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on: 483474
Blocks:
  Show dependency tree
 
Reported: 2015-03-02 02:39 UTC by Patrick Lauer
Modified: 2015-05-13 06:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2015-03-02 02:39:44 UTC
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
Comment 1 James Le Cuirot gentoo-dev 2015-03-03 23:23:27 UTC
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?
Comment 2 Arfrever Frehtes Taifersar Arahesis 2015-03-07 21:39:51 UTC
dev-java/jnr-posix-3.0.2 is sufficient to avoid these errors in src/org/python/modules/posix/PosixModule.java.
Comment 3 Patrick Lauer gentoo-dev 2015-05-13 06:08:25 UTC
2.7.0 released and working with a few small dep changes, committed :)