Gentoo Archives: gentoo-java

From: "Miroslav Šulc" <miroslav.sulc@××××××××.cz>
To: gentoo-java@l.g.o
Subject: [gentoo-java] Tomcat 5.5.16
Date: Sun, 26 Mar 2006 13:38:34
Message-Id: 44269925.7080700@startnet.cz
1 Hi,
2
3 did someone succeed with building of Tomcat 5.5.16 from java
4 experimental overlay? I get error while building tomcat-util:
5
6 [javac] 133. protected Collection<? extends CRL> getCRLs(String crlf)
7 [javac] ^-------------^
8 [javac] *** Semantic Error: Using type arguments to access generic
9 types requires the use of "-source 1.5" or greater. Compilation will
10 continue using the raw type "java.util.Collection", but no class file
11 will be emitted.(not yet implemented)
12
13
14 [javac] 140. Collection<? extends CRL> crls = null;
15 [javac] ^-------------^
16 [javac] *** Semantic Error: Using type arguments to access generic
17 types requires the use of "-source 1.5" or greater. Compilation will
18 continue using the raw type "java.util.Collection", but no class file
19 will be emitted.(not yet implemented)
20
21 BUILD FAILED
22 /var/tmp/portage/tomcat-5.5.16/work/apache-tomcat-5.5.16-src/build.xml:49:
23 The following error occurred while executing this line:
24 /var/tmp/portage/tomcat-5.5.16/work/apache-tomcat-5.5.16-src/build/build.xml:584:
25 The following error occurred while executing this line:
26 /var/tmp/portage/tomcat-5.5.16/work/apache-tomcat-5.5.16-src/build/build.xml:188:
27 The following error occurred while executing this line:
28 /var/tmp/portage/tomcat-5.5.16/work/apache-tomcat-5.5.16-src/connectors/util/build.xml:75:
29 Compile failed; see the compiler error output for details.
30
31 Total time: 32 seconds
32
33 !!! ERROR: www-servers/tomcat-5.5.16 failed.
34 Call stack:
35 ebuild.sh, line 1526: Called dyn_compile
36 ebuild.sh, line 923: Called src_compile
37 tomcat-5.5.16.ebuild, line 130: Called die
38
39 !!! compile failed
40 !!! If you need support, post the topmost build error, and the call
41 stack if relevant.
42
43 !!! When you filing a bug report, please include the following information:
44 GENTOO_VM(sun-jdk-1.5) CLASSPATH() JAVA_HOME(/opt/sun-jdk-1.5.0.06)
45 JAVACFLAGS(-source 1.5 -target 1.5) COMPILER()
46
47 I am not a pro but it seems to me that JAVACFLAGS are not applied. I
48 have migration and axxo overlay installed.
49
50 --
51 Miroslav Šulc

Attachments

File name MIME type
miroslav.sulc.vcf text/x-vcard

Replies

Subject Author
[gentoo-java] Re: Tomcat 5.5.16 Wiktor Wandachowicz <siryes@×××××.com>