From owner-freebsd-ports@FreeBSD.ORG Thu Apr 12 19:29:12 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 237E916A401 for ; Thu, 12 Apr 2007 19:29:12 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id F094E13C48C for ; Thu, 12 Apr 2007 19:29:11 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 5E2915197B; Thu, 12 Apr 2007 15:29:10 -0400 (EDT) Date: Thu, 12 Apr 2007 20:29:07 +0100 From: RW To: freebsd-ports@freebsd.org Message-ID: <20070412202907.78b48071@gumby.homeunix.com> In-Reply-To: <20070412170213.GA64150@kei.delfi.lv> References: <20070412153832.67306261@gumby.homeunix.com> <20070412170213.GA64150@kei.delfi.lv> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.11; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: rnoland@2hip.net Subject: Re: Azureus wont build X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Apr 2007 19:29:12 -0000 On Thu, 12 Apr 2007 20:02:13 +0300 Kaspars Bankovskis wrote: > > 12-Apr-2007 15:38:32 RW: > > > > The new version of Azureus wont build for me (see below). > > > > I have FreeBSD 6.2, and jdk14. I've tried both swt, and swt-devel, > > and rebuilding the dependencies, to no effect. > > > > Any ideas? > > > > [javac] Compiling 487 source files > > to /data/ports/net-p2p/azureus/work/build > > [javac] /data/ports/net-p2p/azureus/work/org/gudy/azureus2/pluginsimpl/local/utils/resourcedownloader/ResourceDownloaderFactoryImpl.java:66: > > cannot resolve symbol [javac] symbol : method toURI () [javac] > > location: class java.net.URL [javac] > > return( new ResourceDownloaderFileImpl( null, new > > File( url.toURI()))); [javac] > > ^ [javac] Note: Some input files use or override a deprecated API. > > [javac] Note: Recompile with -deprecation for details. [javac] 1 > > error > > > You should install from ports java/diablo-jdk15 instead of jdk14. It's > already prebuild distribution of java available from freebsd > foundation. And it works fine with Azureus. > I've built jdk15 instead. The thing is that the Azureus port Makefile has JAVA_VERSION= 1.4+ which looks to be out of date.