From owner-freebsd-java@FreeBSD.ORG Fri Jun 21 11:11:40 2013 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 28F75C11; Fri, 21 Jun 2013 11:11:40 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 170801A59; Fri, 21 Jun 2013 11:11:38 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA25777; Fri, 21 Jun 2013 14:11:30 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <51C434E1.4060908@FreeBSD.org> Date: Fri, 21 Jun 2013 14:11:29 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130517 Thunderbird/17.0.6 MIME-Version: 1.0 To: Lev Serebryakov Subject: Re: java/subversion-java build fails on jikes References: <506F032A.2040109@FreeBSD.org> <506F4252.8010300@FreeBSD.org> <5072C60F.4070603@FreeBSD.org> <50C9FCCF.6010600@FreeBSD.org> In-Reply-To: <50C9FCCF.6010600@FreeBSD.org> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Jung-uk Kim , freebsd-java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jun 2013 11:11:40 -0000 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