-
Notifications
You must be signed in to change notification settings - Fork 511
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
download from backup appends to file from previous attempt #1552
Comments
Is it downloading it to the /tmp directory? what if I manually download the correct file and place it in the tmp folder? |
Packages are downloaded to pkg/ directory. |
bzip2-1.0.6.tar.gz Failed - Network error I tried downloading manually in chrome... it failed lol, will the one from amazon server work? I downloaded the amazon file, it's the same size. |
It works here. |
Worked here too, just passed it during compile :) Thank you I'll let you know if anything else comes up. |
Slow HTTP server with lag for tests: https://gist.github.com/45472174f8bd97989c1eb9bc64d50468 Fix mxe#1552
Slow HTTP server with lag for tests: https://gist.github.com/45472174f8bd97989c1eb9bc64d50468 Fix mxe#1552
See #1524 (comment)
I reproduced this issue locally.
First URL http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz is very slow at the moment and can not output whole file until timeout (30 seconds). wget tries 3 times (option
-t 3
of wget) and fails them all, after it tries to download from backup server: http://s3.amazonaws.com/mxe-pkg/bzip2%2D1%2E0%2E6%2Etar%2Egz The file is downloaded in few seconds, but checksum fails.Correct file bzip2-1.0.6.tar.gz has size 782025 bytes, but the file got has size 924991 bytes. Checked both files with
tail
andhead
, I see that they have equal prefix and suffix. Probably, subsequent download attempts append to old file instead of overwriting it.The text was updated successfully, but these errors were encountered: