Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Oct 2012 16:25:54 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        Lev Serebryakov <lev@freebsd.org>, freebsd-java@freebsd.org
Subject:   Re: java/subversion-java build fails on jikes
Message-ID:  <506F4252.8010300@FreeBSD.org>
In-Reply-To: <506F032A.2040109@FreeBSD.org>
References:  <506F032A.2040109@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2012-10-05 11:56:26 -0400, Andriy Gapon wrote:
> ===>  Building for subversion-java-1.7.6 cd
> /usr/obj/ports/usr/ports/java/subversion-java/work/subversion-1.7.6
> ;  make javahl /usr/local/bin/jikes -target 1.5 -source 1.5 -d
> subversion/bindings/javahl/classes -classpath ... 
> /usr/obj/ports/usr/ports/java/subversion-java/work/subversion-1.7.6/subversion/bindings/javahl/src/org/apache/subversion/javahl/types/Version.java
>
>  Error: "-source" only recognizes Java releases 1.3 (JLS 2
> features) and 1.4 (assert statement). use: jikes [options] [@files]
> file.java... For more help, try -help or -version. *** 
> [subversion/bindings/javahl/classes/org/apache/subversion/javahl/ClientException.class]
>
> 
Error code 2
> 
> Not sure how to proceed from here.

Jikes does not support Java 1.5+.  It seems the configure script is
not up to date.  Try this:

- --- java/subversion-java/Makefile
+++ java/subversion-java/Makefile
@@ -28,7 +28,7 @@

 .include "${MASTERDIR}/Makefile.common"

- -CONFIGURE_ARGS+=       --enable-javahl --with-jdk=${JAVA_HOME}
+CONFIGURE_ARGS+=--enable-javahl --with-jdk=${JAVA_HOME} --with-jikes=no

 do-build:
        @${MKDIR} ${WRKSRC}/subversion/bindings/java/javahl/classes

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlBvQlIACgkQmlay1b9qnVOtwQCfQSL2iFDd6C557JBwZxsZRrxS
I78AoIgj0yqFlrYayBywaMfOfpLJtEEx
=j2eI
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?506F4252.8010300>