From owner-freebsd-ports@FreeBSD.ORG Wed May 19 22:45:32 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6B2C106566B for ; Wed, 19 May 2010 22:45:32 +0000 (UTC) (envelope-from stacy@Millions.Ca) Received: from mail-gw-0.millions.ca (www.millions.ca [96.53.2.246]) by mx1.freebsd.org (Postfix) with ESMTP id A6D1C8FC08 for ; Wed, 19 May 2010 22:45:32 +0000 (UTC) Received: from bonsai.millions.ca (Bonsai.Millions.Ca [192.168.64.4]) by oak.millions.ca (8.14.2/8.14.2) with ESMTP id o4JMjRmd090096; Wed, 19 May 2010 16:45:27 -0600 (MDT) (envelope-from stacy@millions.ca) Message-ID: <4BF46A07.9050606@millions.ca> Date: Wed, 19 May 2010 16:45:27 -0600 From: Stacy Millions User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.5pre) Gecko/20100518 Thunderbird/3.1b2 MIME-Version: 1.0 To: Damian Gerow References: <4BF39021.8080005@bsdforen.de> <4BF44923.5090101@millions.ca> <20100519205008.GB68124@plebeian.afflictions.org> <4BF4562B.5060208@millions.ca> <20100519212514.GC68124@plebeian.afflictions.org> In-Reply-To: <20100519212514.GC68124@plebeian.afflictions.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Dominic Fandrey , freebsd-ports@freebsd.org Subject: Re: OpenJDK6 not building 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: Wed, 19 May 2010 22:45:32 -0000 On 05/19/10 15:25, Damian Gerow wrote: > Stacy Millions wrote: > : AAAA records are not part of the issue... if you want a quick and dirty > : test, try this > > Regardless, I tried with java.net.preferIPv4Stack=true, and it had no effect. Dug into the build process a bit... they use a bundled version of ant which doesn't call /usr/local/bin/java (who uses JAVAVM_OPTS). Try adding these two lines to the MAKE_ENV of the port's Makefile JAVACMD=${LOCALBASE}/bin/java \ JAVAVM_OPTS=-Djava.net.preferIPv4Stack=true \ and rerun make. It works for me. > : At least that is how things behave for me. > > That seems ... counter-intuitive. It seems counter to the documentation too http://java.sun.com/javase/6/docs/technotes/guides/net/ipv6_guide but I tend to take the pragmatic approach that when reality disagrees with the documentation, I believe reality :-) -stacy