[MacPorts] #49286: ruby20 sitting on the servers must be either tampered or corrupted
MacPorts
noreply at macports.org
Thu Oct 15 05:27:55 PDT 2015
#49286: ruby20 sitting on the servers must be either tampered or corrupted
---------------------+-----------------------
Reporter: atma@… | Owner: kimuraw@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: ruby20 |
---------------------+-----------------------
Changes (by kimuraw@…):
* status: new => assigned
Comment:
Thanks. I confirmed ruby-2.0.0-p647.tar.bz2 from
her.gr.distfiles.macports.org looks to broken.
I'll ask administrators of the mirror site to solve this problem.
I believe the file from cache.ruby-lang.org is a valid file.
The release announce from ruby-lang.org contains checksums.
https://www.ruby-lang.org/en/news/2015/08/18/ruby-2-0-0-p647-released/
{{{
https://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p647.tar.bz2
SIZE: 10785285 bytes
SHA1: 537f0e212e337022f28ead8e67ffc834fcd468c6
SHA256: 3c3782e313d1ec3ed06c104eafd133cc54ff5183b991786ece9e957fd6cf1cb9
SHA512:
3416af771ebb0b27ceacf23d309bd2a1ede832c2edf48a5ca46f0b0b84b2ab94fb6362a0c7fe4f77b21253539db8161ae26d23a78d1ba729bf03812454d93d04
}}}
Those checksums are same value in MacPorts' portfile.
{{{
$ port distfiles ruby20 | head
---> Distfiles for ruby20
[ruby-2.0.0-p647.tar.bz2]
/opt/local/var/macports/distfiles/ruby20/ruby-2.0.0-p647.tar.bz2
md5: 27a3ea1a8b8bca1a6de43a7d08e88b69
rmd160: c9b520ff1e5cc2c3c55a39b7cd3ce31317f52d0e
sha1: 537f0e212e337022f28ead8e67ffc834fcd468c6
sha256: 3c3782e313d1ec3ed06c104eafd133cc54ff5183b991786ece9e957fd6cf1cb9
http://mirrors.ibiblio.org/ruby/2.0/ruby-2.0.0-p647.tar.bz2
}}}
----
As a temporary solution, you can get a valid file with `master_sites`
option.
{{{
$ sudo rm /opt/local/var/macports/distfiles/ruby20/ruby-2.0.0-p647.tar.bz2
$ sudo port build ruby20 master_sites=https://cache.ruby-
lang.org/pub/ruby/2.0/
}}}
--
Ticket URL: <https://trac.macports.org/ticket/49286#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list