Hi.
I've recently been trying to build thrift. See below. It fails to fetch
ivy-2.2.0.jar from the maven repo. Kind of weird since I cannot wget
this file (403 forbidden), but I can download it by using my web browser.
Anyone experienced this building issue?
make[3]: entrant dans le répertoire « /home/yziquel/git/thrift/lib/java »
/usr/bin/ant
Buildfile: /home/yziquel/git/thrift/lib/java/build.xml
setup.init:
[mkdir] Created dir: /home/yziquel/git/thrift/lib/java/build
[mkdir] Created dir: /home/yziquel/git/thrift/lib/java/build/lib
[mkdir] Created dir: /home/yziquel/git/thrift/lib/java/build/tools
[mkdir] Created dir: /home/yziquel/git/thrift/lib/java/build/test
ivy.check:
ivy.download:
[get] Getting:
http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.2.0//ivy-2.2.0.jar
[get] To: /home/yziquel/git/thrift/lib/java/build/tools/ivy-2.2.0.jar
[get] Error getting
http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.2.0//ivy-2.2.0.jar to
/home/yziquel/git/thrift/lib/java/build/tools/ivy-2.2.0.jar
BUILD FAILED
/home/yziquel/git/thrift/lib/java/build.xml:120:
java.net.SocketException: Network is unreachable
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.http.HttpClient.New(HttpClient.java:323)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)
at
org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:661)
at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:581)
at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:571)
Total time: 3 seconds
make[3]: *** [all-local] Erreur 1
make[3]: quittant le répertoire « /home/yziquel/git/thrift/lib/java »
--
Guillaume Yziquel