[MacPorts] #29806: BibTool: checksum mismatch due to misconfigured server
MacPorts
noreply at macports.org
Sun Jun 12 21:45:24 PDT 2011
#29806: BibTool: checksum mismatch due to misconfigured server
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: tristan@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: BibTool
-------------------------------------+--------------------------------------
The BibTool port fails to fetch properly:
{{{
---> Attempting to fetch BibTool-2.48.tar.gz from http://tug.ctan.org
/tex-archive/biblio/bibtex/utils/bibtool/
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 7908 0 7908 0 0 13087 0 --:--:-- --:--:-- --:--:--
19477
---> Verifying checksum(s) for BibTool
DEBUG: checksum phase started at Sun Jun 12 23:39:58 CDT 2011
DEBUG: Executing org.macports.checksum (BibTool)
---> Checksumming BibTool-2.48.tar.gz
Error: Checksum (md5) mismatch for BibTool-2.48.tar.gz
Portfile checksum: BibTool-2.48.tar.gz md5
20ebb18ea55e5f64b67f5b8edaa0d6fa
Distfile checksum: BibTool-2.48.tar.gz md5
fb1ac7494a261f7745624097eb4f6e3e
The correct checksum line may be:
checksums md5 fb1ac7494a261f7745624097eb4f6e3e \
sha1 2fd9eb9fba50f59d119c6e2fcb8f4addccb16c6b \
rmd160 c0dc8f4d9bdeb2b292525d375d2a56a3b619f5d2
***
The non-matching file appears to be HTML. See this page for possible
reasons
for the checksum mismatch:
<http://trac.macports.org/wiki/MisbehavingServers>
***
}}}
The reason is that upstream has updated the software to a new version and
removed the old file http://tug.ctan.org/tex-
archive/biblio/bibtex/utils/bibtool/BibTool-2.48.tar.gz. When you request
the old file, you get a page that says "Note: you requested the material
at a path /biblio/bibtex/utils/bibtool/BibTool-2.48.tar.gz that doesn't
exist. This is the closest directory".
Upstream should not remove old distfiles, and upstream should return a
proper 404 error code when requested URLs do not exist. Not doing so
causes problems for MacPorts, as you can see. Please report these issues
to upstream.
I'll submit a separate ticket to request this port be updated to the
latest version, but that will only temporarily hide this problem (until a
new version is released), so these issues do still need to be fixed
upstream.
--
Ticket URL: <https://trac.macports.org/ticket/29806>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list