[MacPorts] #36536: [groonga-2.0.7] Error: org.macports.checksum for port groonga returned: Unable to verify file checksums
#36536: [groonga-2.0.7] Error: org.macports.checksum for port groonga returned: Unable to verify file checksums --------------------------------------+-------------------------------- Reporter: beta+trac.macports.org@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: groonga Checksum | Port: groonga --------------------------------------+-------------------------------- 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] }}} -- Ticket URL: <https://trac.macports.org/ticket/36536> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36536: groonga: checksum mismatch ---------------------------------------+------------------- Reporter: beta+trac.macports.org@… | Owner: hum@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: groonga | ---------------------------------------+------------------- Changes (by ryandesign@…): * keywords: groonga Checksum => * cc: kou@… (added) * owner: macports-tickets@… => hum@… -- Ticket URL: <https://trac.macports.org/ticket/36536#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36536: groonga: checksum mismatch ---------------------------------------+------------------- Reporter: beta+trac.macports.org@… | Owner: hum@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: groonga | ---------------------------------------+------------------- Comment (by hayashi@…): 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: * before: 577f609c785803f90b65e2defa23247a5a256623 * after(re-packaged): 2bb69695d7a147cad00d1f6c7deebe81f277a99c -- Ticket URL: <https://trac.macports.org/ticket/36536#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36536: groonga: checksum mismatch ---------------------------------------+------------------- Reporter: beta+trac.macports.org@… | Owner: hum@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: groonga | ---------------------------------------+------------------- Comment (by hayashi@…): You can fix this issue by follwing steps as a workaround: 1. Create directory for groonga and change directory. {{{ sudo mkdir -p /opt/local/var/macports/distfiles/groonga cd /opt/local/var/macports/distfiles/groonga }}} 2. Download groonga-2.0.7.tar.gz {{{ $ wget http://packages.groonga.org/source/groonga/groonga-2.0.7.tar.gz }}} 3. Execute port command. {{{ $ sudo port install groonga }}} -- Ticket URL: <https://trac.macports.org/ticket/36536#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36536: groonga: checksum mismatch ---------------------------------------+------------------- Reporter: beta+trac.macports.org@… | Owner: hum@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: groonga | ---------------------------------------+------------------- Comment (by hayashi@…): I have attached a patch which corrects checksum in Portfile for grooga 2.0.7 -- Ticket URL: <https://trac.macports.org/ticket/36536#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36536: groonga: checksum mismatch ---------------------------------------+------------------- Reporter: beta+trac.macports.org@… | Owner: hum@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: groonga | ---------------------------------------+------------------- Comment (by hayashi@…): Note: the reason of re-packaged groonga 2.0.7 is contained version file was not updated. -- Ticket URL: <https://trac.macports.org/ticket/36536#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36536: groonga: checksum mismatch ---------------------------------------+-------------------- Reporter: beta+trac.macports.org@… | Owner: hum@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: groonga | ---------------------------------------+-------------------- Changes (by hum@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:2 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. -- Ticket URL: <https://trac.macports.org/ticket/36536#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts