-
Notifications
You must be signed in to change notification settings - Fork 22
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
Installing LuaJIT sometimes fails with SHA256 mismatch #27
Comments
Reproduced locally for LuaJIT 2.1.0, again, get the expected file with prefix and suffix, prefix is |
Calling |
Using |
Of course, the "prefix" is file length in hexadecimal, so the broken file is just full chunk encoded file. Not sure why GitHub decides to send the whole file in one chunk, or why urlretrieve can't handle it, |
OK, so |
Fixed in @a9b8ab9. |
For instance, when installing LuaJIT 2.0.4 this can happen:
Happens with LuaJIT 2.1.0-beta2, too. SHA256 for other downloads seemingly don't mismatch. Observed invalid checksums are the same every time.
Comparing normal and invalid files (at least for LuaJIT 2.0.4) shows that the invalid one is almost correct but has extra 7 bytes prepended and appended to it. Prefix is
d0a4f\r\n
and suffix is\r\n0\r\n\r\n
.The failures happen on Travis/Appveyor fairly often but I've only managed to reproduce it locally once.
The text was updated successfully, but these errors were encountered: