OpenJDK6 not building
kamikaze at bsdforen.de
Wed May 19 19:22:19 UTC 2010
On 19/05/2010 20:10, Olivier Smedts wrote:
> 2010/5/19 Dominic Fandrey <kamikaze at bsdforen.de>:
>> I have no idea, why it tries to download something during build,
>> and no idea why it fails to do so.
>> 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.
>> [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: *** [all] Error 1
>> gmake: 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?
Q: What is the most annoying thing on usenet and in e-mail?
More information about the freebsd-ports