#49286: ruby20 sitting on the servers must be either tampered or corrupted ----------------------------+-------------------------------- Reporter: atma@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: ruby, macports | Port: ruby20 ----------------------------+-------------------------------- There is a problem with '''ruby20''' package on the mirrors. I had to download the same version from ruby's website to build '''ruby20'''. The file is either tampered (worst case scenario) or corrupted (probably): {{{ $ sudo port build ruby20 ---> Computing dependencies for ruby20 ---> Fetching distfiles for ruby20 ---> Attempting to fetch ruby-2.0.0-p647.tar.bz2 from http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/ruby20 ---> Verifying checksums for ruby20 Error: Checksum (md5) mismatch for ruby-2.0.0-p647.tar.bz2 Error: Checksum (rmd160) mismatch for ruby-2.0.0-p647.tar.bz2 Error: Checksum (sha1) mismatch for ruby-2.0.0-p647.tar.bz2 Error: Checksum (sha256) mismatch for ruby-2.0.0-p647.tar.bz2 Error: org.macports.checksum for port ruby20 returned: Unable to verify file checksums Please see the log file for port ruby20 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ruby20/ruby20/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port ruby20 failed $ sudo su - root# cd /opt/local/var/macports/distfiles/ruby20 root# curl -O https://cache.ruby- lang.org/pub/ruby/2.0/ruby-2.0.0-p647.tar.bz2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 10.2M 100 10.2M 0 0 487k 0 0:00:21 0:00:21 --:--:-- 505k root# shasum ruby-2.0.0-p647.tar.bz2 537f0e212e337022f28ead8e67ffc834fcd468c6 ruby-2.0.0-p647.tar.bz2 root# md5 ruby-2.0.0-p647.tar.bz2 MD5 (ruby-2.0.0-p647.tar.bz2) = 27a3ea1a8b8bca1a6de43a7d08e88b69 gauss:ruby20 root# exit logout $ sudo port build ruby20 ---> Computing dependencies for ruby20 ---> Verifying checksums for ruby20 ---> Extracting ruby20 [....] }}} -- Ticket URL: <https://trac.macports.org/ticket/49286> MacPorts <https://www.macports.org/> Ports system for OS X