I’m using the –timeout option. As I mentioned below, inside the abe.sh, it 
limits the maximum timeout setting to 10 seconds.

I modified abe.sh locally by changing ‘lt 11’ below to ‘gt 10’ and it works 
fine. That’s why I suggest the abe.sh needs to be updated to give user 
flexibility to increase the timeout setting bigger than 10 seconds.

 

Thanks,

Qyq

 

From: Victor Chong [mailto:victor.ch...@linaro.org] 
Sent: Friday, July 17, 2015 12:20 PM
To: strongq
Cc: Rob Savoye; Jim Wilson; Linaro Toolchain Mailman List
Subject: Re: abe: cross native toolchain compilation for aarch64-linux-gnu

 

You can try the --timeout option to abe.sh to increase the timeout value for 
wget.

Or add "wget_timeout=<value>" to ~/.aberc if you don't want to type it every 
time. 

 

On Sat, Jul 18, 2015 at 1:04 AM, strongq <stro...@codeaurora.org 
<mailto:stro...@codeaurora.org> > wrote:

Hi Rob, Jim,

I'm frequently getting timeout for wget to fetch snapshot. Shouldn't the 
timeout setting in abe.sh use gt but not lt as below:
  --time*|-time*)
            check_directive $1 timeout "time" $2
            if test $2 -lt 11; then
                wget_timeout=$2
            else
                # FIXME: Range check for non-numerical values.
                wget_timeout=10
            fi

The script limits the timeout setting to be 10 seconds or less. But for slow 
network connection (I'm from Canada but our http request might be routed to US 
first), 10 seconds is not enough.

Thanks,

Qyq


_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org <mailto:linaro-toolchain@lists.linaro.org> 
https://lists.linaro.org/mailman/listinfo/linaro-toolchain

 

_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to