Opened 5 years ago

Closed 5 years ago

#59748 closed defect (fixed)

dnscrypt-proxy @2.0.25: Checksum mismatch

Reported by: Haravikk Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: dnscrypt-proxy

Description

Current version of dnscrypt-proxy appears to be failing checksum verification, I'm including the main.log from my most recent attempt to install:

version:1
:debug:sysinfo macOS 10.15 (darwin/19.0.0) arch i386
:debug:sysinfo MacPorts 2.6.2
:debug:sysinfo Xcode 11.2.1
:debug:sysinfo SDK 10.15
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.15
:debug:main epoch: in tree: 2 installed: 2
:debug:main go 1.13.4_0 exists in the ports tree
:debug:main go 1.13.4_0  is the latest installed
:debug:main go 1.13.4_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/go
:debug:main OS darwin/19.0.0 (macOS 10.15) arch i386
:debug:main Removing legacy build support
:debug:main Sourcing PortGroup legacysupport 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/legacysupport-1.0.tcl
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main Running callback add_legacysupport
:debug:main Removing legacy build support
:debug:main Finished running callback add_legacysupport
:debug:main No need to upgrade! go 1.13.4_0 >= go 1.13.4_0
:msg:main --->  Computing dependencies for dnscrypt-proxy:info:main .:debug:main dnscrypt-proxy has no conflicts
:debug:main Searching for dependency: go
:debug:main Found Dependency: receipt exists for go
:debug:main Executing org.macports.main (dnscrypt-proxy)
:debug:main dropping privileges: euid changed to 502, egid changed to 501.
:debug:archivefetch archivefetch phase started at Fri Nov 22 23:14:35 GMT 2019
:msg:archivefetch --->  Fetching archive for dnscrypt-proxy
:warn:archivefetch Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports. See this page for more information: <https://trac.macports.org/wiki/MisbehavingServers>
:debug:archivefetch Executing org.macports.archivefetch (dnscrypt-proxy)
: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 --->  dnscrypt-proxy-2.0.25_0.darwin_19.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch dnscrypt-proxy-2.0.25_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/dnscrypt-proxy
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 
:msg:archivefetch --->  Attempting to fetch dnscrypt-proxy-2.0.25_0.darwin_19.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/dnscrypt-proxy
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch dnscrypt-proxy-2.0.25_0.darwin_19.x86_64.tbz2 from http://lil.fr.packages.macports.org/dnscrypt-proxy
: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 Fri Nov 22 23:14:36 GMT 2019
:notice:fetch --->  Fetching distfiles for dnscrypt-proxy
:debug:fetch Executing org.macports.fetch (dnscrypt-proxy)
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Fri Nov 22 23:14:36 GMT 2019
:notice:checksum --->  Verifying checksums for dnscrypt-proxy
:debug:checksum Executing org.macports.checksum (dnscrypt-proxy)
:info:checksum --->  Checksumming dnscrypt-proxy-2.0.25.tar.gz
:debug:checksum Calculated (rmd160) is b858888e8ae085cc9ea77188bfe63db7e30c8072
:error:checksum Checksum (rmd160) mismatch for dnscrypt-proxy-2.0.25.tar.gz
:info:checksum Portfile checksum: dnscrypt-proxy-2.0.25.tar.gz rmd160 4e505a288b1df70441a19312695f4e49169a4fde
:info:checksum Distfile checksum: dnscrypt-proxy-2.0.25.tar.gz rmd160 b858888e8ae085cc9ea77188bfe63db7e30c8072
:debug:checksum Calculated (sha256) is 3a3904090b2361d37e0879d706905da36cc27211021bc6966ac42e240d80c01d
:error:checksum Checksum (sha256) mismatch for dnscrypt-proxy-2.0.25.tar.gz
:info:checksum Portfile checksum: dnscrypt-proxy-2.0.25.tar.gz sha256 49de03f4ffa94cae0e2a348bef630a5506085250f1d5d7aa89592faa50abcfbf
:info:checksum Distfile checksum: dnscrypt-proxy-2.0.25.tar.gz sha256 3a3904090b2361d37e0879d706905da36cc27211021bc6966ac42e240d80c01d
:debug:checksum Calculated (size) is 2593513
:error:checksum Checksum (size) mismatch for dnscrypt-proxy-2.0.25.tar.gz
:info:checksum Portfile checksum: dnscrypt-proxy-2.0.25.tar.gz size 2595073
:info:checksum Distfile checksum: dnscrypt-proxy-2.0.25.tar.gz size 2593513
:info:checksum The correct checksum line may be:
:info:checksum checksums           rmd160  b858888e8ae085cc9ea77188bfe63db7e30c8072 \
:info:checksum                     sha256  3a3904090b2361d37e0879d706905da36cc27211021bc6966ac42e240d80c01d \
:info:checksum                     size    2593513
:error:checksum Failed to checksum dnscrypt-proxy: 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_dnscrypt-proxy/dnscrypt-proxy/main.log for details.
version:1
:debug:sysinfo macOS 10.15 (darwin/19.0.0) arch i386
:debug:sysinfo MacPorts 2.6.2
:debug:sysinfo Xcode 11.2.1
:debug:sysinfo SDK 10.15
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.15
:debug:main epoch: in tree: 2 installed: 2
:debug:main go 1.13.4_0 exists in the ports tree
:debug:main go 1.13.4_0  is the latest installed
:debug:main go 1.13.4_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/go
:debug:main OS darwin/19.0.0 (macOS 10.15) arch i386
:debug:main Removing legacy build support
:debug:main Sourcing PortGroup legacysupport 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/legacysupport-1.0.tcl
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main Running callback add_legacysupport
:debug:main Removing legacy build support
:debug:main Finished running callback add_legacysupport
:debug:main No need to upgrade! go 1.13.4_0 >= go 1.13.4_0
:msg:main --->  Computing dependencies for dnscrypt-proxy:info:main .:debug:main dnscrypt-proxy has no conflicts
:debug:main Searching for dependency: go
:debug:main Found Dependency: receipt exists for go
:debug:main Executing org.macports.main (dnscrypt-proxy)
:debug:main dropping privileges: euid changed to 502, egid changed to 501.
:debug:archivefetch archivefetch phase started at Fri Nov 22 23:18:07 GMT 2019
:msg:archivefetch --->  Fetching archive for dnscrypt-proxy
:debug:archivefetch Executing org.macports.archivefetch (dnscrypt-proxy)
: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 --->  dnscrypt-proxy-2.0.25_0.darwin_19.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch dnscrypt-proxy-2.0.25_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/dnscrypt-proxy
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 
:msg:archivefetch --->  Attempting to fetch dnscrypt-proxy-2.0.25_0.darwin_19.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/dnscrypt-proxy
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch dnscrypt-proxy-2.0.25_0.darwin_19.x86_64.tbz2 from http://lil.fr.packages.macports.org/dnscrypt-proxy
: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:archivefetch Skipping completed org.macports.fetch (dnscrypt-proxy)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Fri Nov 22 23:18:09 GMT 2019
:notice:checksum --->  Verifying checksums for dnscrypt-proxy
:debug:checksum Executing org.macports.checksum (dnscrypt-proxy)
:info:checksum --->  Checksumming dnscrypt-proxy-2.0.25.tar.gz
:debug:checksum Calculated (rmd160) is b858888e8ae085cc9ea77188bfe63db7e30c8072
:error:checksum Checksum (rmd160) mismatch for dnscrypt-proxy-2.0.25.tar.gz
:info:checksum Portfile checksum: dnscrypt-proxy-2.0.25.tar.gz rmd160 4e505a288b1df70441a19312695f4e49169a4fde
:info:checksum Distfile checksum: dnscrypt-proxy-2.0.25.tar.gz rmd160 b858888e8ae085cc9ea77188bfe63db7e30c8072
:debug:checksum Calculated (sha256) is 3a3904090b2361d37e0879d706905da36cc27211021bc6966ac42e240d80c01d
:error:checksum Checksum (sha256) mismatch for dnscrypt-proxy-2.0.25.tar.gz
:info:checksum Portfile checksum: dnscrypt-proxy-2.0.25.tar.gz sha256 49de03f4ffa94cae0e2a348bef630a5506085250f1d5d7aa89592faa50abcfbf
:info:checksum Distfile checksum: dnscrypt-proxy-2.0.25.tar.gz sha256 3a3904090b2361d37e0879d706905da36cc27211021bc6966ac42e240d80c01d
:debug:checksum Calculated (size) is 2593513
:error:checksum Checksum (size) mismatch for dnscrypt-proxy-2.0.25.tar.gz
:info:checksum Portfile checksum: dnscrypt-proxy-2.0.25.tar.gz size 2595073
:info:checksum Distfile checksum: dnscrypt-proxy-2.0.25.tar.gz size 2593513
:info:checksum The correct checksum line may be:
:info:checksum checksums           rmd160  b858888e8ae085cc9ea77188bfe63db7e30c8072 \
:info:checksum                     sha256  3a3904090b2361d37e0879d706905da36cc27211021bc6966ac42e240d80c01d \
:info:checksum                     size    2593513
:error:checksum Failed to checksum dnscrypt-proxy: 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_dnscrypt-proxy/dnscrypt-proxy/main.log for details.

