Opened 4 years ago

Closed 4 years ago

#60585 closed defect (fixed)

keybinder @0.3.1_0: unable to install due to checksum mismatch

Reported by: bl3chd0se Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: keybinder

Description

There is an error while fetching keybinder from repository

sudo port install keybinder     
--->  Computing dependencies for keybinder
--->  Fetching archive for keybinder
--->  Attempting to fetch keybinder-0.3.1_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/keybinder
--->  Attempting to fetch keybinder-0.3.1_0.darwin_19.x86_64.tbz2 from http://lil.fr.packages.macports.org/keybinder
--->  Attempting to fetch keybinder-0.3.1_0.darwin_19.x86_64.tbz2 from http://nue.de.packages.macports.org/keybinder
--->  Fetching distfiles for keybinder
--->  Attempting to fetch keybinder-0.3.1.tar.gz from https://github.com/engla/keybinder/tarball/v0.3.1
--->  Verifying checksums for keybinder                                                      
Error: Checksum (rmd160) mismatch for keybinder-0.3.1.tar.gz
Error: Checksum (sha256) mismatch for keybinder-0.3.1.tar.gz
Error: Failed to checksum keybinder: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port keybinder failed
:msg:archivefetch --->  Fetching archive for keybinder
:debug:archivefetch Executing org.macports.archivefetch (keybinder)
: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 --->  keybinder-0.3.1_0.darwin_19.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch keybinder-0.3.1_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/keybinder
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 
:msg:archivefetch --->  Attempting to fetch keybinder-0.3.1_0.darwin_19.x86_64.tbz2 from http://lil.fr.packages.macports.org/keybinder
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch keybinder-0.3.1_0.darwin_19.x86_64.tbz2 from http://nue.de.packages.macports.org/keybinder
: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 Tue Jun  2 18:00:32 CEST 2020
:notice:fetch --->  Fetching distfiles for keybinder
: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 (keybinder)
:info:fetch --->  keybinder-0.3.1.tar.gz does not exist in /opt/local/var/macports/distfiles/keybinder
:notice:fetch --->  Attempting to fetch keybinder-0.3.1.tar.gz from https://github.com/engla/keybinder/tarball/v0.3.1
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Tue Jun  2 18:00:35 CEST 2020
:notice:checksum --->  Verifying checksums for keybinder
:debug:checksum Executing org.macports.checksum (keybinder)
:info:checksum --->  Checksumming keybinder-0.3.1.tar.gz
:debug:checksum Calculated (rmd160) is 60a5b822c11bad90e3d4d485dead5931d844c760
:error:checksum Checksum (rmd160) mismatch for keybinder-0.3.1.tar.gz
:info:checksum Portfile checksum: keybinder-0.3.1.tar.gz rmd160 5540b349f193c49413e5e443c40dec2291a715c9
:info:checksum Distfile checksum: keybinder-0.3.1.tar.gz rmd160 60a5b822c11bad90e3d4d485dead5931d844c760
:debug:checksum Calculated (sha256) is 6dae77a3e3570d61f846bb5acc21dfb7b24a8f33a85f2b98d7a9816d7de39e57
:error:checksum Checksum (sha256) mismatch for keybinder-0.3.1.tar.gz
:info:checksum Portfile checksum: keybinder-0.3.1.tar.gz sha256 3c4636965a228902ef70fb8df34e3cc11036b82c2c3be45819d0780f34345b7b
:info:checksum Distfile checksum: keybinder-0.3.1.tar.gz sha256 6dae77a3e3570d61f846bb5acc21dfb7b24a8f33a85f2b98d7a9816d7de39e57
:info:checksum The correct checksum line may be:
:info:checksum checksums           rmd160  60a5b822c11bad90e3d4d485dead5931d844c760 \
:info:checksum                     sha256  6dae77a3e3570d61f846bb5acc21dfb7b24a8f33a85f2b98d7a9816d7de39e57 \
:info:checksum                     size    31744
:error:checksum Failed to checksum keybinder: 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"

cleaning and fetching again does not fix the issue

   36  sudo port selfupdate
   37  sudo port upgrade outdated
   38  sudo port clean --dist keybinder
   39  sudo port install keybinder

Change History (2)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from ryandesign@… to ryandesign
Status: assignedaccepted
Summary: keybinder 0.3.1_0: unable to install due to checksum mismatchkeybinder @0.3.1_0: unable to install due to checksum mismatch

This has happened for the usual reason: the GitHub project has changed owners (from "engla" to "kupferlauncher").

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In 254eb356c904a34e95679eb341530a653ba7ac1b/macports-ports (master):

keybinder: Fix checksum mismatch due to new owner

Switch to from tag to archive tarball to avoid this problem in the
future.

Closes: #60585
See: #54839

Note: See TracTickets for help on using tickets.