Opened 4 years ago

Closed 4 years ago

#61666 closed defect (fixed)

wakeonlan @0.41 Checksum mismatch

Reported by: Mashin6 Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc: dbevans (David B. Evans), mf2k (Frank Schima)
Port: wakeonlan

Description

MacOS 11.0.1 with Xcode 12.2

--->  Computing dependencies for wakeonlan
--->  Fetching archive for wakeonlan
--->  Attempting to fetch wakeonlan-0.41_5.darwin_20.noarch.tbz2 from https://packages.macports.org/wakeonlan
--->  Attempting to fetch wakeonlan-0.41_5.darwin_20.noarch.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/wakeonlan/wakeonlan
--->  Attempting to fetch wakeonlan-0.41_5.darwin_20.noarch.tbz2 from https://mse.uk.packages.macports.org/wakeonlan
--->  Fetching distfiles for wakeonlan
--->  Verifying checksums for wakeonlan
Error: Checksum (rmd160) mismatch for wakeonlan-0.41.tar.gz
Error: Checksum (sha256) mismatch for wakeonlan-0.41.tar.gz
Error: Checksum (size) mismatch for wakeonlan-0.41.tar.gz
Error: Failed to checksum wakeonlan: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wakeonlan/wakeonlan/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port wakeonlan failed
$ tail -n 30 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wakeonlan/wakeonlan/main.log
:debug:fetch fetch phase started at Thu Nov 26 13:54:11 EST 2020
:notice:fetch --->  Fetching distfiles for wakeonlan
:debug:fetch Executing org.macports.fetch (wakeonlan)
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Thu Nov 26 13:54:11 EST 2020
:notice:checksum --->  Verifying checksums for wakeonlan
:debug:checksum Executing org.macports.checksum (wakeonlan)
:info:checksum --->  Checksumming wakeonlan-0.41.tar.gz
:debug:checksum Calculated (rmd160) is e65e11a35b2abaec5e3a8bc9f7f9db11e532e957
:error:checksum Checksum (rmd160) mismatch for wakeonlan-0.41.tar.gz
:info:checksum Portfile checksum: wakeonlan-0.41.tar.gz rmd160 ddbc2af097bb46bd8afd2c37007c5ed5291ee0e7
:info:checksum Distfile checksum: wakeonlan-0.41.tar.gz rmd160 e65e11a35b2abaec5e3a8bc9f7f9db11e532e957
:debug:checksum Calculated (sha256) is b6ca9e1acbaa27def2ae605e62e265250700c965baa31c3f7af070ffc557b692
:error:checksum Checksum (sha256) mismatch for wakeonlan-0.41.tar.gz
:info:checksum Portfile checksum: wakeonlan-0.41.tar.gz sha256 581b1b27a7e810ab72668cce4bd9aa9b3e0cea34b2db24dd1a44c09d63ddda98
:info:checksum Distfile checksum: wakeonlan-0.41.tar.gz sha256 b6ca9e1acbaa27def2ae605e62e265250700c965baa31c3f7af070ffc557b692
:debug:checksum Calculated (size) is 6108
:error:checksum Checksum (size) mismatch for wakeonlan-0.41.tar.gz
:info:checksum Portfile checksum: wakeonlan-0.41.tar.gz size 6028
:info:checksum Distfile checksum: wakeonlan-0.41.tar.gz size 6108
:info:checksum The correct checksum line may be:
:info:checksum checksums           rmd160  e65e11a35b2abaec5e3a8bc9f7f9db11e532e957 \
:info:checksum                     sha256  b6ca9e1acbaa27def2ae605e62e265250700c965baa31c3f7af070ffc557b692 \
:info:checksum                     size    6108
:error:checksum Failed to checksum wakeonlan: 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_release_tarballs_ports_net_wakeonlan/wakeonlan/main.log for details.

Change History (3)

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

Cc: dbevans added
Owner: set to ryandesign
Status: newaccepted

This was caused buy [a208839acf6fb291ec94c3837687d5ade2fc4520/macports-ports] which switched the download URL from "archive" type to "tarball" type. The solution should be to fix it back to "archive" type, possibly with some additional tweaks. I will see if I can figure it out.

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

Cc: mf2k added

Actually it was caused in the previous commit [f3050584901072fe04cdf95fda9d0eb6b1d0c873/macports-ports] which switched from a file downloaded from the project's homepage to an "archive" GitHub file. Neither "archive" nor "tarball" type GitHub files match the file that we used previously (the one that the checksums are for, and the one that we already have mirrored) so we should just continue to use our old file. (The contents of all the files are the same, it's just that the enclosing directory name differs, which is enough to change the checksums.)

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

Resolution: fixed
Status: acceptedclosed

In 461eec0de06b7b9a66f265b4615906ed70599fc6/macports-ports (master):

wakeonlan: Fix checksum mismatch

Closes: #61666

Note: See TracTickets for help on using tickets.