1 |
Hi Jan, |
2 |
|
3 |
I think you should run java-1.5-fixer and then try again. |
4 |
|
5 |
Miroslav |
6 |
|
7 |
Jan Meier wrote: |
8 |
> Hello, |
9 |
> |
10 |
> I get the following error when I try to emerge ant-tasks: |
11 |
> |
12 |
> |
13 |
>>>> Compiling source |
14 |
>>>> |
15 |
> in /var/tmp/portage/ant-tasks-1.6.5-r2/work/apache-ant-1.6.5 ... |
16 |
> Buildfile: build.xml |
17 |
> |
18 |
> prepare: |
19 |
> |
20 |
> check_for_optional_packages: |
21 |
> |
22 |
> BUILD FAILED |
23 |
> java.lang.UnsupportedClassVersionError: org/mozilla/javascript/Scriptable |
24 |
> (Unsupported major.minor version 49.0) |
25 |
> |
26 |
> Total time: 3 seconds |
27 |
> |
28 |
>>>> Source compiled. |
29 |
>>>> Test phase [not enabled]: dev-java/ant-tasks-1.6.5-r2 |
30 |
>>>> |
31 |
> |
32 |
> |
33 |
>>>> Install ant-tasks-1.6.5-r2 into /var/tmp/portage/ant-tasks-1.6.5-r2/image/ |
34 |
>>>> |
35 |
> category dev-java |
36 |
> |
37 |
> !!! ERROR: dev-java/ant-tasks-1.6.5-r2 failed. |
38 |
> Call stack: |
39 |
> ebuild.sh, line 1539: Called dyn_install |
40 |
> ebuild.sh, line 1013: Called src_install |
41 |
> ant-tasks-1.6.5-r2.ebuild, line 80: Called |
42 |
> java-pkg_dojar 'build/lib/ant-*.jar' |
43 |
> java-utils-2.eclass, line 197: Called die |
44 |
> |
45 |
> !!! build/lib/ant-*.jar does not exist |
46 |
> !!! If you need support, post the topmost build error, and the call stack if |
47 |
> relevant. |
48 |
> |
49 |
> !!! When you file a bug report, please include the following information: |
50 |
> GENTOO_VM=blackdown-jdk-1.4.2 CLASSPATH="" |
51 |
> JAVA_HOME="/opt/blackdown-jdk-1.4.2.03" |
52 |
> JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" |
53 |
> and of course, the output of emerge --info |
54 |
> |
55 |
> |
56 |
> Any suggestions how I can solve this problem? |
57 |
> |
58 |
> Regards |
59 |
> Jan |
60 |
> |
61 |
> |