Opened 6 years ago

Closed 6 years ago

#46817 closed defect (invalid)

s3cmd 1.0.1 Checksum mismatch due to port 404

Reported by: jimmy8787@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: s3cmd

Description

[Users/james] > install s3cmd
--->  Computing dependencies for s3cmd
--->  Fetching archive for s3cmd
--->  Attempting to fetch s3cmd-1.0.1_1.darwin_13.noarch.tbz2 from http://packages.macports.org/s3cmd
--->  Attempting to fetch s3cmd-1.0.1_1.darwin_13.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/s3cmd
--->  Attempting to fetch s3cmd-1.0.1_1.darwin_13.noarch.tbz2 from http://nue.de.packages.macports.org/macports/packages/s3cmd
--->  Fetching distfiles for s3cmd
--->  Attempting to fetch s3cmd-1.0.1.tar.gz from http://hivelocity.dl.sourceforge.net/s3tools
--->  Verifying checksums for s3cmd
Error: Checksum (md5) mismatch for s3cmd-1.0.1.tar.gz
Error: Checksum (sha1) mismatch for s3cmd-1.0.1.tar.gz
Error: Checksum (rmd160) mismatch for s3cmd-1.0.1.tar.gz
***
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/s3cmd/s3cmd-1.0.1.tar.gz.html
Error: org.macports.checksum for port s3cmd returned: Unable to verify file checksums
Please see the log file for port s3cmd for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_s3cmd/s3cmd/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port s3cmd failed

Attachments (1)

main.log.bz2 (2.8 KB) - added by jimmy8787@… 6 years ago.
main.log compressed

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by jimmy8787@…

Attachment: main.log.bz2 added

main.log compressed

comment:1 Changed 6 years ago by mf2k (Frank Schima)

Keywords: s3cmd missing 404 mavericks removed

comment:2 Changed 6 years ago by jimmy8787@…

Relevant part of the log:

:info:archivefetch --->  s3cmd-1.0.1_1.darwin_13.noarch.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch s3cmd-1.0.1_1.darwin_13.noarch.tbz2 from http://packages.macports.org/s3cmd
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch s3cmd-1.0.1_1.darwin_13.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/s3cmd
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch s3cmd-1.0.1_1.darwin_13.noarch.tbz2 from http://nue.de.packages.macports.org/macports/packages/s3cmd
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found

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

The fact that the package URLs return a 404 error is irrelevant. When packages are not available, MacPorts tries to fetch and build the source. That's what's failing, with a non-error code, which is what's causing the checksum mismatch.

As far as I can see, SourceForge is having problems, and you should try again later.

$ curl -i -L http://hivelocity.dl.sourceforge.net/s3tools/s3cmd-1.0.1.tar.gz
HTTP/1.1 302 Moved Temporarily
Server: nginx/1.4.6 (Ubuntu)
Date: Tue, 10 Feb 2015 20:53:30 GMT
Content-Type: text/html
Content-Length: 169
Connection: keep-alive
Location: http://downloads.sourceforge.net/s3tools/s3cmd-1.0.1.tar.gz?download&failedmirror=hivelocity.dl.sourceforge.net

HTTP/1.1 302 Moved Temporarily
Content-Length: 0
Connection: keep-alive
Date: Tue, 10 Feb 2015 21:17:29 GMT
Location: http://downloads.sourceforge.net/#!/s3tools/s3cmd-1.0.1.tar.gz
Server: AmazonS3
Age: 146
X-Cache: Hit from cloudfront
Via: 1.1 673a0b042f2d20e956868556adc5417e.cloudfront.net (CloudFront)
X-Amz-Cf-Id: F4CUqTUAJai61bOhYmXbVLcp5UB1wTEiZUiELVx1zoOh-duWXPUCZw==

HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: 635
Connection: keep-alive
Date: Tue, 10 Feb 2015 21:19:55 GMT
x-amz-meta-s3cmd-attrs: uid:0/gname:root/uname:root/gid:0/mode:33188/mtime:1421099097/atime:1421099097/md5:b2e23b153fad3034ec48336f81eefd33/ctime:1421099097
Cache-Control: private, max-age=900
Last-Modified: Tue, 10 Feb 2015 05:30:02 GMT
ETag: "b2e23b153fad3034ec48336f81eefd33"
Server: AmazonS3
X-Cache: RefreshHit from cloudfront
Via: 1.1 673a0b042f2d20e956868556adc5417e.cloudfront.net (CloudFront)
X-Amz-Cf-Id: 32mRZ0LxDjiRqsMg-9nEsjhbLK7q-mhGElrFZa5lkuAmdMJbTSzSkA==

<html><head>
<title>Testing</title>
<!-- <script src="/js/jquery.com/jquery-1.11.0.min.js"></script> -->
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="//sourceforge.net/js/mirrors.js"></script>
<script src="/js/sf.js"></script>
<script>
var DR_loc = DR_parse_hash_url();
if (DR_loc) {
    DR_sf_main(DR_loc);
} else {
    window.location.href = 'http://sourceforge.net/home.html';
}
</script>
</head><body>
<noscript>
We're sorry -- the Sourceforge site is currently in Disaster Recovery mode, and currently requires
the use of javascript to function.  Please check back later.
</noscript>
</body></html>

comment:4 Changed 6 years ago by ryandesign (Ryan Schmidt)

Resolution: invalid
Status: newclosed

SourceForge claims on Twitter to be back online.

Note: See TracTickets for help on using tickets.