Re: OpenJDK6 not building

2010-05-21 Thread Jung-uk Kim
On Thursday 20 May 2010 09:01 am, Damian Gerow wrote: > Stacy Millions wrote: > : 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 >

Re: OpenJDK6 not building

2010-05-20 Thread Damian Gerow
Stacy Millions wrote: : 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.n

Re: OpenJDK6 not building

2010-05-19 Thread Stacy Millions
On 05/19/10 15:25, Damian Gerow wrote: Stacy Millions wrote: : 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 o

Re: OpenJDK6 not building

2010-05-19 Thread Damian Gerow
Stacy Millions wrote: : On 05/19/10 14:50, Damian Gerow wrote: : > 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.Abs

Re: OpenJDK6 not building

2010-05-19 Thread Stacy Millions
On 05/19/10 14:50, Damian Gerow wrote: 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:

Re: OpenJDK6 not building

2010-05-19 Thread Damian Gerow
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.

Re: OpenJDK6 not building

2010-05-19 Thread Stacy Millions
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 suppor

Re: OpenJDK6 not building

2010-05-19 Thread Dominic Fandrey
On 19/05/2010 20:10, Olivier Smedts wrote: > 2010/5/19 Dominic Fandrey : >> I have no idea, why it tries to download something during build, >> and no idea why it fails to do so. >> >> Fetching >> https://jaxp.dev.java.net/files/documents/913/147491/jdk6-jaxp-2010_01_15.zip >> manually works fine.

Re: OpenJDK6 not building

2010-05-19 Thread Olivier Smedts
2010/5/19 Dominic Fandrey : > I have no idea, why it tries to download something during build, > and no idea why it fails to do so. > > Fetching > https://jaxp.dev.java.net/files/documents/913/147491/jdk6-jaxp-2010_01_15.zip > manually works fine. But if I do that the file will just be > deleted by

Re: OpenJDK6 not building

2010-05-19 Thread Damian Gerow
Dominic Fandrey wrote: : On 19/05/2010 10:25, Alex Dupre wrote: : > Dominic Fandrey ha scritto: : >> I have no idea, why it tries to download something during build, : >> and no idea why it fails to do so. : > : > Theoretically a port should not download anything in the build stage, : > but curren

Re: OpenJDK6 not building

2010-05-19 Thread Dominic Fandrey
On 19/05/2010 10:25, Alex Dupre wrote: > Dominic Fandrey ha scritto: >> I have no idea, why it tries to download something during build, >> and no idea why it fails to do so. > > Theoretically a port should not download anything in the build stage, > but currently the openjdk6 port does it. I don'

Re: OpenJDK6 not building

2010-05-19 Thread Alex Dupre
Dominic Fandrey ha scritto: > I have no idea, why it tries to download something during build, > and no idea why it fails to do so. Theoretically a port should not download anything in the build stage, but currently the openjdk6 port does it. I don't know why it fails for you, but I built the port

OpenJDK6 not building

2010-05-19 Thread Dominic Fandrey
I have no idea, why it tries to download something during build, and no idea why it fails to do so. Fetching https://jaxp.dev.java.net/files/documents/913/147491/jdk6-jaxp-2010_01_15.zip manually works fine. But if I do that the file will just be deleted by the build script and it will again try u