#67640 closed defect (fixed)

kokkos-devel @2023.06.11: checksum mismatch

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: barracuda156
Port: kokkos-devel

Description

https://build.macports.org/builders/jobs-mirror/builds/590237/steps/mirror/logs/stdio

--->  Fetching distfiles for kokkos-devel
--->  kokkos-63d695ce53674978c33d6d0a32a0007f173452c4.tar.gz does not exist in /Volumes/RAID/opt/local/var/rsync/macports/distfiles/kokkos
--->  Attempting to fetch kokkos-63d695ce53674978c33d6d0a32a0007f173452c4.tar.gz from http://distfiles.macports.org/kokkos
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0--->  Attempting to fetch kokkos-63d695ce53674978c33d6d0a32a0007f173452c4.tar.gz from https://codeload.github.com/kokkos/kokkos/legacy.tar.gz/develop?dummy=
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   654    0   654    0     0    938      0 --:--:-- --:--:-- --:--:--   936
100 1091k    0 1091k    0     0   644k      0 --:--:--  0:00:01 --:--:--  644k
100 2272k    0 2272k    0     0  1186k      0 --:--:--  0:00:01 --:--:-- 1186k
--->  Checksumming kokkos-63d695ce53674978c33d6d0a32a0007f173452c4.tar.gz
Error: Checksum (rmd160) mismatch for kokkos-63d695ce53674978c33d6d0a32a0007f173452c4.tar.gz
Portfile checksum: kokkos-63d695ce53674978c33d6d0a32a0007f173452c4.tar.gz rmd160 7305b47448488d9c2b0aa2566f8e893ed6403998
Distfile checksum: kokkos-63d695ce53674978c33d6d0a32a0007f173452c4.tar.gz rmd160 266bb0c039ecdba0ba4713302d43bb64c9d6092b
Error: Checksum (sha256) mismatch for kokkos-63d695ce53674978c33d6d0a32a0007f173452c4.tar.gz
Error: Checksum (size) mismatch for kokkos-63d695ce53674978c33d6d0a32a0007f173452c4.tar.gz
Portfile checksum: kokkos-63d695ce53674978c33d6d0a32a0007f173452c4.tar.gz sha256 e80bde1568aea1b9e46510c2ce41103c583bbdfaadf18da472cc22900e5c6846
Distfile checksum: kokkos-63d695ce53674978c33d6d0a32a0007f173452c4.tar.gz sha256 aaa7c41d6148c3b88e50bc2e8fb2ce8763527d8dbff73b8d220a8e6e70deb306
Portfile checksum: kokkos-63d695ce53674978c33d6d0a32a0007f173452c4.tar.gz size 2328288
Distfile checksum: kokkos-63d695ce53674978c33d6d0a32a0007f173452c4.tar.gz size 2327264
The correct checksum line may be:
checksums           rmd160  266bb0c039ecdba0ba4713302d43bb64c9d6092b \
                    sha256  aaa7c41d6148c3b88e50bc2e8fb2ce8763527d8dbff73b8d220a8e6e70deb306 \
                    size    2327264
Error: Failed to mirror kokkos-devel: portmirror: checksum failed: Unable to verify file checksums
Error: See /opt/local/var/buildmaster/build/prefix/var/macports/logs/_opt_local_var_buildworker_jobs_jobs-mirror_build_ports_devel_kokkos/kokkos-devel/main.log for details.

Change History (3)

comment:1 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)

In addition, this port is downloading using the legacy github "tarball" endpoint. It should be switched to github.tarball_from archive which will change the checksums—possibly even to the values that are already in the Portfile.

comment:2 in reply to:  1 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign:

It should be switched to github.tarball_from archive

But you don't want to break the main kokkos port in the process so do this only in the kokkos-devel subport block for now until kokkos is updated to a new version.

comment:3 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.