[MacPorts] #67818: kokkos-devel: how to prevent GitHub from breaking checksums?
MacPorts
noreply at macports.org
Mon Jul 24 15:49:17 UTC 2023
#67818: kokkos-devel: how to prevent GitHub from breaking checksums?
--------------------------+---------------------------------
Reporter: barracuda156 | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: | Port: kokkos-devel
--------------------------+---------------------------------
I got this again:
{{{
---> Fetching distfiles for kokkos-devel
---> kokkos-11ce288cdd44c305f7499568be889b8034115bab.tar.gz does not
exist in /opt/local/var/macports/distfiles/kokkos
---> Attempting to fetch kokkos-
11ce288cdd44c305f7499568be889b8034115bab.tar.gz from
https://github.com/kokkos/kokkos/archive/develop
% 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 2283k 0 2283k 0 0 615k 0 --:--:-- 0:00:03 --:--:--
1202k
---> Verifying checksums for kokkos-devel
---> Checksumming kokkos-11ce288cdd44c305f7499568be889b8034115bab.tar.gz
Error: Checksum (rmd160) mismatch for kokkos-
11ce288cdd44c305f7499568be889b8034115bab.tar.gz
Portfile checksum: kokkos-11ce288cdd44c305f7499568be889b8034115bab.tar.gz
rmd160 226b5910edf760938a7a9827602937bcbc44a06c
Distfile checksum: kokkos-11ce288cdd44c305f7499568be889b8034115bab.tar.gz
rmd160 1e9accbbe5b617c7ca357c576adcae4c2cf310bb
Error: Checksum (sha256) mismatch for kokkos-
11ce288cdd44c305f7499568be889b8034115bab.tar.gz
Portfile checksum: kokkos-11ce288cdd44c305f7499568be889b8034115bab.tar.gz
sha256 507880a3fa8eef899e63df99b1dc78a8a777dd6fcd487c146f0c7e221c7a17a1
Distfile checksum: kokkos-11ce288cdd44c305f7499568be889b8034115bab.tar.gz
sha256 9c1250f1834a43c9ffe7438edcb621f8fe68ef5067b4846b8100017402ec0b62
Error: Checksum (size) mismatch for kokkos-
11ce288cdd44c305f7499568be889b8034115bab.tar.gz
Portfile checksum: kokkos-11ce288cdd44c305f7499568be889b8034115bab.tar.gz
size 2333182
Distfile checksum: kokkos-11ce288cdd44c305f7499568be889b8034115bab.tar.gz
size 2338549
The correct checksum line may be:
checksums rmd160 1e9accbbe5b617c7ca357c576adcae4c2cf310bb \
sha256
9c1250f1834a43c9ffe7438edcb621f8fe68ef5067b4846b8100017402ec0b62 \
size 2338549
Error: Failed to checksum kokkos-devel: Unable to verify file checksums
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos
/kokkos-devel/main.log for details.
}}}
We already have set it to from_archive, but it seems either not to help or
otherwise I did it wrong:
{{{
subport kokkos-devel {
github.setup kokkos kokkos
11ce288cdd44c305f7499568be889b8034115bab
version 2023.07.17
conflicts kokkos
maintainers-append {@barracuda156 gmail.com:vital.had}
checksums rmd160
226b5910edf760938a7a9827602937bcbc44a06c \
sha256
507880a3fa8eef899e63df99b1dc78a8a777dd6fcd487c146f0c7e221c7a17a1 \
size 2333182
git.branch develop
github.tarball_from archive
# 32-bit support added in: https://github.com/kokkos/kokkos/pull/5916
}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/67818>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list