| Summary: | jython does not emerge with Sun JDK 1.5 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Kurt Huwig <k.huwig.gentoo> |
| Component: | [OLD] Development | Assignee: | Java team <java> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
*** This bug has been marked as a duplicate of 66110 *** This is still necessary to compile it with JDK 1.5:
if use jikes ; then
java=$(which jikes)
+ else
+ javac="${javac} -source 1.3"
fi
It has nothing to do with '/dev/random'
in cvs |
When I try to emerge jython, I get sandbox warnings as well as compiler failures Reproducible: Always Steps to Reproduce: 1. Install sun-jdk-1.5.0 2. emerge jython Actual Results: sandbox & javac errors Expected Results: jython emerged This patch fixes it for me --- jython-2.1-r5.ebuild.orig 2004-10-02 13:39:41.460958664 +0200 +++ jython-2.1-r5.ebuild 2004-10-02 13:50:15.253607536 +0200 @@ -20,15 +20,19 @@ # servlet? ( >=net-www/tomcat-5.0 ) src_unpack() { + addpredict "/dev/random" cp ${DISTDIR}/${A} ${WORKDIR} cd ${WORKDIR} `java-config -J` -classpath . ${PN}-${MY_PV} -o ${S}/ demo lib source || die "unpack failed" } src_compile() { + addpredict "/dev/random" javac=$(java-config -c) if use jikes ; then java=$(which jikes) + else + javac="${javac} -source 1.3" fi local cp=".:${CLASSPATH}"