emerge =mozilla-firefox-1.5 ...... !!! Digest verification Failed: !!! /usr/portage/distfiles/embed-typeaheadfind.patch !!! Reason: Failed on MD5 verification Reproducible: Always Steps to Reproduce: 1.emerge =mozilla-firefox-1.5 2. 3. Actual Results: ...... !!! Digest verification Failed: !!! /usr/portage/distfiles/embed-typeaheadfind.patch !!! Reason: Failed on MD5 verification Expected Results: emerge should not fail.
I had the same issue, unfortunately I lost the output information to show what happened so I'll explain. What happened was that the file already existed in /usr/portage/distfiles so when it fetched the file it assumed an unfinished download and it grabbed only the last 323 bytes and tagged it on to the end of the old file, causing the MD5 failure. To fix it I simply went rm /usr/portage/distfiles/embed-typeaheadfind.patch Then when I emerged it again, it downloaded the full file and passed the MD5 verification and is currently compiling.
Cool, worked perfectly for me! Thanks for the hint! Gentoo Rocks!
Same problem occurred here. Rm embed-typeaheadfind.patch & re-emerging mozilla-firefox worked perfectly.
stale distfiles are the biggest cause of md fail failure and patches failing during an emerge closing as you all seem to have figured this all out.