From: Dominic Fandrey on 19 May 2010 15:22 On 19/05/2010 20:10, Olivier Smedts wrote: > 2010/5/19 Dominic Fandrey <kamikaze(a)bsdforen.de>: >> 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 unsuccessfully >> to get it. >> >> -jaxp_src-url-bundle: >> [echo] Downloading from https://jaxp.dev.java.net/files/documents/913/147491/jdk6-jaxp-2010_01_15.zip >> [get] Getting: https://jaxp.dev.java.net/files/documents/913/147491/jdk6-jaxp-2010_01_15.zip >> [get] To: /usr/obj/mobileKamikaze.norad/amd64/usr/ports/java/openjdk6/work/build/bsd-amd64/jaxp/drop/bundles/jdk6-jaxp-2010_01_15.zip.temp >> [get] Error getting https://jaxp.dev.java.net/files/documents/913/147491/jdk6-jaxp-2010_01_15.zip to /usr/obj/mobileKamikaze.norad/amd64/usr/ports/java/openjdk6/work/build/bsd-amd64/jaxp/drop/bundles/jdk6-jaxp-2010_01_15.zip.temp >> >> BUILD FAILED >> java.net.SocketException: Invalid argument >> at java.net.PlainSocketImpl.socketConnect(Native Method) >> at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310) >> at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176) >> at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163) >> ... >> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) >> >> Total time: 0 seconds >> gmake[1]: *** [all] Error 1 >> gmake[1]: Leaving directory `/usr/obj/mobileKamikaze.norad/amd64/usr/ports/java/openjdk6/work/jaxp/make' >> gmake: *** [jaxp-build] Error 2 >> *** Error code 1 >> >> Stop in /usr/ports/java/openjdk6. > > By any chance do you use "FORCE_MAKE_JOBS=yes" ? > java/openjkd6 should be marked MAKE_JOBS_UNSAFE, it failed last time I > tried with 4 jobs (last time was maybe 3 months ago but I don't think > the port has changed much). # cd /usr/ports/java/openjdk6 # make -VFORCE_MAKE_JOBS # Nope. I'll try to rebuild ant. -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Stacy Millions on 19 May 2010 16:25 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" -stacy _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Damian Gerow on 19 May 2010 16:50 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. _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Stacy Millions on 19 May 2010 17:20 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: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. AAAA records are not part of the issue... if you want a quick and dirty test, try this 1. download http://javassh.org/download/jta26.jar this is a java/swing telnet client 2. Run java -jar jta26.jar <someipaddress> and you get: Socket: can't connect: java.net.SocketException: Invalid argument 3. Run java -Djava.net.preferIPv4Stack=true -jar jta26.jar <someipaddress> and it works (assuming there is a telnet server there to connect to) At least that is how things behave for me. -stacy _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Damian Gerow on 19 May 2010 17:25 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.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. : : 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. : 1. download http://javassh.org/download/jta26.jar this is a java/swing : telnet client : : 2. Run : java -jar jta26.jar <someipaddress> : and you get: : Socket: can't connect: java.net.SocketException: Invalid argument : : 3. Run : java -Djava.net.preferIPv4Stack=true -jar jta26.jar <someipaddress> : and it works (assuming there is a telnet server there to connect to) : : At least that is how things behave for me. That seems ... counter-intuitive. _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: Depend on ${PORTSDIR}/foo WITH_OPTION Next: Simultaneous encoding using Gogo. (petite port) |