From: Dominic Fandrey on
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?
_______________________________________________
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: Alex Dupre on
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 in tinderbox without problems. Have you re-tried?

--
Alex Dupre
_______________________________________________
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: Dominic Fandrey on
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't know why it fails for
> you, but I built the port in tinderbox without problems. Have you re-tried?

I tried it in three different environments, (NAT, UMTS, University VPN).
No clue what causes the exception.

--
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: Damian Gerow on
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 currently the openjdk6 port does it. I don't know why it fails for
: > you, but I built the port in tinderbox without problems. Have you re-tried?
:
: I tried it in three different environments, (NAT, UMTS, University VPN).
: No clue what causes the exception.

FWIW, I'm seeing the same thing when trying to upgrade openjdk6-b17_2 to
openjdk6-b19_1.
_______________________________________________
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: Olivier Smedts on
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 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.

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).

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



--
Olivier Smedts _
ASCII ribbon campaign ( )
e-mail: olivier(a)gid0.org - against HTML email & vCards X
www: http://www.gid0.org - against proprietary attachments / \

"Il y a seulement 10 sortes de gens dans le monde :
ceux qui comprennent le binaire,
et ceux qui ne le comprennent pas."
_______________________________________________
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"