Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#62305 closed defect (fixed)

rootsh @1.5.3: checksum mismatch: non-matching file appears to be HTML

Reported by: cooljeanius (Eric Gallager) Owned by: tobypeterson
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc: tobypeterson
Port: rootsh

Description

Trying to install rootsh on Big Sur results in the following failure:

DEBUG: Executing org.macports.fetch (rootsh)
--->  rootsh-1.5.3.tar.gz does not exist in /opt/local/var/macports/distfiles/rootsh
--->  Attempting to fetch rootsh-1.5.3.tar.gz from http://pilotfiber.dl.sourceforge.net/rootsh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   394    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   306  100   306    0     0    693      0 --:--:-- --:--:-- --:--:--     0
100  211k  100  211k    0     0  81418      0  0:00:02  0:00:02 --:--:--  173k
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: checksum phase started at Mon Feb 15 18:09:53 EST 2021
--->  Verifying checksums for rootsh
DEBUG: Executing org.macports.checksum (rootsh)
--->  Checksumming rootsh-1.5.3.tar.gz
DEBUG: Calculated (md5) is b5994da36f8ed9f3e467f1a4093b55c5
Error: Checksum (md5) mismatch for rootsh-1.5.3.tar.gz
Portfile checksum: rootsh-1.5.3.tar.gz md5 af62e6140338c9b2e8e8f6e828fda1ac
Distfile checksum: rootsh-1.5.3.tar.gz md5 b5994da36f8ed9f3e467f1a4093b55c5
DEBUG: Calculated (sha1) is 764332c8eb7c510888db4322da2d3ba8866e4cf0
Error: Checksum (sha1) mismatch for rootsh-1.5.3.tar.gz
Portfile checksum: rootsh-1.5.3.tar.gz sha1 fa0049002b853a3d18b567dd60e4e714f9db2222
Distfile checksum: rootsh-1.5.3.tar.gz sha1 764332c8eb7c510888db4322da2d3ba8866e4cf0
DEBUG: Calculated (rmd160) is bcef72fbf3cc0f874d9557bf3d47ed83a3b6a868
Error: Checksum (rmd160) mismatch for rootsh-1.5.3.tar.gz
Portfile checksum: rootsh-1.5.3.tar.gz rmd160 1e5083c37a89b7c00606b4ca7367b90bc4ad58cb
Distfile checksum: rootsh-1.5.3.tar.gz rmd160 bcef72fbf3cc0f874d9557bf3d47ed83a3b6a868
***
The non-matching file appears to be HTML. See this page for possible reasons
for the checksum mismatch:
<https://trac.macports.org/wiki/MisbehavingServers>
***
The file has been moved to: /opt/local/var/macports/distfiles/rootsh/rootsh-1.5.3.tar.gz.html
Error: Failed to checksum rootsh: Unable to verify file checksums

I'll attach the html file.

Attachments (1)

rootsh-1.5.3.tar.gz.html (211.8 KB) - added by cooljeanius (Eric Gallager) 4 years ago.
html file that was downloaded instead of the tarball

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by cooljeanius (Eric Gallager)

Attachment: rootsh-1.5.3.tar.gz.html added

html file that was downloaded instead of the tarball

comment:1 Changed 4 years ago by tobypeterson

Works for me, probably just a temporary issue with the server. Clean and try again?

comment:2 in reply to:  1 Changed 4 years ago by cooljeanius (Eric Gallager)

Replying to tobypeterson:

Works for me, probably just a temporary issue with the server. Clean and try again?

Nope, I get the same error... maybe I have some network setting that's set that's interfering? Any ideas what to check?

comment:3 Changed 4 years ago by tobypeterson

Huh, you're right. Seems to be a problem with that specific sourceforge mirror (pilotfiber).

comment:4 Changed 4 years ago by tobypeterson

Owner: set to tobypeterson
Resolution: fixed
Status: newclosed

In 5cf9da96f02d2f0ae6857c7acb66007587784041/macports-ports (master):

rootsh: update master_sites to reduce redirects, add newer checksums. fixes #62305

comment:5 Changed 4 years ago by tobypeterson

It appears that the default sourceforge URL format, which relies on multiple redirects, doesn't work for that particular mirror. I updated master_sites to reduce/eliminate redirects, and fetching from pilotfiber now appears to work correctly.

Note: See TracTickets for help on using tickets.