Opened 13 years ago
Closed 13 years ago
#33482 closed defect (fixed)
intltool @0.40.6 0 - checksum error
Reported by: | clintmiller@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | Cc: | ||
Port: | intltool |
Description
When trying to install intltool, the following exchange occurs:
---> Computing dependencies for intltool. ---> Fetching archive for intltool ---> intltool-0.40.6_1.darwin_10.noarch.tgz doesn't seem to exist in /opt/local/var/macports/software/intltool ---> Attempting to fetch intltool-0.40.6_1.darwin_10.noarch.tgz from http://packages.macports.org/intltool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 ---> Fetching intltool ---> Verifying checksum(s) for intltool ---> Checksumming intltool-0.40.6.tar.bz2 Error: Checksum (md5) mismatch for intltool-0.40.6.tar.bz2 Portfile checksum: intltool-0.40.6.tar.bz2 md5 69bc0353323112f42ad4f9cf351bc3e5 Distfile checksum: intltool-0.40.6.tar.bz2 md5 0eed317e7d5716ce20c6ade2e5471d32 Error: Checksum (sha1) mismatch for intltool-0.40.6.tar.bz2 Portfile checksum: intltool-0.40.6.tar.bz2 sha1 4f6469e09e2c06a8072dffff36f84ff401d7ea75 Distfile checksum: intltool-0.40.6.tar.bz2 sha1 88badb870b1e88f5e6a56d5ee9e4a8c77a671bc6 Error: Checksum (rmd160) mismatch for intltool-0.40.6.tar.bz2 Portfile checksum: intltool-0.40.6.tar.bz2 rmd160 bbad864aa8b256815aaaf0f462c257127b6ab3da Distfile checksum: intltool-0.40.6.tar.bz2 rmd160 6afdc9fd4417455ff80c27ce416be9f5a4b1919c The correct checksum line may be: checksums md5 0eed317e7d5716ce20c6ade2e5471d32 \ sha1 88badb870b1e88f5e6a56d5ee9e4a8c77a671bc6 \ rmd160 6afdc9fd4417455ff80c27ce416be9f5a4b1919c *** The non-matching file appears to be HTML. See this page for possible reasons for the checksum mismatch: <https://trac.macports.org/wiki/MisbehavingServers> *** Error: Target org.macports.checksum returned: Unable to verify file checksums Warning: the following items did not execute (for intltool): org.macports.activate org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install Log for intltool is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_intltool/intltool/main.log Error: Status 1 encountered during processing.
Change History (6)
comment:1 Changed 13 years ago by mf2k (Frank Schima)
Port: | intltool added |
---|
comment:2 Changed 13 years ago by mf2k (Frank Schima)
Summary: | intltool @0.40.6 0 - archive missing in http://packages.macports.org/intltool → intltool @0.40.6 0 - checksum error |
---|
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Actually, please read MisbehavingServers, and tell us what the HTML file that got downloaded (/opt/local/var/macports/distfiles/intltool/intltool-0.40.6.tar.bz2) contains.
comment:4 Changed 13 years ago by clintmiller@…
The reason I set the description as "archive msising" is because the archive file really is missing! Here's the HTML content that's being retrieved in the "fetching archive for intltool" stage:
$ curl -i http://packages.macports.org/intltool/intltool-0.40.6_1.darwin_10.noarch.tgz HTTP/1.1 404 Not Found Date: Tue, 06 Mar 2012 15:26:09 GMT Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/1.0.0e DAV/2 Vary: Accept-Encoding Content-Length: 245 Content-Type: text/html; charset=iso-8859-1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /intltool/intltool-0.40.6_1.darwin_10.noarch.tgz was not found on this server.</p> </body></html>
I did clean the port with the --dist flag and now it's being fetched correctly from another mirror.
comment:5 Changed 13 years ago by drkp (Dan Ports)
The archive does exist, but it's a .tbz2 not a .tgz. I'm guessing you have portarchivetype tgz
set in /opt/local/macports/macports.conf -- probably unknowingly, since that used to be the default. Changing that to portarchivetype tbz2
or just commenting it out should fix it.
It seems to me that we ought to set the archive type on a per-archivesite basis if that's possible, since we know what format is being used on packages.macports.org and it certainly isn't going to depend on what's in the user's config file.
comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
intltool has been updated to a newer version, which should take care of the checksum mismatch.
MacPorts base trunk has been modified to no longer use portarchivetype for our package servers, and to just know what types of packages are hosted on each package server; that should take care of your other concern. This change will probably make its appearance in MacPorts 2.1.
Please read the FAQ on checksum errors. You did not report the download mirror. If it fails again, please attach the main log.