From owner-freebsd-stable@FreeBSD.ORG Mon Mar 12 20:19:58 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 103FE16A404 for ; Mon, 12 Mar 2007 20:19:58 +0000 (UTC) (envelope-from bill@rakupottery.org.uk) Received: from tripod.blackcatnetworks.co.uk (tripod.blackcatnetworks.co.uk [217.147.87.115]) by mx1.freebsd.org (Postfix) with ESMTP id A6F3C13C4D1 for ; Mon, 12 Mar 2007 20:19:57 +0000 (UTC) (envelope-from bill@rakupottery.org.uk) Received: from raku.bcnadsl.com ([217.147.80.10] helo=saturn.rakupottery.org.uk) by tripod.blackcatnetworks.co.uk with esmtp (Exim 4.50) id 1HQqzs-0000WL-9i for freebsd-stable@freebsd.org; Mon, 12 Mar 2007 20:19:56 +0000 Received: from [127.0.0.1] (localhost.rakupottery.org.uk [127.0.0.1]) by saturn.rakupottery.org.uk (Postfix) with ESMTP id D68461D4FA for ; Mon, 12 Mar 2007 20:19:55 +0000 (GMT) Message-ID: <45F5B5EB.4090607@rakupottery.org.uk> Date: Mon, 12 Mar 2007 20:19:55 +0000 From: Bill Smith User-Agent: Thunderbird 1.5.0.7 (X11/20070122) MIME-Version: 1.0 CC: freebsd-stable@freebsd.org References: <45E45AD4.7040005@lumeta.com> <20070227124644.U34426@n.cwu.edu> <45E58C52.3090001@lumeta.com> <45EDA3F5.6070102@rakupottery.org.uk> <20070310133210.GA932@kyuzo.dunkelkammer.void> In-Reply-To: <20070310133210.GA932@kyuzo.dunkelkammer.void> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BlackCat-Spam-Score: -4.0 Subject: Re: Problems installing JDK 1.5 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2007 20:19:58 -0000 Stefan Walter wrote: > Hi, > > Bill Smith, 06.03.07, 18:25h CET: > >> I have been having problems with this as well, I have the linprocfs >> mounted, but the buil is >> dying with the following error: >> >> ../../../src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java:1186 >> : warning: non-varargs call of varargs method with inexact argument type >> for las t parameter; >> cast to java.lang.Object for a varargs call >> cast to java.lang.Object[] for a non-varargs call and to suppress this >> warning >> return (IOException)ctr.newInstance(args); >> ^ >> ../../../src/share/classes/com/sun/jmx/mbeanserver/StandardMetaDataImpl.java:637 >> : warning: non-varargs call of varargs method with inexact argument type >> for las t parameter; >> cast to java.lang.Object for a varargs call >> cast to java.lang.Object[] for a non-varargs call and to suppress this >> warning >> result = meth.invoke(instance,null); >> ^ >> ../../../src/share/classes/com/sun/jmx/mbeanserver/MBeanInstantiatorImpl.java:16 >> 2: warning: non-varargs call of varargs method with inexact argument type >> for la st parameter; >> cast to java.lang.Object for a varargs call >> cast to java.lang.Object[] for a non-varargs call and to suppress this >> warning >> moi= cons.newInstance(null); >> ^ >> Note: * uses or overrides a deprecated API. >> Note: Recompile with -Xlint:deprecation for details. >> Note: Some input files use unchecked or unsafe operations. >> Note: Recompile with -Xlint:unchecked for details. >> 21 errors >> 12 warnings >> gmake[3]: *** [.compile.classlist] Error 1 >> gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java/java' >> gmake[2]: *** [all] Error 1 >> gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java' >> gmake[1]: *** [all] Error 1 >> gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make' >> gmake: *** [j2se-build] Error 2 >> *** Error code 2 >> >> Stop in /usr/ports/java/jdk15. > > The warnings about varargs are harmless. The errors causing the build to > fail seem to have happened earlier and are not listed here. > > It might be easier for you to just use the java/diablo-jdk15 port, which > installs precompiled binaries. Cheers Stefan, I have done that and all is now ok -- Bill