Opened 13 years ago
Closed 13 years ago
#30348 closed defect (worksforme)
gettext: checksum mismatch.
Reported by: | raul.cajias@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.0 |
Keywords: | checksum | Cc: | |
Port: | gettext |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
My system: macbook pro. 64bit Intel. Running 10.6.8 macport version 2.0
Attempting to install gettext @0.18.1.1 but there seems the checksums do not match.
I've done selfupdate/clean/install of port and this does not resolve the issue.
My logs:
bash-3.2$ sudo port -d install gettext DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/gettext DEBUG: OS darwin/10.8.0 (Mac OS X 10.6) arch i386 DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/archcheck-1.0.tcl DEBUG: universal variant already exists, so not adding the default one DEBUG: changing euid/egid - current euid: 0 - current egid: 0 DEBUG: egid changed to: 502 DEBUG: euid changed to: 502 DEBUG: Starting logging for gettext DEBUG: epoch: in tree: 0 installed: 0 DEBUG: libiconv 1.13.1_0 exists in the ports tree DEBUG: libiconv 1.13.1_0 is the latest installed DEBUG: libiconv 1.13.1_0 +universal is active DEBUG: Merging existing variants '+universal' into variants DEBUG: new fully merged portvariants: universal + DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libiconv DEBUG: OS darwin/10.8.0 (Mac OS X 10.6) arch i386 DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: Executing variant universal provides universal DEBUG: No need to upgrade! libiconv 1.13.1_0 >= libiconv 1.13.1_0 DEBUG: epoch: in tree: 0 installed: 0 DEBUG: ncurses 5.9_0 exists in the ports tree DEBUG: ncurses 5.9_0 is the latest installed DEBUG: ncurses 5.9_0 +universal is active DEBUG: Merging existing variants '+universal' into variants DEBUG: new fully merged portvariants: universal + DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/ncurses DEBUG: OS darwin/10.8.0 (Mac OS X 10.6) arch i386 DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf DEBUG: Executing variant universal provides universal DEBUG: No need to upgrade! ncurses 5.9_0 >= ncurses 5.9_0 DEBUG: epoch: in tree: 0 installed: 0 DEBUG: expat 2.0.1_1 exists in the ports tree DEBUG: expat 2.0.1_1 is the latest installed DEBUG: expat 2.0.1_1 +universal is active DEBUG: Merging existing variants '+universal' into variants DEBUG: new fully merged portvariants: universal + DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/expat DEBUG: OS darwin/10.8.0 (Mac OS X 10.6) arch i386 DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf DEBUG: Executing variant universal provides universal DEBUG: No need to upgrade! expat 2.0.1_1 >= expat 2.0.1_1 ---> Computing dependencies for gettext DEBUG: Searching for dependency: libiconv DEBUG: Found Dependency: receipt exists for libiconv DEBUG: Searching for dependency: ncurses DEBUG: Found Dependency: receipt exists for ncurses DEBUG: Searching for dependency: expat DEBUG: Found Dependency: receipt exists for expat DEBUG: Executing org.macports.main (gettext) DEBUG: changing euid/egid - current euid: 0 - current egid: 0 DEBUG: egid changed to: 502 DEBUG: euid changed to: 502 DEBUG: Skipping completed org.macports.archivefetch (gettext) DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: Skipping completed org.macports.fetch (gettext) DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: checksum phase started at Sun Jul 24 23:29:22 CEST 2011 ---> Verifying checksum(s) for gettext DEBUG: Executing org.macports.checksum (gettext) ---> Checksumming gettext-0.18.1.1.tar.gz Error: Checksum (md5) mismatch for gettext-0.18.1.1.tar.gz Portfile checksum: gettext-0.18.1.1.tar.gz md5 3dd55b952826d2b32f51308f2f91aa89 Distfile checksum: gettext-0.18.1.1.tar.gz md5 b0561f2912196e1b076a2201daee5e0e Error: Checksum (sha1) mismatch for gettext-0.18.1.1.tar.gz Portfile checksum: gettext-0.18.1.1.tar.gz sha1 5009deb02f67fc3c59c8ce6b82408d1d35d4e38f Distfile checksum: gettext-0.18.1.1.tar.gz sha1 2c073d4780a477d13cde4eb6710f935193db74fc Error: Checksum (rmd160) mismatch for gettext-0.18.1.1.tar.gz Portfile checksum: gettext-0.18.1.1.tar.gz rmd160 0ca0b6bf0219440404a86f0c16cbac3d1a2ecd37 Distfile checksum: gettext-0.18.1.1.tar.gz rmd160 0632d7aebba563598d9d58e97cc56b86440bd6e1 The correct checksum line may be: checksums md5 b0561f2912196e1b076a2201daee5e0e \ sha1 2c073d4780a477d13cde4eb6710f935193db74fc \ rmd160 0632d7aebba563598d9d58e97cc56b86440bd6e1 Error: Target org.macports.checksum returned: Unable to verify file checksums DEBUG: Backtrace: Unable to verify file checksums while executing "$procedure $targetname" Warning: the following items did not execute (for gettext): org.macports.activate org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install Log for gettext is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> bash-3.2$
Change History (6)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
As it says in the FAQ, we'll need you to tell us what server this bad distfile came from. I have just now checked all servers providing this file and am unable to locate a file that is not the correct one. Please clean (the distfile, not just the work area) and try again.
sudo port clean --all gettext sudo port install gettext
comment:3 Changed 13 years ago by raul.cajias@…
Thanks for your quick response.
The server is ftp://ftp.lip6.fr/pub/gnu/gettext. I followed your sugestions, but still got the mismatch error.
Thanks again!
bash-3.2$ sudo port clean --all gettext ---> Cleaning gettext bash-3.2$ sudo port install gettext ---> Computing dependencies for gettext ---> Fetching archive for gettext ---> Fetching gettext ---> Attempting to fetch gettext-0.18.1.1.tar.gz from ftp://ftp.lip6.fr/pub/gnu/gettext ---> Verifying checksum(s) for gettext Error: Checksum (md5) mismatch for gettext-0.18.1.1.tar.gz Error: Checksum (sha1) mismatch for gettext-0.18.1.1.tar.gz Error: Checksum (rmd160) mismatch for gettext-0.18.1.1.tar.gz Error: Target org.macports.checksum returned: Unable to verify file checksums Log for gettext is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
I am able to download the file successfully from ftp://ftp.lip6.fr/pub/gnu/gettext and its checksums match those in the Portfile; not sure why it's not working for you. Check the distfile that got downloaded (/opt/local/var/macports/distfiles/gettext/gettext-0.18.1.1.tar.gz)—how big is it? It should be 15139737 bytes. If it's less, it's incomplete; try again. Maybe try downloading it manually from another server.
comment:5 Changed 13 years ago by raul.cajias@…
The file was fully downloaded but for some reason the checksum failed. However I reinstalled macports and was able to successfully move on. Thank you so much for your help and quick response. I really apreciate it.
comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Then I'm baffled what the problem was or how reinstalling MacPorts resolved it, but I'm glad things are working for you now.
When filing bug reports please remember to use WikiFormatting and Cc the port's maintainer.