I'm attempting to install on a fresh Catalina install (machine literally arrived today) with latest Xcode and command line tools.

Change History (5)

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Priority: HighNormal
Summary: Checksum Mismatchdnscrypt-proxy: Checksum Mismatch
:warn:archivefetch Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports. See this page for more information: <https://trac.macports.org/wiki/MisbehavingServers>

Please see wiki:FAQ#checksums

comment:2 Changed 5 years ago by jmroot (Joshua Root)

That said, this does need updating anyway.

comment:3 Changed 5 years ago by Haravikk

Whoops, sorry, looks like the log I pasted was actually an older one; I did notice the DNS server warning and switched to Cloudflare (1.1.1.1) and tried again and still had the same problem, I thought the log I pasted was from that attempt.

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

Owner: set to ryandesign
Status: newaccepted
Summary: dnscrypt-proxy: Checksum Mismatchdnscrypt-proxy @2.0.25: Checksum mismatch
Version: 2.6.2

The checksum mismatch is because the project's GitHub organization changed, as mentioned in #59080.

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

Resolution: fixed
Status: acceptedclosed

In 3e58e1493f4f8097be85fdd689aa10ada4828a4a/macports-ports (master):

dnscrypt-proxy: Update to 2.0.33

Closes: #59748

Note: See TracTickets for help on using tickets.