[MacPorts] #53923: HTTPie Install Fail - Checksum Error

MacPorts noreply at macports.org
Wed Apr 5 13:17:43 UTC 2017


#53923: HTTPie Install Fail - Checksum Error
-----------------------------------+--------------------
 Reporter:  trailblazerr           |      Owner:
     Type:  defect                 |     Status:  new
 Priority:  Normal                 |  Milestone:
Component:  ports                  |    Version:  2.4.1
 Keywords:  HTTPie Checksum Error  |       Port:  HTTPie
-----------------------------------+--------------------
 Used `sudo` when executing port command.
 Tried cleaning and re-installing HTTPie. All failed.

 Below is the error message:


 {{{
 --->  Attempting to fetch httpie-0.9.4.tar.gz from
 https://github.com/jkbrzt/httpie/tarball/0.9.4
 --->  Verifying checksums for httpie
 Error: Checksum (rmd160) mismatch for httpie-0.9.4.tar.gz
 Error: Checksum (sha256) mismatch for httpie-0.9.4.tar.gz
 Error: Failed to checksum httpie: Unable to verify file checksums
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_httpie/httpie/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port httpie failed
 }}}


 Below from log file:

 {{{
 :debug:main Executing org.macports.main (httpie)
 :debug:main dropping privileges: euid changed to 502, egid changed to 501.
 :debug:archivefetch archivefetch phase started at Wed Apr  5 09:09:17 EDT
 2017
 :msg:archivefetch --->  Fetching archive for httpie
 :debug:archivefetch Executing org.macports.archivefetch (httpie)
 :debug:archivefetch euid/egid changed to: 0/0
 :debug:archivefetch chowned /opt/local/var/macports/incoming to macports
 :debug:archivefetch euid/egid changed to: 502/501
 :info:archivefetch --->  httpie-0.9.4_0.darwin_16.x86_64.tbz2 doesn't seem
 to exist in /opt/local/var/macports/incoming/verified
 :msg:archivefetch --->  Attempting to fetch
 httpie-0.9.4_0.darwin_16.x86_64.tbz2 from
 https://packages.macports.org/httpie
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404 Not Found
 :msg:archivefetch --->  Attempting to fetch
 httpie-0.9.4_0.darwin_16.x86_64.tbz2 from
 http://sea.us.packages.macports.org/macports/packages/httpie
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404 Not Found
 :msg:archivefetch --->  Attempting to fetch
 httpie-0.9.4_0.darwin_16.x86_64.tbz2 from
 http://mse.uk.packages.macports.org/sites/packages.macports.org/httpie
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404 Not Found
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:fetch fetch phase started at Wed Apr  5 09:09:18 EDT 2017
 :notice:fetch --->  Fetching distfiles for httpie
 :debug:fetch elevating privileges for fetch: euid changed to 0, egid
 changed to 0.
 :debug:fetch dropping privileges: euid changed to 502, egid changed to
 501.
 :debug:fetch Executing org.macports.fetch (httpie)
 :info:fetch --->  httpie-0.9.4.tar.gz does not exist in
 /opt/local/var/macports/distfiles/httpie
 :notice:fetch --->  Attempting to fetch httpie-0.9.4.tar.gz from
 https://github.com/jkbrzt/httpie/tarball/0.9.4
 :debug:fetch Privilege de-escalation not attempted as not running as root.
 :debug:checksum checksum phase started at Wed Apr  5 09:09:19 EDT 2017
 :notice:checksum --->  Verifying checksums for httpie
 :debug:checksum Executing org.macports.checksum (httpie)
 :info:checksum --->  Checksumming httpie-0.9.4.tar.gz
 :debug:checksum Calculated (rmd160) is
 ff6b58be4ec5e9484e4013eb61c97f98ae755299
 :error:checksum Checksum (rmd160) mismatch for httpie-0.9.4.tar.gz
 :info:checksum Portfile checksum: httpie-0.9.4.tar.gz rmd160
 252849a74a513bd96a2ff30c8a5a36682365d50e
 :info:checksum Distfile checksum: httpie-0.9.4.tar.gz rmd160
 ff6b58be4ec5e9484e4013eb61c97f98ae755299
 :debug:checksum Calculated (sha256) is
 a74ad536f7a9adf3a681e1522793a68e1329e1d9f5b535b13dc75fd9b0733337
 :error:checksum Checksum (sha256) mismatch for httpie-0.9.4.tar.gz
 :info:checksum Portfile checksum: httpie-0.9.4.tar.gz sha256
 142bad6b03c9c0983e756b306c414dff1f8f2d1d0ce0f685a0275504d57df6bc
 :info:checksum Distfile checksum: httpie-0.9.4.tar.gz sha256
 a74ad536f7a9adf3a681e1522793a68e1329e1d9f5b535b13dc75fd9b0733337
 :info:checksum The correct checksum line may be:
 :info:checksum checksums           rmd160
 ff6b58be4ec5e9484e4013eb61c97f98ae755299 \
 :info:checksum                     sha256
 a74ad536f7a9adf3a681e1522793a68e1329e1d9f5b535b13dc75fd9b0733337
 :error:checksum Failed to checksum httpie: Unable to verify file checksums
 :debug:checksum Error code: NONE
 :debug:checksum Backtrace: Unable to verify file checksums
 :debug:checksum     while executing
 :debug:checksum "$procedure $targetname"
 :error:checksum See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_httpie/httpie/main.log
 for details.
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53923>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list