Opened 13 years ago

Closed 6 years ago

#30288 closed defect (worksforme)

rb-activesupport @2.2.2 checksum error

Reported by: neukomp@… Owned by:
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: rb-activesupport

Description (last modified by jmroot (Joshua Root))

I've tried to install rb-rails. rb-activesupport is a dependency. The error mentions that there is a checksum mismatch.

This looks to be similar to 27219.

I did a clean just to be sure before trying again but got the same error.

I hope the log contains sufficient information.

Here is the log:

port -v install rb-rails

Port command started with PID 27461

--->  Computing dependencies for rb-rails.
.
.
.
.
.
..
..
..
.

--->  Dependencies to be installed: rb-actionmailer rb-actionpack rb-activesupport rb-activerecord rb-activeresource rb-rake rb-sqlite3

--->  Verifying checksum(s) for rb-activesupport

--->  Checksumming activesupport-2.2.2.gem

Error: Checksum (md5) mismatch for activesupport-2.2.2.gem
Portfile checksum: activesupport-2.2.2.gem md5 2251cb08f36e40bb48ea3bb805323cc7

Distfile checksum: activesupport-2.2.2.gem md5 6873b4db8915630cbabf6238e8b60ddc

Error: Checksum (sha1) mismatch for activesupport-2.2.2.gem

Portfile checksum: activesupport-2.2.2.gem sha1 4fc82b0c7f8f38879c593a722cdd788f876a1868

Distfile checksum: activesupport-2.2.2.gem sha1 50a8c63c396a162a14faf374ac5a7718e87733c1

Error: Checksum (rmd160) mismatch for activesupport-2
.2.2.gem

Portfile checksum: activesupport-2.2.2.gem rmd160 6064300c37ac2a542d87019fd485b5877c379b2e

Distfile checksum: activesupport-2.2.2.gem rmd160 93136e33a41a593754916317e4464f5566b85859

The correct checksum line may be:
checksums           md5     6873b4db8915630cbabf6238e8b60ddc \
                    sha1    50a8c63c396a162a14faf374ac5a7718e87733c1 \
                    rmd160  93136e33a41a593754916317e4464f5566b85859
***

The non-matching file appears to be HTML. See this page for possible reasons for the checksum mismatch:

<http://trac.macports.org/wiki/MisbehavingServers>
***

Error: Target org.macports.checksum returned: Unable to verify file checksums

Warning: the following items did not execute (for rb-activesupport): org.macports.activate org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: Failed to install rb-activesupport

Log for rb-activesupport is at: /opt/local/var/macports/logs/_opt_local
_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-activesupport/main.log

Error: The following dependencies were not installed: rb-actionmailer rb-actionpack rb-activesupport rb-activerecord rb-activeresource rb-rake rb-sqlite3

Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (8)

comment:1 Changed 13 years ago by neukomp@…

Oh, since I had rb-gem installed, I tried /opt/local/bin/gem install rails

It looks like it was able to install OK.

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: changed from macports-tickets@… to rcavanaugh@…

Please remember to cc the maintainer.

Have you read the MisbehavingServers page referred to in the output? What does the HTML in the file say?

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Summary: rb-rails rb-activesupport checksum errorrb-activesupport @2.2.2 checksum error

comment:4 in reply to:  3 ; Changed 13 years ago by neukomp@…

Replying to jmr@…:

I've read the MisbehavingServers page before making the first post. Unfortunately, I didn't quite understand what I was to check. Since Macports did download a file and then ran sha1, md5 and rmd160 on the download, I thought that this was truly a problem with a file not being correct/checksum.

Sorry but I don't know how to do: "What does the HTML in the file say?" Which file should I check?

Thanks and apologies for the newbie answers.

comment:5 in reply to:  4 Changed 12 years ago by jmroot (Joshua Root)

Replying to neukomp@…:

Replying to jmr@…:

I've read the MisbehavingServers page before making the first post. Unfortunately, I didn't quite understand what I was to check. Since Macports did download a file and then ran sha1, md5 and rmd160 on the download, I thought that this was truly a problem with a file not being correct/checksum.

Yes, it's not the correct file, almost certainly for one of the reasons listed on the wiki page. If you show us a complete log. i.e. one generated after sudo port clean --dist rb-activesupport , then we may be able to mitigate the problem or at least give further advice.

Sorry but I don't know how to do: "What does the HTML in the file say?" Which file should I check?

The downloaded file whose checksums don't match, i.e. activesupport-2.2.2.gem. See port distfiles rb-activesupport for the full path.

comment:6 Changed 12 years ago by jmroot (Joshua Root)

BTW, if the maintainer doesn't respond to a ticket like this, you can ask for help on the macports-users mailing list or on IRC.

comment:7 Changed 6 years ago by kurthindenburg (Kurt Hindenburg)

Owner: rcavanaugh@… deleted
Status: newassigned

comment:8 Changed 6 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: assignedclosed

Closing in the absence of further information.

Note: See TracTickets for help on using tickets.