Opened 8 years ago

Last modified 8 years ago

#52308 closed defect

gmp checksum mismatch — at Version 1

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

Description (last modified by larryv (Lawrence Velázquez))

version:1
:debug:main gmp has no conflicts
:debug:main Executing org.macports.main (gmp)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 20
:debug:main euid changed to: 502
:debug:main Skipping completed org.macports.archivefetch (gmp)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (gmp)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Wed Sep 21 21:25:00 EDT 2016
:notice:checksum --->  Verifying checksums for gmp
:debug:checksum Executing org.macports.checksum (gmp)
:info:checksum --->  Checksumming gmp-6.1.1.tar.bz2
:debug:checksum Calculated (rmd160) is e4f1e1f630d0bc6e23e531129212524a6865f02b
:error:checksum Checksum (rmd160) mismatch for gmp-6.1.1.tar.bz2
:info:checksum Portfile checksum: gmp-6.1.1.tar.bz2 rmd160 833b1dea9d3ce993e63cb3c629ab792e1e7197bb
:info:checksum Distfile checksum: gmp-6.1.1.tar.bz2 rmd160 e4f1e1f630d0bc6e23e531129212524a6865f02b
:debug:checksum Calculated (sha256) is aa03dc59bdca72631d2301e4297cfa030bd31b907dc138e7b973d12311c90a22
:error:checksum Checksum (sha256) mismatch for gmp-6.1.1.tar.bz2
:info:checksum Portfile checksum: gmp-6.1.1.tar.bz2 sha256 a8109865f2893f1373b0a8ed5ff7429de8db696fc451b1036bd7bdf95bbeffd6
:info:checksum Distfile checksum: gmp-6.1.1.tar.bz2 sha256 aa03dc59bdca72631d2301e4297cfa030bd31b907dc138e7b973d12311c90a22
:info:checksum The correct checksum line may be:
:info:checksum checksums           rmd160  e4f1e1f630d0bc6e23e531129212524a6865f02b \
                    sha256  aa03dc59bdca72631d2301e4297cfa030bd31b907dc138e7b973d12311c90a22
:error:checksum org.macports.checksum for port gmp returned: Unable to verify file checksums
:debug:checksum Error code: NONE
:debug:checksum Backtrace: Unable to verify file checksums
    while executing
"portchecksum::checksum_main org.macports.checksum"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:checksum Warning: targets not executed for gmp: org.macports.activate org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:checksum Please see the log file for port gmp for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.log

Change History (1)

comment:1 Changed 8 years ago by larryv (Lawrence Velázquez)

Cc: mattoxj@… removed
Description: modified (diff)
Keywords: gmp checksum mismatch removed
Milestone: MacPorts 2.3.5
Version: 2.3.4

I just downloaded the tarball directly from upstream, and the SHA256 digest matches that from the portfile.

% openssl dgst -sha256 <(curl -s https://gmplib.org/download/gmp/gmp-6.1.1.tar.bz2)
SHA256(/dev/fd/11)= a8109865f2893f1373b0a8ed5ff7429de8db696fc451b1036bd7bdf95bbeffd6

Can you run sudo port clean --all gmp to remove your local distfiles, and then try installing it again?

Note: See TracTickets for help on using tickets.