From owner-freebsd-ports@FreeBSD.ORG Wed May 19 20:50:12 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 CF0131065674 for ; Wed, 19 May 2010 20:50:12 +0000 (UTC) (envelope-from dgerow@afflictions.org) Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.183]) by mx1.freebsd.org (Postfix) with ESMTP id 8A7168FC18 for ; Wed, 19 May 2010 20:50:12 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEANbr80vO+L5V/2dsb2JhbACdenK+VoUQBIwv X-IronPort-AV: E=Sophos;i="4.53,265,1272859200"; d="scan'208";a="64596991" Received: from 206-248-190-85.dsl.teksavvy.com (HELO shell.afflictions.org) ([206.248.190.85]) by ironport2-out.pppoe.ca with ESMTP/TLS/DHE-RSA-AES256-SHA; 19 May 2010 16:50:10 -0400 Received: from shell.afflictions.org (shell.afflictions.org [172.20.143.66]) by shell.afflictions.org (8.14.4/8.14.4) with ESMTP id o4JKo9aW078943; Wed, 19 May 2010 16:50:09 -0400 (EDT) (envelope-from dgerow@afflictions.org) Received: (from dwg@localhost) by shell.afflictions.org (8.14.4/8.14.4/Submit) id o4JKo9ri078904; Wed, 19 May 2010 16:50:09 -0400 (EDT) (envelope-from dgerow@afflictions.org) X-Authentication-Warning: shell.afflictions.org: dwg set sender to dgerow@afflictions.org using -f Date: Wed, 19 May 2010 16:50:09 -0400 From: Damian Gerow To: Stacy Millions Message-ID: <20100519205008.GB68124@plebeian.afflictions.org> References: <4BF39021.8080005@bsdforen.de> <4BF44923.5090101@millions.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BF44923.5090101@millions.ca> User-Agent: Mutt/1.5.20 (2009-06-14) 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 20:50:12 -0000 Stacy Millions wrote: : On 05/19/10 01:15, Dominic Fandrey wrote: : : > java.net.SocketException: Invalid argument : > at java.net.PlainSocketImpl.socketConnect(Native Method) : > at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310) : : I have seen that before... Have you enabled IPv6 support? Have you set : the system property java.net.preferIPv4Stack=true? Perhaps setting the : environment variable JAVAVM_OPTS thusly will help : JAVAVM_OPTS="-Djava.net.preferIPv4Stack=true" There are no AAAA records for jaxp.dev.java.net, so preferring v4 won't help much. Rebuilding ant doesn't fix it, either. Same goes for downloading the file manually and dropping it in place, and trying to resume the build -- it just fails on the download again. As it's an HTTPS URL, I also tried building without the Unlimited Strength Policy Files, but that also had no effect.