Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2013 14:11:29 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Lev Serebryakov <lev@FreeBSD.org>
Cc:        Jung-uk Kim <jkim@FreeBSD.org>, freebsd-java@FreeBSD.org
Subject:   Re: java/subversion-java build fails on jikes
Message-ID:  <51C434E1.4060908@FreeBSD.org>
In-Reply-To: <50C9FCCF.6010600@FreeBSD.org>
References:  <506F032A.2040109@FreeBSD.org> <506F4252.8010300@FreeBSD.org> <5072C60F.4070603@FreeBSD.org> <50C9FCCF.6010600@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 13/12/2012 18:05 Andriy Gapon said the following:
> on 08/10/2012 15:24 Andriy Gapon said the following:
>> on 05/10/2012 23:25 Jung-uk Kim said the following:
>>> 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
>>
>> Thank you very much!  This worked fine for me.
> 
> Please commit this.
> Thank you!
> 

This seems to be still an issue.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51C434E1.4060908>