Gentoo Archives: gentoo-java

From: Jan Meier <jan@×××××××××.org>
To: gentoo-java@l.g.o
Subject: [gentoo-java] Error compiling ant-tasks
Date: Sat, 05 Aug 2006 09:07:41
Message-Id: 200608051104.36270.jan@codejunky.org
1 Hello,
2
3 I get the following error when I try to emerge ant-tasks:
4
5 >>> Compiling source
6 in /var/tmp/portage/ant-tasks-1.6.5-r2/work/apache-ant-1.6.5 ...
7 Buildfile: build.xml
8
9 prepare:
10
11 check_for_optional_packages:
12
13 BUILD FAILED
14 java.lang.UnsupportedClassVersionError: org/mozilla/javascript/Scriptable
15 (Unsupported major.minor version 49.0)
16
17 Total time: 3 seconds
18 >>> Source compiled.
19 >>> Test phase [not enabled]: dev-java/ant-tasks-1.6.5-r2
20
21 >>> Install ant-tasks-1.6.5-r2 into /var/tmp/portage/ant-tasks-1.6.5-r2/image/
22 category dev-java
23
24 !!! ERROR: dev-java/ant-tasks-1.6.5-r2 failed.
25 Call stack:
26 ebuild.sh, line 1539: Called dyn_install
27 ebuild.sh, line 1013: Called src_install
28 ant-tasks-1.6.5-r2.ebuild, line 80: Called
29 java-pkg_dojar 'build/lib/ant-*.jar'
30 java-utils-2.eclass, line 197: Called die
31
32 !!! build/lib/ant-*.jar does not exist
33 !!! If you need support, post the topmost build error, and the call stack if
34 relevant.
35
36 !!! When you file a bug report, please include the following information:
37 GENTOO_VM=blackdown-jdk-1.4.2 CLASSPATH=""
38 JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
39 JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
40 and of course, the output of emerge --info
41
42
43 Any suggestions how I can solve this problem?
44
45 Regards
46 Jan
47
48 --
49 Get my public key from: www.codejunky.org/codejunky.asc

Replies

Subject Author
Re: [gentoo-java] Error compiling ant-tasks "Miroslav Šulc" <miroslav.sulc@××××××××.cz>
Re: [gentoo-java] Error compiling ant-tasks Grobian <grobian@g.o>