Opened 8 years ago
Closed 8 years ago
#52308 closed defect (worksforme)
gmp checksum mismatch
Reported by: | mattoxj@… | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
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 (6)
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 |
comment:2 follow-up: 3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
And if it fails again, let us know what server the bad file was downloaded from.
comment:3 Changed 8 years ago by mattoxj@…
Replying to ryandesign@…:
And if it fails again, let us know what server the bad file was downloaded from.
└┤1├% sudo port -v clean --all gmp Warning: No default port source specified in /opt/local/etc/macports/sources.conf, using last source as default Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'. ---> Cleaning gmp ---> Removing distfiles for gmp ---> Removing temporary archives for gmp ---> Removing work directory for gmp
└% sudo port -v upgrade outdated Warning: No default port source specified in /opt/local/etc/macports/sources.conf, using last source as default Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'. ---> Fetching distfiles for gmp ---> gmp-6.1.1.tar.bz2 doesn't seem to exist in /opt/local/var/macports/distfiles/gmp ---> Attempting to fetch gmp-6.1.1.tar.bz2 from http://www.mirrorservice.org/sites/ftp.gnu.org/gnu/gmp
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 43 0 43 0 0 434 0 --:--:-- --:--:-- --:--:-- 438 ---> Verifying checksums for gmp ---> Checksumming gmp-6.1.1.tar.bz2 Error: Checksum (rmd160) mismatch for gmp-6.1.1.tar.bz2 Portfile checksum: gmp-6.1.1.tar.bz2 rmd160 833b1dea9d3ce993e63cb3c629ab792e1e7197bb Distfile checksum: gmp-6.1.1.tar.bz2 rmd160 e4f1e1f630d0bc6e23e531129212524a6865f02b Error: Checksum (sha256) mismatch for gmp-6.1.1.tar.bz2 Portfile checksum: gmp-6.1.1.tar.bz2 sha256 a8109865f2893f1373b0a8ed5ff7429de8db696fc451b1036bd7bdf95bbeffd6 Distfile checksum: gmp-6.1.1.tar.bz2 sha256 aa03dc59bdca72631d2301e4297cfa030bd31b907dc138e7b973d12311c90a22 The correct checksum line may be: checksums rmd160 e4f1e1f630d0bc6e23e531129212524a6865f02b \
sha256 aa03dc59bdca72631d2301e4297cfa030bd31b907dc138e7b973d12311c90a22
Error: org.macports.checksum for port gmp returned: Unable to verify file checksums
in my */macports/sources.conf file: rsync://rsync.macports.org/release/tarballs/ports.tar [default] rsync://sea.us.rsync.macports.org/release/tarballs/ports.tar
comment:4 Changed 8 years ago by mattoxj@…
Not sure what was up with the checksum messages but I was finally able to resolve this by going to {prefix}/etc/macports/macports.conf
And explicitly adding an rsync_server and rsync_dir directives. I have never had to do this in the past.
rsync_server sea.us.rsync.macports.org rsync_dir release/tarballs/base.tar
So that allowed me to download the tarbell and it is building now. Thanks for the attention to my problem. :)
comment:5 Changed 8 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to mcalhoun@… |
---|
comment:6 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Since this does not seem to be a problem with gmp, and a workaround has been found, I will close this ticket.
I just downloaded the tarball directly from upstream, and the SHA256 digest matches that from the portfile.
Can you run
sudo port clean --all gmp
to remove your local distfiles, and then try installing it again?