Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #12552 (closed defect: fixed)

Opened 15 months ago

Last modified 15 months ago

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

Reported by: forumrwa@… Owned by: rhwood@…
Priority: Normal Milestone: Port Bugs
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

Changed 15 months ago by rhwood@…

  • cc forumrwa@…, rhwood@… added
  • status changed from new to assigned
  • milestone set to Port Bugs

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.

Changed 15 months 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?

Changed 15 months ago by rhwood@…

  • status changed from assigned to closed
  • resolution set to fixed

Any number of network hiccups could have caused that.

Note: See TracTickets for help on using tickets.