I ran emerge sync about half an hour ago. I removed the tidy files from distfiles to force a download again, and tried a few different mirrors. Every time I try to emerge I get the following: pain etc # rm /usr/portage/distfiles/tidy_* pain etc # emerge -uD htmltidy Calculating dependencies ...done! >>> emerge (1 of 1) app-text/htmltidy-3.10.29 to / >>> Downloading http://adelie.polymtl.ca/distfiles/tidy_docs.tgz --14:19:59-- http://adelie.polymtl.ca/distfiles/tidy_docs.tgz => `/usr/portage/distfiles/tidy_docs.tgz' Resolving adelie.polymtl.ca... 132.207.4.160 Connecting to adelie.polymtl.ca[132.207.4.160]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 152,720 [application/x-tar] 100%[====================================>] 152,720 216.59K/s 14:20:00 (215.99 KB/s) - `/usr/portage/distfiles/tidy_docs.tgz' saved [152720/152720] >>> Resuming download... >>> Downloading http://open-systems.ufl.edu/mirrors/gentoo/distfiles/tidy_docs.tgz --14:20:00-- http://open-systems.ufl.edu/mirrors/gentoo/distfiles/tidy_docs.tgz => `/usr/portage/distfiles/tidy_docs.tgz' Resolving open-systems.ufl.edu... 128.227.74.66 Connecting to open-systems.ufl.edu[128.227.74.66]:80... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 153,044 (324 to go) [text/plain] 100%[++++++++++++++++++++++++++++++++++++>] 153,044 --.--K/s 14:20:00 (3.09 MB/s) - `/usr/portage/distfiles/tidy_docs.tgz' saved [153044/153044] >>> Downloading http://adelie.polymtl.ca/distfiles/tidy_src_031029.tgz --14:20:00-- http://adelie.polymtl.ca/distfiles/tidy_src_031029.tgz => `/usr/portage/distfiles/tidy_src_031029.tgz' Resolving adelie.polymtl.ca... 132.207.4.160 Connecting to adelie.polymtl.ca[132.207.4.160]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 239,167 [application/x-tar] 100%[====================================>] 239,167 234.72K/s 14:20:02 (234.14 KB/s) - `/usr/portage/distfiles/tidy_src_031029.tgz' saved [239167/239167] >>> md5 src_uri ;-) tidy_src_031029.tgz !!! File is corrupt or incomplete. (Digests do not match) >>> our recorded digest: 04338149bdd3e10753101bc5dff8acd8 >>> your file's digest: c218760dbbf30ca824868360b892ec0c !!! File does not exist: /usr/portage/distfiles//tidy_docs.tgz Reproducible: Always Steps to Reproduce: 1. Delete downloaded tidy* files from /usr/portage/distfiles 2. run emerge htmltidy Actual Results: !!! File is corrupt or incomplete. (Digests do not match) >>> our recorded digest: 04338149bdd3e10753101bc5dff8acd8 >>> your file's digest: c218760dbbf30ca824868360b892ec0c !!! File does not exist: /usr/portage/distfiles//tidy_docs.tgz Expected Results: htmltidy should've emerged. I'm guessing that md5sum is out of synch somewhere. Might be with the servers, might be on my system. None that I'm aware of. If you feel I need to send something else, please let me know...
I don't understand why the ebuild is using the url http://tidy.sourceforge.net/src/old/...; this appears to be garbage. I was able to use http://tidy.sourceforge.net/docs/tidy_docs_040810.tgz and http://tidy.sourceforge.net/src/tidy_src_040811.tgz to generate a working htmltidy Hope this helps.
Thanks for the info. The reason why we don't use http://tidy.sourceforge.net/src/tidy_src_040811.tgz is that it will be moved to http://tidy.sourceforge.net/old/tidy_src_040811.tgz once new version is released. (Only the latest tarball seems to be there) This will cause missing SRC_URI. We have to put source tarball manually to gentoo mirrors if the file is missing in SRC_URI (so, it's our laziness that prevents us from changing SRC_URI to mirror://gentoo/... and put the latest tarball there. http://tidy.sf.net/src/... doesn't work perfectly when you come to think about it). All the tidy_docs are in the same directory so this doesn't happen for tidy_doc, so I changed to use dated tidy_doc tarballs.