Opened 12 years ago
Closed 12 years ago
#36536 closed defect (fixed)
groonga: checksum mismatch
Reported by: | beta+trac.macports.org@… | Owned by: | humem (humem) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | kou@… | |
Port: | groonga |
Description
Installing groonga failed because of invalid checksum. Commands what I did and errors are hereunder. Are there anything else I can do?
h2. commands and error message
$ sudo port selfupdate [snip] $ sudo port clean --dist groonga ---> Cleaning groonga $ sudo port install groonga ---> Computing dependencies for groonga ---> Fetching archive for groonga ---> Attempting to fetch groonga-2.0.7_0.darwin_9.i386.tbz2 from http://packages.macports.org/groonga ---> Attempting to fetch groonga-2.0.7_0.darwin_9.i386.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/groonga ---> Attempting to fetch groonga-2.0.7_0.darwin_9.i386.tbz2 from http://lil.fr.packages.macports.org/groonga ---> Fetching distfiles for groonga ---> Verifying checksum(s) for groonga Error: Checksum (rmd160) mismatch for groonga-2.0.7.tar.gz Error: Checksum (sha256) mismatch for groonga-2.0.7.tar.gz Error: org.macports.checksum for port groonga returned: Unable to verify file checksums Please see the log file for port groonga for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_groonga/groonga/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port groonga failed
h2. main.log
[snip] :info:checksum ---> Checksumming groonga-2.0.7.tar.gz :error:checksum Checksum (rmd160) mismatch for groonga-2.0.7.tar.gz :info:checksum Portfile checksum: groonga-2.0.7.tar.gz rmd160 87426ffd433dcf5d764427b5ed521e1d20d1a36c :info:checksum Distfile checksum: groonga-2.0.7.tar.gz rmd160 c16e095c3a2373230a760c71ad6d9c5119771416 :error:checksum Checksum (sha256) mismatch for groonga-2.0.7.tar.gz :info:checksum Portfile checksum: groonga-2.0.7.tar.gz sha256 9699628e8980c806b263068dcff4d401723e966408567100cf63a1d448e40da6 :info:checksum Distfile checksum: groonga-2.0.7.tar.gz sha256 2e5facd3afe7c4bf39ea3d5a4177fd7e735922c0ce3fc718395d5e2e92c630ec :info:checksum The correct checksum line may be: :info:checksum checksums rmd160 c16e095c3a2373230a760c71ad6d9c5119771416 \ sha256 2e5facd3afe7c4bf39ea3d5a4177fd7e735922c0ce3fc718395d5e2e92c630ec :error:checksum org.macports.checksum for port groonga returned: Unable to verify file checksums :debug:checksum Error code: NONE :debug:checksum Backtrace: Unable to verify file checksums [snip]
Attachments (1)
Change History (7)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | kou@… added |
---|---|
Keywords: | groonga Checksum removed |
Owner: | changed from macports-tickets@… to hum@… |
Summary: | [groonga-2.0.7] Error: org.macports.checksum for port groonga returned: Unable to verify file checksums → groonga: checksum mismatch |
comment:2 follow-up: 6 Changed 12 years ago by hayashi@…
comment:3 Changed 12 years ago by hayashi@…
You can fix this issue by follwing steps as a workaround:
- Create directory for groonga and change directory.
sudo mkdir -p /opt/local/var/macports/distfiles/groonga cd /opt/local/var/macports/distfiles/groonga
- Download groonga-2.0.7.tar.gz
$ wget http://packages.groonga.org/source/groonga/groonga-2.0.7.tar.gz
- Execute port command.
$ sudo port install groonga
Changed 12 years ago by hayashi@…
Attachment: | Portfile-2.0.7-checksum.diff added |
---|
comment:4 Changed 12 years ago by hayashi@…
I have attached a patch which corrects checksum in Portfile for grooga 2.0.7
comment:5 Changed 12 years ago by hayashi@…
Note: the reason of re-packaged groonga 2.0.7 is contained version file was not updated.
comment:6 Changed 12 years ago by humem (humem)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to hayashi@…:
The problem is that groonga-2.0.7.tar.gz package had been re-packaged and distributed as same name.
Thank you so much for your quick response. I updated the Portfile according to the recipe of "Stealth updates" described at http://trac.macports.org/wiki/PortfileRecipes#stealth-updates. Committed in r98597.
Hi,
The problem is that groonga-2.0.7.tar.gz package had been re-packaged and distributed as same name. There were also same issue in homebrew (already fixed). (https://github.com/mxcl/homebrew/pull/15236)
The correct sha1 checksum for groonga-2.0.7.tar.gz is: