Opened 3 months ago

Closed 2 months ago

#69344 closed defect (fixed)

icu, icu-devel @74.2: checksum mismatch

Reported by: barracuda156 Owned by: catap (Kirill A. Korinsky)
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: Cc: franckbonin
Port: icu, icu-devel

Description

--->  Fetching distfiles for icu-devel
--->  icu4c-74_2-src.tgz does not exist in /opt/local/var/macports/distfiles/icu
--->  Attempting to fetch icu4c-74_2-src.tgz from https://github.com/unicode-org/icu/releases/download/release-74-2/
  % 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 25.3M  100 25.3M    0     0    24T      0 --:--:-- --:--:-- --:--:--  407k
--->  Verifying checksums for icu-devel
--->  Checksumming icu4c-74_2-src.tgz
Error: Checksum (rmd160) mismatch for icu4c-74_2-src.tgz
Portfile checksum: icu4c-74_2-src.tgz rmd160 df2b06b3556ff21176858c27fc46f2d1e2bbe0ec
Distfile checksum: icu4c-74_2-src.tgz rmd160 6ed512d508bbf491f5e18ff5fe2e57330bf247fb
Error: Checksum (sha256) mismatch for icu4c-74_2-src.tgz
Portfile checksum: icu4c-74_2-src.tgz sha256 5e4fb11d6a3e6b85afb55de8da8a71538f1d8fd64fce893986b37d60e5bb0091
Distfile checksum: icu4c-74_2-src.tgz sha256 68db082212a96d6f53e35d60f47d38b962e9f9d207a74cfac78029ae8ff5e08c
Error: Checksum (size) mismatch for icu4c-74_2-src.tgz
Portfile checksum: icu4c-74_2-src.tgz size 26618071
Distfile checksum: icu4c-74_2-src.tgz size 26529443
The correct checksum line may be:
checksums           rmd160  6ed512d508bbf491f5e18ff5fe2e57330bf247fb \
                    sha256  68db082212a96d6f53e35d60f47d38b962e9f9d207a74cfac78029ae8ff5e08c \
                    size    26529443
Error: Failed to checksum icu-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_icu-devel/icu-devel/main.log for details.

Change History (5)

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

Cc: catap removed
Owner: set to catap
Port: icu added
Status: newassigned
Summary: icu-devel: broken checksumsicu, icu-devel @74.2: checksum mismatch

icu and icu-devel are both at the same version and have the same checksums so they are both affected.

The difference between the icu 74.2 distfile we mirrored in December and the one that the developer replaced it with in February is:

% diff -ru macports/icu github/icu
diff: macports/icu/LICENSE: No such file or directory
% ls -l macports/icu/LICENSE github/icu/LICENSE 
-rw-r--r--  1 rschmidt  wheel  25185 Dec 22 12:08 github/icu/LICENSE
lrwxr-xr-x  1 rschmidt  wheel     10 Dec 11 16:27 macports/icu/LICENSE -> ../LICENSE

So: the original release contained a LICENSE symlink pointing to a nonexistent item, while the rerelease contains a LICENSE text file.

The bug was reported here.

It was already mentioned in the Portfile when icu-devel was updated to 74.2 in December and icu was updated to 74.2 in January.

Last edited 3 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 3 months ago by catap (Kirill A. Korinsky)

So, they decided to fix an issue the worst possible way.

:(

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

The simplest fix would be to ignore the stealth update by adding the line master_sites macports_distfiles to the Portfiles (it can go right after the existing master_sites line) until the next version is released.

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

Cc: franckbonin added

Has duplicate #69473.

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

Resolution: fixed
Status: assignedclosed

In 0929209964d4d7dcc01337cd342a8035bc8be3c9/macports-ports (master):

icu: avoid stealth update

Closes: #69344

Note: See TracTickets for help on using tickets.