Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#12552 closed defect (fixed)

[gtk2] build fails with checksum error (OS 10.5)

Reported by: forumrwa@… Owned by: rhwood@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: gtk2, checksum, error, leopard, 10.5, 9A499 Cc: forumrwa@…, rhwood@…
Port:

Description

Summary

Installing GTK2+ on 10.5 (9A499) fails with checksum errors

Symptoms

1.5.0

installing sudo port install gtk2 produces the following error message.

--->  Fetching gtk2
--->  Verifying checksum(s) for gtk2
Error: Checksum (md5) mismatch for gtk+-2.10.13.tar.bz2
Error: Checksum (sha1) mismatch for gtk+-2.10.13.tar.bz2
Error: Checksum (rmd160) mismatch for gtk+-2.10.13.tar.bz2
Error: Target org.macports.checksum returned: Unable to verify file checksums

1.5.2

After upgrading the above installation with sudo self update sudo port -dv checksum gtk2 produces the following output:

DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/gtk2
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/gtk2
DEBUG: Requested variant darwin is not provided by port gtk2.
DEBUG: Requested variant i386 is not provided by port gtk2.
DEBUG: Requested variant macosx is not provided by port gtk2.
DEBUG: Skipping completed org.macports.main (gtk2)
DEBUG: Skipping completed org.macports.fetch (gtk2)
--->  Verifying checksum(s) for gtk2
DEBUG: Executing org.macports.checksum (gtk2)
--->  Checksumming gtk+-2.10.14.tar.bz2
Error: Target org.macports.checksum returned: Could not open file: /opt/local/var/macports/distfiles/gtk2/gtk+-2.10.14.tar.bz2
Warning: the following items did not execute (for gtk2): org.macports.checksum
Error: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 13 years ago by rhwood@…

Cc: forumrwa@… rhwood@… added
Milestone: Port Bugs
Status: newassigned

It seems that the download went bad somehow. Try this:

sudo port clean --all gtk2 ; sudo port -dv checksum gtk2

and report the result here.

Thanks.

comment:2 Changed 13 years ago by forumrwa@…

Download issue is resolved here:

DEBUG: Correct (md5) checksum for gtk+-2.10.14.tar.bz2 DEBUG: Correct (sha1) checksum for gtk+-2.10.14.tar.bz2 DEBUG: Correct (rmd160) checksum for gtk+-2.10.14.tar.bz2

Any ideas how it could have been downloaded incorrectly?

comment:3 Changed 13 years ago by rhwood@…

Resolution: fixed
Status: assignedclosed

Any number of network hiccups could have caused that.

comment:4 Changed 11 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.