Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#14649 closed defect (invalid)

gtk2 checksum mismatch on gtk+-2.12.8

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

Description

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

Change History (5)

comment:2 Changed 17 years ago by paulbeard@…

If you say so.

kitchen:~ root# port clean gtk2
--->  Cleaning gtk2
kitchen:~ root# port destroot gtk2
--->  Fetching gtk2
--->  Verifying checksum(s) for gtk2
Error: Checksum (md5) mismatch for gtk+-2.12.8.tar.bz2
Error: Checksum (sha1) mismatch for gtk+-2.12.8.tar.bz2
Error: Checksum (rmd160) mismatch for gtk+-2.12.8.tar.bz2
Error: Target org.macports.checksum returned: Unable to verify file checksums
Error: Status 1 encountered during processing.

checksums       md5 1e0d7db0bfa210881743e1d42ee91a24 \
                sha1 48e3efd396c33682538e16fa09ee72853dee563b \
                rmd160 e1ae63c6e0230e6e7e52d67836028f9b1351275e

MD5 (/opt/local/var/macports/distfiles/gtk2/gtk+-2.12.8.tar.bz2) = 2196505679f72e74d03059c9b76b489

If the distfile is somehow truncated, shouldn't port make an attempt to re-fetch it?

comment:3 Changed 17 years ago by paulbeard@…

So turning on debug gives me this:

DEBUG: Executing org.macports.checksum (gtk2)
--->  Checksumming gtk+-2.12.8.tar.bz2
Error: Target org.macports.checksum returned: Could not open file: /opt/local/var/macports/distfiles/gtk2/gtk+-2.12.8.tar.bz2
Warning: the following items did not execute (for gtk2): org.macports.destroot org.macports.extract org.macports.checksum org.macports.patch org.macports.configure org.macports.build
DEBUG: Registry error: xorg not registered as installed.
    invoked from within
"registry_installed ${portname}"
    invoked from within
"$workername eval registry_installed \${portname}"
Error: Unable to upgrade port: 1

I need xorg installed? Hmmm . . .

# port build xorg
--->  Fetching xorg
Error: Target org.macports.fetch returned: 
        Hi, my name is xorg, I am broken for the time being, so please do not file a bug for me.
        Instead, you can use Apple's X11 that is provided on the OS X install CDs ...
            and also install the X11 SDK from Xcode Tools because they are both required.
        There is also a working XFree86 port and ongoing development to port X11R7 to OS X.

I ended up copying the distfile from another system and things seem to be OK.

comment:4 Changed 17 years ago by gui-dos (Guido Soranzio)

To re-fetch the distfiles, you have to clean a port by passing "--dist" or "--all":

port clean --dist gtk2

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.