java/subversion-java build fails on jikes

Andriy Gapon avg at FreeBSD.org
Thu Dec 13 16:05:39 UTC 2012


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!

-- 
Andriy Gapon


More information about the freebsd-java mailing list