Opened 19 years ago

Closed 19 years ago

#3222 closed defect (worksforme)

checksum errors on MenuMeters: port doesn't seem to find the distfile

Reported by: paulbeard@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: waqar@…
Port:

Description

---> Verifying checksum(s) for MenuMeters ---> Checksumming MenuMeters.tar.gz Error: Checksum (md5) mismatch for MenuMeters.tar.gz Portfile checksum: MenuMeters.tar.gz md5 2f1191bb224c2138c12181d159171ddd Distfile checksum: MenuMeters.tar.gz md5 fdf9b6f60cf0c9a72a21ce0feb9514e8 Error: Checksum (sha1) mismatch for MenuMeters.tar.gz Portfile checksum: MenuMeters.tar.gz sha1 080f3f251997d56395d959f3f2bb2f91ee188056 Distfile checksum: MenuMeters.tar.gz sha1 e26c559dfb2ec96ce2e79d3d7cf18e8a68dba460 Error: Target com.apple.checksum returned: Unable to verify file checksums Warning: the following items did not execute (for MenuMeters): com.apple.destroot com.apple.extract com.apple.checksum com.apple.patch com.apple.configure com.apple.build Error: Unable to upgrade port: 1

If I move the distfile into a MenuMeters directory w/in /opt/local/var/db/dports/distfiles, it works fine.

Change History (3)

comment:1 Changed 19 years ago by trog24 (Frank J. R. Hanstick)

I get the same problem with ghostscript-8.14.tar.gz when trying to install blender, namely:

---> Verifying checksum(s) for ghostscript Error: Target com.apple.checksum returned: Could not open file: /opt/local/var/db/dports/distfiles/ ghostscript/ghostscript-8.14.tar.gz Error: The following dependencies failed to build: ftgl doxygen ghostscript graphviz tk tcl teTeX texi2html texinfo freetype python23

However, there is something I noticed about the sequencing prior to this error which may be of some help. On the first attempt to install blender, there was a successful load of ghostscript-8.14.tar.gz; but, all subsequent attempts at installing began at the checksum verification if ghostscript-8.14.tar.gz, even after I removed the ghostscript distfile with the hopes of an attempted reload. I then remade the distfile and manually downloaded only to encounter another checksum error when trying to install ghostscript via blender or directly. I did a self-update to darwinports to ensure the most current version and a -d self-updated to ensure the most current source listing. The only change afterwards was that ghostscript-8.51.tar.gz got the checksum error rather than ghostscript-8.14.tar.gz. What is puzzling is that there was no attempt to fetch the later version of ghostscript prior to checksum verification.

comment:2 Changed 19 years ago by mwdiers@…

You should not remove distfiles directly, or else this problem will occur, because darwinports keeps track of the current state of a port - namely, whether or not distfiles have been downloaded. If the state of a port says the distfile exists, but you have deleted it, this error will occur.

To correct: port clean --all ghostscript

To just remove a distfile to force it to refetch:

port clean --dist ghostscript

comment:3 Changed 19 years ago by yeled@…

Resolution: worksforme
Status: newclosed

Looks like this was updated.

Note: See TracTickets for help on using tickets.