Opened 16 years ago

Closed 15 years ago

#16832 closed defect (worksforme)

postgresql83[-server, -doc] Unable to verify file checksums

Reported by: ben@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: jyrkiwahlstedt
Port: postgresql83, postgresql83-server, postgresql83-doc

Description

All postgresql83* ports fail with the following:

…
--->  Verifying checksum(s) for postgresql83
Error: Checksum (md5) mismatch for postgresql-8.3.4.tar.bz2
Error: Checksum (sha1) mismatch for postgresql-8.3.4.tar.bz2
Error: Checksum (rmd160) mismatch for postgresql-8.3.4.tar.bz2
Error: Checksum (md5) mismatch for postgresql-8.3.4.tar.bz2
Error: Checksum (sha1) mismatch for postgresql-8.3.4.tar.bz2
Error: Checksum (rmd160) mismatch for postgresql-8.3.4.tar.bz2
Error: Target org.macports.checksum returned: Unable to verify file checksums
Error: The following dependencies failed to build: postgresql83
Error: Status 1 encountered during processing.

I have done a sudo port sync and sudo port clean --all <portname> followed by a port install <portname> to try and resolve the issue, but with no success.

I assume this has something to do with the recent release of PostgreSQL 8.3.4.

Change History (5)

comment:1 Changed 16 years ago by blb@…

Cc: jwa@… added; mww jwa removed
Owner: changed from macports-tickets@… to mww@…

From which server did it download? I just grabbed it from ftp3.de.postgresql.org and the checksum was okay.

comment:2 Changed 16 years ago by dweber@…

I have a custom Portfile for postgresql83[-*] in ~/ports/databases/, with version 8.3.4 and my checksums are:

checksums       md5 c339b9d3c0c4add64c7a76640fc93744 \
                sha1 3e6fd905fd3fe9698b50e5376ed15b7d6e3bb602 \
                rmd160 13cb20672b0dc6fe52346d7c906a0842e0c872ac

Out of curiosity, what happens with livecheck? This port uses livecheck, and my sandbox version has:

livecheck.check regex
livecheck.url   ${homepage}/versions.rss
livecheck.regex (8.3.\[0-9\]+)

So if the port version is 8.3.3 and the current release is 8.3.4, then livecheck will try to pickup the latest download, but will it automatically ignore or reset the checksums in the Portfile?

comment:3 Changed 16 years ago by ben@…

I just tried again and postgresql83 and postgresql83-server installed just fine. However, postgresql83-doc still has the checksum issue.

I have to admit that I am no MacPorts expert, so I am unsure as to how I can download from a different server or how to use livecheck. But below is my terminal output regarding postgresql83-doc.

Fondo:~ benspaulding$ sudo port
Password:
MacPorts 1.600
Entering interactive mode... ("help" for help, "quit" to quit)
[Users/benspaulding] > clean --all postgresql83-doc
--->  Cleaning postgresql83-doc
Warning: Distfiles directory '/opt/local/var/macports/distfiles/postgresql83' may contain distfiles needed
for other ports, use the -f flag to force removal
[Users/benspaulding] > install postgresql83-doc
--->  Fetching postgresql83-doc
--->  Attempting to fetch postgresql-8.3.4.tar.bz2 from http://ftp8.us.postgresql.org/postgresql/source/v8.3.4
--->  Verifying checksum(s) for postgresql83-doc
Error: Checksum (md5) mismatch for postgresql-8.3.4.tar.bz2
Error: Checksum (sha1) mismatch for postgresql-8.3.4.tar.bz2
Error: Checksum (rmd160) mismatch for postgresql-8.3.4.tar.bz2
Error: Target org.macports.checksum returned: Unable to verify file checksums
Error: Status 1 encountered during processing.
[Users/benspaulding] > livecheck postgresql83-doc
[Users/benspaulding] > exit
Goodbye

Did I use livecheck correctly? If not, please tell me how and I will try it.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Port: removed
Resolution: worksforme
Status: newclosed

The postgresql83* ports are at version 8.3.7 now and the checksums look fine to me.

Note: See TracTickets for help on using tickets.