You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Matthias Bläsing <mb...@doppel-helix.eu> on 2019/11/04 19:35:48 UTC

Building netbeans depends on gitbox.apache.org

Hi,

I currently can't build netbeans from source (and I assume the same is
true for anyone). I get this:

bootstrap:
     [echo] Bootstrapping NetBeans-specific Ant extensions...
      [get] Getting: https://gitbox.apache.org/repos/asf?p=netbeans-jenkins-lib.git;a=blob_plain;f=meta/netbeansrelease.json
      [get] To: /home/matthias/src/netbeans/nbbuild/build/netbeansrelease.json
      [get] Error getting https://gitbox.apache.org/repos/asf?p=netbeans-jenkins-lib.git;a=blob_plain;f=meta/netbeansrelease.json to /home/matthias/src/netbeans/nbbuild/build/netbeansrelease.json

BUILD FAILED
/home/matthias/src/netbeans/nbbuild/build.xml:118: java.net.ConnectException: Die Wartezeit für die Verbindung ist abgelaufen (Connection timed out)
        at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
        at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
        at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
        at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)
        at java.base/java.net.Socket.connect(Socket.java:609)
        at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:285)
        at java.base/sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
        at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:182)
        at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
        at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)
        at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:265)
        at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:372)
        at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
        at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1187)
        at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081)
        at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
        at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:168)
        at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:766)
        at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:676)
        at
org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:666)

Total time: 2 minutes 12 seconds


Obviously gitbox.apache.org is down. Is there a reason, that we don't
carry the release information in the main git repository? That way you
can build, if you have a checkout and all binaries, without external
dependencies.

Greetings

Matthias


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Building netbeans depends on gitbox.apache.org

Posted by Neil C Smith <ne...@apache.org>.
On Tue, 5 Nov 2019 at 08:50, Eric Barboni <sk...@apache.org> wrote:
>  Maybe we should add the metajson to the nb folder in the source next release. And have a try first local then distant to get the json.

+1, although that wouldn't help with git checkouts.

Was there a reason this uses skipexisting=false ?  Would be good to
just download once until cleaned?

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




RE: Building netbeans depends on gitbox.apache.org

Posted by Eric Barboni <sk...@apache.org>.
Hi,
 Maybe we should add the metajson to the nb folder in the source next release. And have a try first local then distant to get the json.

 Sorry this download fail  just because it's a json file ? There is no issues with binaries download ?

Best Regards
Eric
-----Message d'origine-----
De : Neil C Smith <ne...@apache.org> 
Envoyé : mardi 5 novembre 2019 08:53
À : dev <de...@netbeans.apache.org>
Objet : Re: Building netbeans depends on gitbox.apache.org

On Tue, 5 Nov 2019, 04:32 Jaroslav Tulach, <ja...@gmail.com>
wrote:

> Fallback to some cached
> version would be a solution as well.
>

It should be possible to achieve this manually in the interim if you set the metabuild.jsonurl property. I asked Eric to add this for release testing.
https://github.com/apache/netbeans/commit/08bd46eae4bbc708dab986baa3ff0c213e476b12

Best wishes,

Neil

>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Building netbeans depends on gitbox.apache.org

Posted by Neil C Smith <ne...@apache.org>.
On Tue, 5 Nov 2019, 04:32 Jaroslav Tulach, <ja...@gmail.com>
wrote:

> Fallback to some cached
> version would be a solution as well.
>

It should be possible to achieve this manually in the interim if you set
the metabuild.jsonurl property. I asked Eric to add this for release
testing.
https://github.com/apache/netbeans/commit/08bd46eae4bbc708dab986baa3ff0c213e476b12

Best wishes,

Neil

>

Re: Building netbeans depends on gitbox.apache.org

Posted by Jaroslav Tulach <ja...@gmail.com>.
The build is broken for many of us inside of Oracle corporate network due
to downloading of this file. I am testing a patch to use `configureproxy`
since yesterday which seems to solve our problems. Fallback to some cached
version would be a solution as well.

-jt


po 4. 11. 2019 v 21:07 odesílatel Neil C Smith <ne...@apache.org>
napsal:

> On Mon, 4 Nov 2019, 19:36 Matthias Bläsing, <mb...@doppel-helix.eu>
> wrote:
>
> > Obviously gitbox.apache.org is down. Is there a reason, that we don't
> > carry the release information in the main git repository?
> >
>
> Yes, although it's my least favourite aspect of new build. It was discussed
> in threads about using git hash - hard to store the commit hash in the
> repository!
>
> Should be possible to cache a download easily enough though, which should
> be no worse than external binary downloads?
>
> Best wishes,
>
> Neil
>
> >
>

Re: Building netbeans depends on gitbox.apache.org

Posted by Neil C Smith <ne...@apache.org>.
On Mon, 4 Nov 2019, 19:36 Matthias Bläsing, <mb...@doppel-helix.eu>
wrote:

> Obviously gitbox.apache.org is down. Is there a reason, that we don't
> carry the release information in the main git repository?
>

Yes, although it's my least favourite aspect of new build. It was discussed
in threads about using git hash - hard to store the commit hash in the
repository!

Should be possible to cache a download easily enough though, which should
be no worse than external binary downloads?

Best wishes,

Neil

>

Re: Building netbeans depends on gitbox.apache.org

Posted by Brad Walker <bw...@musings.com>.
I had the same problem last week when the corporate network was down..

FYI.

-brad w.

On Mon, Nov 4, 2019 at 12:36 PM Matthias Bläsing <mb...@doppel-helix.eu>
wrote:

> Hi,
>
> I currently can't build netbeans from source (and I assume the same is
> true for anyone). I get this:
>
> bootstrap:
>      [echo] Bootstrapping NetBeans-specific Ant extensions...
>       [get] Getting:
> https://gitbox.apache.org/repos/asf?p=netbeans-jenkins-lib.git;a=blob_plain;f=meta/netbeansrelease.json
>       [get] To:
> /home/matthias/src/netbeans/nbbuild/build/netbeansrelease.json
>       [get] Error getting
> https://gitbox.apache.org/repos/asf?p=netbeans-jenkins-lib.git;a=blob_plain;f=meta/netbeansrelease.json
> to /home/matthias/src/netbeans/nbbuild/build/netbeansrelease.json
>
> BUILD FAILED
> /home/matthias/src/netbeans/nbbuild/build.xml:118:
> java.net.ConnectException: Die Wartezeit für die Verbindung ist abgelaufen
> (Connection timed out)
>         at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.base/java.net
> .AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
>         at java.base/java.net
> .AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
>         at java.base/java.net
> .AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
>         at java.base/java.net
> .SocksSocketImpl.connect(SocksSocketImpl.java:403)
>         at java.base/java.net.Socket.connect(Socket.java:609)
>         at
> java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:285)
>         at
> java.base/sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
>         at java.base/sun.net
> .NetworkClient.doConnect(NetworkClient.java:182)
>         at
> java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
>         at
> java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)
>         at
> java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:265)
>         at
> java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:372)
>         at
> java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
>         at
> java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1187)
>         at
> java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081)
>         at
> java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
>         at
> java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:168)
>         at
> org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:766)
>         at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:676)
>         at
> org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:666)
>
> Total time: 2 minutes 12 seconds
>
>
> Obviously gitbox.apache.org is down. Is there a reason, that we don't
> carry the release information in the main git repository? That way you
> can build, if you have a checkout and all binaries, without external
> dependencies.
>
> Greetings
>
> Matthias
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>