Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#2052 - "make download" 20min stuck when downloading "tools/mkimage" because broken links and long timeout #7011

Closed
openwrt-bot opened this issue Jan 8, 2019 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

Vento:

Tested on 'master' branch (If I remember correctly this also happen on 'lede-17.01' and 'openwrt-18.06')

Execute 'make download V=s' and you'll see (sometimes) this ('/home/vento/buildop' is where I cloned the openwrt git):

make[2]: Entering directory '/home/vento/buildop/tools/mkimage'
mkdir -p /home/vento/buildop/dl
SHELL= flock /home/vento/buildop/tmp/.u-boot-2018.03.tar.bz2.flock -c ' /home/vento/buildop/scripts/download.pl "/home/vento/buildop/dl" "u-boot-2018.03.tar.bz2" "7e7477534409d5368eb1371ffde6820f0f79780a1a1f676161c48442cb303dfd" "" "http://mirror2.openwrt.org/sources" "ftp://ftp.denx.de/pub/u-boot" '

  • curl -f --connect-timeout 20 --retry 5 --location --insecure http://mirror2.openwrt.org/sources/u-boot-2018.03.tar.bz2
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 --:--:-- 0:00:13 --:--:-- 0
    curl: (22) The requested URL returned error: 404 Not Found
    Download failed.
  • curl -f --connect-timeout 20 --retry 5 --location --insecure ftp://ftp.denx.de/pub/u-boot/u-boot-2018.03.tar.bz2
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 --:--:-- 0:19:37 --:--:-- 0
    curl: (56) Recv failure: Connection timed out
    Download failed.
  • curl -f --connect-timeout 20 --retry 5 --location --insecure https://sources.lede-project.org/u-boot-2018.03.tar.bz2
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 11.7M 100 11.7M 0 0 1150k 0 0:00:10 0:00:10 --:--:-- 1227k
    make[2]: Leaving directory '/home/vento/buildop/tools/mkimage'
    time: tools/mkimage/download#0.32#0.21#1201.76

As you can see 'make download' is trying to download the file 'u-boot-2018.03.tar.bz2' from these two links:

@openwrt-bot
Copy link
Author

nbd:

Fixed in r9545-fd8705e635

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant