Opened 7 years ago

Closed 7 years ago

#53923 closed defect (fixed)

httpie: Checksum mismatch

Reported by: trailblazerr (Alper) Owned by: g5pw (Aljaž Srebrnič)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc:
Port: httpie

Description

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.

Change History (2)

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Keywords: HTTPie Checksum Error removed
Owner: set to g5pw
Port: httpie added; HTTPie removed
Status: newassigned
Summary: HTTPie Install Fail - Checksum Errorhttpie: Checksum mismatch

In the future, please Cc the port maintainers (port info --maintainers HTTPie), if any.

comment:2 Changed 7 years ago by g5pw (Aljaž Srebrnič)

Resolution: fixed
Status: assignedclosed

In 524d5dd54aacbcda8b02c365b619543e4bdb0646/macports-ports:

net/httpie: update to 0.9.8

Fixes: #53923

Note: See TracTickets for help on using tickets.