Opened 13 years ago

Closed 12 years ago

#29806 closed defect (fixed)

BibTool: checksum mismatch due to misconfigured server

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: BibTool

Description

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.

Change History (3)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from tristan@… to macports-tickets@…

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

I have sent email to ctan at dante.de explaining these matters.

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Fixed in r98322 by removing tug.ctan.org http server from master_sites.

Note: See TracTickets for help on using tickets.