IcedTea on openSUSE 10.3

Andrew John Hughes gnu_andrew at member.fsf.org
Sat Jan 26 16:17:37 PST 2008


On 26/01/2008, Christian Bourque <christian.bourque at gmail.com> wrote:
> Hi!
>
> I'm trying to compile IcedTea on openSUSE 10.3, I've managed to install all
> the dependencies and "configure" tells me that everything is ok but somehow
> "make" is complaining :
>
> -----------------------------------------------------------------------------------------------------------
> cbourque at meganne:~/download/icedtea> make
> if ! test -f stamps/icedtea-ecj.stamp ; \
>         then \
>            /usr/bin/ecj -nowarn  -g -d lib/hotspot-tools -bootclasspath ''
> -source 1.6 \
>             -sourcepath
> 'rt:hotspot-tools:openjdk/jdk/src/share/classes:openjdk/jdk/src/solaris/classes:openjdk/langtools/src/share/classes:openjdk/jaxp/src/share/classes:openjdk/corba/src/share/classes:openjdk/jaxws/src/share/classes:generated'
> \
>              @hotspot-tools-source-files.txt ; \
>         else \
>
> /home/cbourque/download/icedtea/bootstrap/jdk1.6.0/bin/javac
>  -g -d lib/hotspot-tools \
>             -bootclasspath '' -source 1.6 \
>              -sourcepath
> 'rt:hotspot-tools:openjdk/jdk/src/share/classes:openjdk/jdk/src/solaris/classes:openjdk/langtools/src/share/classes:openjdk/jaxp/src/share/classes:openjdk/corba/src/share/classes:openjdk/jaxws/src/share/classes:generated'
> \
>              @hotspot-tools-source-files.txt ; \
>         fi
> ----------
> 1. ERROR in
> hotspot-tools/com/sun/codemodel/internal/JFormatter.java
> (at line 1)
>         /*
>         ^
> The type Enum is not generic; it cannot be parameterized with arguments
> <JFormatter.Mode>
>  ----------
> ----------
> 2. ERROR in
> hotspot-tools/com/sun/codemodel/internal/JCommentPart.java
> (at line 46)
>         public class JCommentPart extends ArrayList<Object> {
>                                           ^^^^^^^^^
>  The type ArrayList is not generic; it cannot be parameterized with
> arguments <Object>
> ----------
> ----------
> 3. ERROR in
> hotspot-tools/com/sun/codemodel/internal/JDocComment.java
> (at line 41)
>         public class JDocComment extends JCommentPart implements JGenerable
> {
>                       ^^^^^^^^^^^
> The hierarchy of the type JDocComment is inconsistent
> ----------
> 3 problems (3 errors)make: *** [stamps/hotspot-tools-class-files.stamp]
> Error 255
>
> -----------------------------------------------------------------------------------------------------------
>
> Is this related to ECJ?
>
> Thanks
>
> Christian
>
>

Well the errors resemble those you'd get when trying to compile the
code without a 1.5 class library.  What is /usr/bin/ecj?  Is it a
script or a natively compiled binary?  If it's a script, what command
does it execute?

In the output you've posted, the '-bootclasspath '' -source 1.6' bit
looks dodgy as the bootclasspath should be followed by two quotes "",
not one, to be empty.  This could mean that the subsequent source and
sourcepath options are not being used correctly.

Cheers,
-- 
Andrew :-)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net



More information about the distro-pkg-dev mailing list