euh samba # emerge -v samba Calculating dependencies ...done! >>> emerge (1 of 1) net-fs/samba-3.0.7-r1 to / >>> Resuming download... >>> Downloading http://ftp.easynet.nl/mirror/gentoo/distfiles/smbldap-tools-0.8.5.tgz --04:38:01-- http://ftp.easynet.nl/mirror/gentoo/distfiles/smbldap-tools-0.8.5.tgz => `/usr/portage/distfiles/smbldap-tools-0.8.5.tgz' Resolving ftp.easynet.nl... 195.86.128.57 Connecting to ftp.easynet.nl[195.86.128.57]:80... connected. HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable The file is already fully retrieved; nothing to do. >>> Resuming download... >>> Downloading ftp://ftp.easynet.nl/mirror/gentoo/distfiles/smbldap-tools-0.8.5.tgz --04:38:01-- ftp://ftp.easynet.nl/mirror/gentoo/distfiles/smbldap-tools-0.8.5.tgz => `/usr/portage/distfiles/smbldap-tools-0.8.5.tgz' Resolving ftp.easynet.nl... 195.86.128.57 Connecting to ftp.easynet.nl[195.86.128.57]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /mirror/gentoo/distfiles ... done. ==> SIZE smbldap-tools-0.8.5.tgz ... done. ==> PASV ... done. ==> REST 269327 ... done. ==> RETR smbldap-tools-0.8.5.tgz ... done. Length: 269,327 [0 to go] 100%[++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++] 269,327 --.--K/s 04:38:01 (0.00 B/s) - `/usr/portage/distfiles/smbldap-tools-0.8.5.tgz' saved [269327] >>> Resuming download... >>> Downloading http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/distfiles/smbldap-tools-0.8.5.tgz --04:38:01-- http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/distfiles/smbldap-tools-0.8.5.tgz => `/usr/portage/distfiles/smbldap-tools-0.8.5.tgz' Resolving www.mirror.ac.uk... 194.80.135.30 Connecting to www.mirror.ac.uk[194.80.135.30]:80... connected. HTTP request sent, awaiting response... 404 Not Found Continued download failed on this file, which conflicts with `-c'. Refusing to truncate existing file `/usr/portage/distfiles/smbldap-tools-0.8.5.tgz'. >>> Resuming download... >>> Downloading http://samba.idealx.org/dist/smbldap-tools-0.8.5.tgz --04:38:02-- => `/usr/portage/distfiles/smbldap-tools-0.8.5.tgz' Resolving samba.idealx.org... 213.41.87.93 Connecting to samba.idealx.org[213.41.87.93]:80... connected. HTTP request sent, awaiting response... 206 Partial Contenthttp://samba.idealx.org/dist/smbldap-tools-0.8.5.tgz Length: 271,436 (2,109 to go) [text/plain] 100%[+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>] 271,436 --.--K/s 04:38:02 (1.60 MB/s) - `/usr/portage/distfiles/smbldap-tools-0.8.5.tgz' saved [271436/271436] >>> md5 src_uri ;-) samba-3.0.7.tar.gz !!! Digest verification Failed: !!! /usr/portage/distfiles/smbldap-tools-0.8.5.tgz !!! Reason: Failed on MD5 verification When you only download the file from http://samba.idealx.org/dist/smbldap-tools-0.8.5.tgz
then the md5sum is correct
A developper needs to correct the digest file of the samba ebuild. A work-around for the moment is to: cd /usr/portage/net-fs/samba rm files/digest-samba-3.0.7-r1 export USE="+oav +kerberos +ldap +acl +mysql +pam +xml +xml2 +python +readline" emerge samba --fetchonly unset USE ebuild samba-3.0.7-r1.ebuild digest then you can emerge samba and it should work. Hysteric
I'm getting this on a emerge world with samba 3.0.8 too: 12:29]jesse@isaac:[/home/jesse]# emerge --update --deep world Calculating world dependencies ...done! >>> emerge (1 of 28) net-fs/samba-3.0.8 to / >>> Downloading http://gentoo.osuosl.org/distfiles/smbldap-tools-0.8.5.tgz --12:42:48-- http://gentoo.osuosl.org/distfiles/smbldap-tools-0.8.5.tgz => `/usr/portage/distfiles/smbldap-tools-0.8.5.tgz' Resolving gentoo.osuosl.org... 140.211.166.134 Connecting to gentoo.osuosl.org[140.211.166.134]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 271,436 [application/x-tar] 100%[=====================================================================>] 271,436 25.13K/s ETA 00:00 12:42:59 (26.64 KB/s) - `/usr/portage/distfiles/smbldap-tools-0.8.5.tgz' saved [271436/271436] >>> md5 src_uri ;-) samba-3.0.8.tar.gz !!! Digest verification Failed: !!! /usr/portage/distfiles/smbldap-tools-0.8.5.tgz !!! Reason: Filesize does not match recorded size Exit 1
This is nog a bug , just a small problem in some mirror servers. on some servers like http://samba.idealx.org/ have the correct md5sum. So manually wget the file from there , put it in /usr/portage/distfiles and you can emerge samba again.
The file on all of the mirrors I've just checked is perfectly fine.