Emerge returns 'Digest verification failed' while emerging ' sys-devel/patch'.
Steps to Reproduce:
1. emerge sys-devel/patch
!!! Digest verification failed:
!!! Reason: Failed on RMD160 verification
!!! Got: 7d76ad8c7795be330903f58a147c95ffccf0ab5f
!!! Expected: 23a7bf5f2de29c43db7948e90cb4c85b3bba6f48
Successful merge of sys-devel/patch.
It's actually OK in Portage. Try switching mirrors, syncing again... Might also be a local file system corruption or hardware failure.
OK, file was damaged in filesystem. Manual fetch from packages.gentoo.org resolved the problem.
The filesize of corrupt file has same size as manual fetched file, so rsync dont detect differences using "quick check" algorithm.