Opened 15 years ago

Closed 15 years ago

#21870 closed defect (fixed)

mongodb-1.0.0 checksum failure

Reported by: carson@… Owned by: blb@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: mongodb

Description

$ sudo port selfupgrade [...]

$ sudo port sync
$ sudo port install mongodb
--->  Computing dependencies for mongodb
--->  Verifying checksum(s) for mongodb
Error: Checksum (md5) mismatch for mongodb-1.0.0.tar.gz
Error: Checksum (sha1) mismatch for mongodb-1.0.0.tar.gz
Error: Checksum (rmd160) mismatch for mongodb-1.0.0.tar.gz
Error: Target org.macports.checksum returned: Unable to verify file checksums
Error: Status 1 encountered during processing.

Change History (6)

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

Keywords: mongodb checksum removed
Owner: changed from macports-tickets@… to blb@…

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

The checksums seem fine here. Have you followed the suggestions in the FAQ? Which mirror did you get the file from?

comment:3 in reply to:  2 Changed 15 years ago by carson@…

Sorry, I should have shown a more complete log:

$ sudo port clean --all mongodb
--->  Cleaning mongodb
$ sudo port install mongodb
--->  Computing dependencies for mongodb
--->  Fetching mongodb
--->  Attempting to fetch mongodb-1.0.0.tar.gz from http://github.com/mongodb/mongo/tarball/r1.0.0
--->  Verifying checksum(s) for mongodb
Error: Checksum (md5) mismatch for mongodb-1.0.0.tar.gz
Error: Checksum (sha1) mismatch for mongodb-1.0.0.tar.gz
Error: Checksum (rmd160) mismatch for mongodb-1.0.0.tar.gz
Error: Target org.macports.checksum returned: Unable to verify file checksums
Error: Status 1 encountered during processing.

My macports/sources.conf says:

rsync://rsync.macports.org/release/ports/ [default]

Sorry, I don't know how to debug this further.

comment:4 Changed 15 years ago by tobypeterson

github tarball changed its version hash, but the contents look the same. github fails

comment:5 Changed 15 years ago by carson@…

so... what's the next step? someone needs to update the portfile? that may not be the end of the road. i get the following when using checksum.skip=yes

$ sudo port install mongodb checksum.skip=yes
--->  Computing dependencies for mongodb
--->  Fetching mongodb
--->  Verifying checksum(s) for mongodb
--->  Extracting mongodb
--->  Applying patches to mongodb
Error: Target org.macports.patch returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mongodb/work/mongodb-mongo-eefb81258e5e37f9cd9c43edef16c774830983ac" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/mongodb/files/patch-SConstruct.diff'" returned error 1
Command output: sh: line 0: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mongodb/work/mongodb-mongo-eefb81258e5e37f9cd9c43edef16c774830983ac: No such file or directory

Error: Status 1 encountered during processing.

comment:6 Changed 15 years ago by blb@…

Resolution: fixed
Status: newclosed

Fixed in r58892.

Note: See TracTickets for help on using tickets.