From owner-freebsd-ports@FreeBSD.ORG Fri Apr 14 19:48:52 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2B1616A401 for ; Fri, 14 Apr 2006 19:48:51 +0000 (UTC) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [83.171.239.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1240043D48 for ; Fri, 14 Apr 2006 19:48:48 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id k3EJmgwE043239; Fri, 14 Apr 2006 22:48:42 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.13.3) with ESMTP id k3EJmtZN007756; Fri, 14 Apr 2006 22:48:55 +0300 (EEST) (envelope-from past@ebs.gr) Received: from 127.0.0.1 (AVG SMTP 7.1.385 [268.4.1/311]); Fri, 14 Apr 2006 22:48:38 +0300 Message-ID: <443FFC96.5040300@ebs.gr> Date: Fri, 14 Apr 2006 22:48:38 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Derrick Edwards References: <200604140706.14745.derrick@uniquestrength.net> In-Reply-To: <200604140706.14745.derrick@uniquestrength.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Problems building java/jdk15 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: Fri, 14 Apr 2006 19:48:52 -0000 Derrick Edwards wrote: > Hi, > I am attempting to build java however, I am getting this error message is > there something else I need to do? > Thanks Derrick > FreeBSD 6.1-RC i386 SMP-GENERIC > > > {snip} > > ../../../src/share/classes/javax/xml/transform/TransformerException.java:329: > warning: non-varargs call of varargs method with inexact argument type for > last parameter; > cast to java.lang.Class for a varargs call > cast to java.lang.Class[] for a non-varargs call and to suppress this warning > null); > ^ > ../../../src/share/classes/javax/xml/transform/TransformerException.java:334: > warning: non-varargs call of varargs method with inexact argument type for > last 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 > exception = (Throwable) meth.invoke(exception, null); > ^ > ../../../src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java:1186: > warning: non-varargs call of varargs method with inexact argument type for > last 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 > last 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:162: > warning: non-varargs call of varargs method with inexact argument type for > last 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. You seem to have posted some warnings, but not the actual errors, so one cannot be sure about the actual problem. Perhaps you would like to try the binary packages from the FreeBSD Foundation and avoid the hassle altogether? Cheers, Panagiotis