This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] option to prefer HTTP for downloads


Hi Yann,

El Sat, May 03, 2008 at 08:03:07PM +0200 Yann E. MORIN ha dit:

> On Friday 11 April 2008 16:33:38 Matthias Kaehlcke wrote:
> > El Fri, Apr 11, 2008 at 04:27:04PM +0200 Yann E MORIN ha dit:
> > > Or we could simply try each scheme in turn, until one succeeds.
> > sounds good to me, i neither liked the redundant URLs in my patch :)
> 
> OK, that's been a little longer than expected because of problems IRL.
> I have committed a change that will make wget and curl timeout after a few
> minutes, and try http:// as a failover for those sites that do support
> http:// equivalents of the ftp:// URIs.
> 
> There's also three new options that configure either no proxy, an HTTP proxy,
> or a SOCKS 4/5 proxy, namely CT_PROXY_TYPE_NONE, CT_PROXY_TYPE_HTTP and
> CT_PROXY_TYPE_SOCKS. You can then enter the host, port, user name and password
> to the proxy. Of course, you'll have to have such a machine accessible.
> 
> Could you have a try, please?

i just tried it, but without success. the log shows that crosstool-ng
tries it again and again without falling back to http

[EXTRA]    Retrieving "linux-2.6.24" from network
[DEBUG]    Trying
"ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2";
[ALL  ]    --11:41:07--
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2
[ALL  ]               => `linux-2.6.24.tar.bz2'
[ALL  ]    Resolving ftp.kernel.org... 204.152.191.5, 204.152.191.37
[ALL  ]    Connecting to
ftp.kernel.org|204.152.191.5|:21... connected.
[ALL  ]    Logging in as anonymous ... Logged in!
[ALL  ]    ==> SYST ...
[ALL  ]    Error in server response, closing control connection.
[ALL  ]    Retrying.
[ALL  ]
[ALL  ]    --11:43:09--
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2
[ALL  ]      (try: 2) => `linux-2.6.24.tar.bz2'
[ALL  ]    Connecting to
ftp.kernel.org|204.152.191.5|:21... connected.
[ALL  ]    Logging in as anonymous ... Logged in!
[ALL  ]    ==> SYST ...
[ALL  ]    Error in server response, closing control connection.
[ALL  ]    Retrying.
[ALL  ]
[ALL  ]    --11:45:12--
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2
[ALL  ]      (try: 3) => `linux-2.6.24.tar.bz2'
[ALL  ]    Connecting to
ftp.kernel.org|204.152.191.5|:21... connected.
[ALL  ]    Logging in as anonymous ... Logged in!
[ALL  ]    ==> SYST ...
[ALL  ]    Error in server response, closing control connection.
[ALL  ]    Giving up.
[ALL  ]
[ALL  ]    --11:47:14--
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2
[ALL  ]               => `linux-2.6.24.tar.bz2'
[ALL  ]    Resolving ftp.kernel.org... 204.152.191.5, 204.152.191.37
[ALL  ]    Connecting to
ftp.kernel.org|204.152.191.5|:21... connected.
[ALL  ]    Logging in as anonymous ... Logged in!
[ALL  ]    ==> SYST ...
[ALL  ]    Error in server response, closing control connection.
[ALL  ]    Retrying.
[ALL  ]
[ALL  ]    --11:49:16--
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2
[ALL  ]      (try: 2) => `linux-2.6.24.tar.bz2'
[ALL  ]    Connecting to
ftp.kernel.org|204.152.191.5|:21... connected.
[ALL  ]    Logging in as anonymous ... Logged in!
[ALL  ]    ==> SYST ...
[ALL  ]    Error in server response, closing control connection.
[ALL  ]    Retrying.
[ALL  ]
[ALL  ]    --11:51:19--
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2
[ALL  ]      (try: 3) => `linux-2.6.24.tar.bz2'
[ALL  ]    Connecting to
ftp.kernel.org|204.152.191.5|:21... connected.
[ALL  ]    Logging in as anonymous ... Logged in!
[ALL  ]    ==> SYST ...
[ALL  ]    Error in server response, closing control connection.
[ALL  ]    Giving up.
[ALL  ]
[DEBUG]    Trying
"ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.24.tar.bz2";
[ALL  ]    --11:53:20--
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.24.tar.bz2
[ALL  ]               => `linux-2.6.24.tar.bz2'
[ALL  ]    Resolving ftp.kernel.org... 204.152.191.37, 204.152.191.5
[ALL  ]    Connecting to
ftp.kernel.org|204.152.191.37|:21... connected.
[ALL  ]    Logging in as anonymous ... Logged in!
[ALL  ]    ==> SYST ...
[ALL  ]    Error in server response, closing control connection.
[ALL  ]    Retrying.
[ALL  ]
[ALL  ]    --11:55:23--
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.24.tar.bz2
[ALL  ]      (try: 2) => `linux-2.6.24.tar.bz2'
[ALL  ]    Connecting to
ftp.kernel.org|204.152.191.37|:21... connected.
[ALL  ]    Logging in as anonymous ... Logged in!
[ALL  ]    ==> SYST ...
[ALL  ]    Error in server response, closing control connection.
[ALL  ]    Retrying.
[ALL  ]
[ALL  ]    --11:57:26--
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.24.tar.bz2
[ALL  ]      (try: 3) => `linux-2.6.24.tar.bz2'
[ALL  ]    Connecting to
ftp.kernel.org|204.152.191.37|:21... connected.
[ALL  ]    Logging in as anonymous ... Logged in!
[ALL  ]    ==> SYST ...
[ALL  ]    Error in server response, closing control connection.
[ALL  ]    Giving up.
[ALL  ]
[ALL  ]    --11:59:28--
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.24.tar.bz2
[ALL  ]               => `linux-2.6.24.tar.bz2'
[ALL  ]    Resolving ftp.kernel.org... 204.152.191.37, 204.152.191.5
[ALL  ]    Connecting to
ftp.kernel.org|204.152.191.37|:21... connected.
[ALL  ]    Logging in as anonymous ... Logged in!
[ALL  ]    ==> SYST ...
[ALL  ]    Error in server response, closing control connection.
[ALL  ]    Retrying.
[ALL  ]
[ALL  ]    --12:01:30--
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.24.tar.bz2
[ALL  ]      (try: 2) => `linux-2.6.24.tar.bz2'
[ALL  ]    Connecting to
ftp.kernel.org|204.152.191.37|:21... connected.
[ALL  ]    Logging in as anonymous ... Logged in!
[ALL  ]    ==> SYST ...
[ALL  ]    Error in server response, closing control connection.
[ALL  ]    Retrying.
[ALL  ]
[ALL  ]    --12:03:33--
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.24.tar.bz2
[ALL  ]      (try: 3) => `linux-2.6.24.tar.bz2'
[ALL  ]    Connecting to
ftp.kernel.org|204.152.191.37|:21... connected.
[ALL  ]    Logging in as anonymous ... Logged in!
[ALL  ]    ==> SYST ...
[ALL  ]    Error in server response, closing control connection.
[ALL  ]    Giving up.
[ALL  ]
[DEBUG]    Trying
"ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.6.24.tar.bz2";
[ALL  ]    --12:05:34--
ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.6.24.tar.bz2
[ALL  ]               => `linux-2.6.24.tar.bz2'
[ALL  ]    Resolving ftp.kernel.org... 204.152.191.37, 204.152.191.5
[ALL  ]    Connecting to
ftp.kernel.org|204.152.191.37|:21... connected.
[ALL  ]    Logging in as anonymous ... Logged in!
[ALL  ]    ==> SYST ...
[ALL  ]    Error in server response, closing control connection.
[ALL  ]    Retrying.
[ALL  ]
[ALL  ]    --12:07:36--
ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.6.24.tar.bz2
[ALL  ]      (try: 2) => `linux-2.6.24.tar.bz2'
[ALL  ]    Connecting to
ftp.kernel.org|204.152.191.37|:21... connected.
[ALL  ]    Logging in as anonymous ... Logged in!
[ALL  ]    ==> SYST ...
[ALL  ]    Error in server response, closing control connection.
[ALL  ]    Retrying.
[ALL  ]
[ALL  ]    --12:09:39--
ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.6.24.tar.bz2
[ALL  ]      (try: 3) => `linux-2.6.24.tar.bz2'
[ALL  ]    Connecting to
ftp.kernel.org|204.152.191.37|:21... connected.
[ALL  ]    Logging in as anonymous ... Logged in!

i still didn't try the proxy option

thanks for working on this issue!

-- 
Matthias Kaehlcke
Embedded Linux Engineer
Barcelona

        They that can give up essential liberty to obtain a little
           temporary safety deserve neither liberty nor safety
                         (Benjamin Franklin)
                                                                 .''`.
    using free software / Debian GNU/Linux | http://debian.org  : :'  :
                                                                `. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4                  `-

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]