firasuke / mussel

The shortest and fastest script to build working cross compilers targeting musl libc
ISC License
88 stars 12 forks source link

Unable to Validate Checksum #13

Closed dslm4515 closed 11 months ago

dslm4515 commented 1 year ago
.. Verifying binutils-2.40.tar.lz...
b3sum: skipping invalid checksum line
!. binutils-2.40.tar.lz is corrupted, redownloading...

mussel script gets stuck in a loop of downloading, attempting to check against checksum and then downloading again [same file]

I use the C implementation of the b3sum tool since most implementations are rust, like b3sum-ng

Perhaps add an option to use m5sum? Or perhaps, what is a good C/C++ implementation of b3sum?

firasuke commented 1 year ago

Are you still facing this issue?

dslm4515 commented 1 year ago

Yeah. For now, I'm using the last commit before the switch to b3sum

firasuke commented 1 year ago

Alright, keeping this open then until I have some time to test the C version of b3sum.

firasuke commented 1 year ago

Meanwhile, can you provide a link to the version of b3sum you are using? It might have to do with how checks are performed (incorrect way of handling output, or output not identical between different versions/implementations), rather than the checksum being wrong.

dslm4515 commented 1 year ago

I checked your script. Checksums are fine. Looks like the way the checksum is passed to b3sum may not be compatible. I'm not at my PC at the moment. I will check when I'm off work later today

dslm4515 commented 1 year ago

I used this b3sum implementation: https://git.sr.ht/~mcf/b3sum