Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 2010 09:15:45 +0200
From:      Dominic Fandrey <kamikaze@bsdforen.de>
To:        freebsd-ports@freebsd.org
Subject:   OpenJDK6 not building
Message-ID:  <4BF39021.8080005@bsdforen.de>

next in thread | raw e-mail | index | archive | help
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 java.net.Socket.connect(Socket.java:542)
	at java.net.Socket.connect(Socket.java:492)
	at sun.net.NetworkClient.doConnect(NetworkClient.java:174)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:409)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:530)
	at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:289)
	at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:346)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:755)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
	at org.apache.tools.ant.taskdefs.Get.doGet(Get.java:145)
	at org.apache.tools.ant.taskdefs.Get.execute(Get.java:78)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
	at org.apache.tools.ant.Main.runBuild(Main.java:758)
	at org.apache.tools.ant.Main.startAnt(Main.java:217)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
	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.

-- 
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? 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BF39021.8080005>