From owner-freebsd-java@FreeBSD.ORG Tue Feb 11 19:31:02 2014 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B86E791C; Tue, 11 Feb 2014 19:31:02 +0000 (UTC) Received: from mail.intertainservices.com (mail.intertainservices.com [69.77.177.114]) by mx1.freebsd.org (Postfix) with ESMTP id 8813517CC; Tue, 11 Feb 2014 19:31:02 +0000 (UTC) Received: from freebsd.local (unknown [172.16.10.114]) by mail.intertainservices.com (Postfix) with ESMTPSA id B55E456441; Tue, 11 Feb 2014 14:31:00 -0500 (EST) Message-ID: <52FA7A74.5020900@intertainservices.com> Date: Tue, 11 Feb 2014 14:31:00 -0500 From: Mike Jakubik User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Craig Rodrigues , Jung-uk Kim Subject: Re: FreeBSD Port: java/icedtea-web References: <52F940E8.6020209@intertainservices.com> <52F94EED.4080606@FreeBSD.org> In-Reply-To: X-intertainservices-MailScanner-Information: Please contact the ISP for more information X-intertainservices-MailScanner-ID: B55E456441.AC580 X-intertainservices-MailScanner: Found to be clean X-intertainservices-MailScanner-From: mike.jakubik@intertainservices.com X-Spam-Status: No Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: Greg Lewis , freebsd-java@freebsd.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2014 19:31:02 -0000 On 02/10/14 21:34, Craig Rodrigues wrote: > > > > On Mon, Feb 10, 2014 at 2:13 PM, Jung-uk Kim > wrote: > > > A patch was suggested by lwhsu@: > > http://people.freebsd.org/~lwhsu/patch/openjdk7-PortConfig.diff > > > > I can confirm, I needed that patch. Without it, the devel/jenkins > port does not even start > due to a Java failure which is the same one that Mike Jakubik reported > for java/icedweb-tea > > -- > Craig This patch does not work for me, some sort of syntax error in it? # Running javac: /usr/local/openjdk7/bin/java -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -Xmx512m -Xms512m -XX:PermSize=32m -XX:MaxPermSize=160m -Xbootclasspath/p:/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/dist/bootstrap/lib/javac.jar -jar /usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/dist/bootstrap/lib/javac.jar -source 7 -target 7 -encoding ascii -Xbootclasspath:/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/classes -sourcepath /usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/gensrc:::/usr/ports/java/openjdk7/work/openjdk/jdk/src/macosx/classes:/usr/ports/java/openjdk7/work/openjdk/jdk/src/solaris/classes:/usr/ports/java/openjdk7/work/openjdk/jdk/src/share/classes -d /usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/classes @/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/tmp/java/java.lang/java/.classes.list.filtered /usr/ports/java/openjdk7/work/openjdk/jdk/src/solaris/classes/sun/net/PortConfig.java:52: error: illegal start of expression } else if (os.startsWith("SunOS")) || os.startsWith("FreeBSD")) { ^ /usr/ports/java/openjdk7/work/openjdk/jdk/src/solaris/classes/sun/net/PortConfig.java:52: error: ';' expected } else if (os.startsWith("SunOS")) || os.startsWith("FreeBSD")) { ^ /usr/ports/java/openjdk7/work/openjdk/jdk/src/solaris/classes/sun/net/PortConfig.java:55: error: 'else' without 'if' } else if (os.contains("OS X")) { ^ Note: Some input files use or override 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. 3 errors gmake[4]: *** [.compile.classlist] Error 1 gmake[4]: Leaving directory `/usr/ports/java/openjdk7/work/openjdk/jdk/make/java/java'