Opened 7 months ago
Closed 7 months ago
#69775 closed defect (fixed)
openimageio @2.1.20.0: checksum mismatch
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | Cc: | mohd-akram (Mohamed Akram) | |
Port: | openimageio |
Description
https://build.macports.org/builders/jobs-mirror/builds/742209/steps/mirror/logs/stdio
---> Attempting to fetch OpenImageIO-2.1.20.0.tar.gz from http://distfiles.macports.org/openimageio % 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 OpenImageIO-2.1.20.0.tar.gz from https://github.com/AcademySoftwareFoundation/OpenImageIO/archive/v2.1.20.0 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 27.7M 0 38230 0 0 18359 0 0:26:25 0:00:02 0:26:23 39331 3 27.7M 3 863k 0 0 280k 0 0:01:41 0:00:03 0:01:38 439k 10 27.7M 10 3024k 0 0 745k 0 0:00:38 0:00:04 0:00:34 1026k 27 27.7M 27 7726k 0 0 1526k 0 0:00:18 0:00:05 0:00:13 1955k 39 27.7M 39 11.1M 0 0 1882k 0 0:00:15 0:00:06 0:00:09 2305k 70 27.7M 70 19.6M 0 0 2856k 0 0:00:09 0:00:07 0:00:02 4050k 100 27.7M 100 27.7M 0 0 3555k 0 0:00:07 0:00:07 --:--:-- 5601k ---> Checksumming OpenImageIO-2.1.20.0.tar.gz Error: Checksum (rmd160) mismatch for OpenImageIO-2.1.20.0.tar.gz Portfile checksum: OpenImageIO-2.1.20.0.tar.gz rmd160 d10c488b93ab2335d53545d8a1b35ba4c1babb98 Distfile checksum: OpenImageIO-2.1.20.0.tar.gz rmd160 7f241baddcc6e731a29fb37090e4582953560f38 Error: Checksum (sha256) mismatch for OpenImageIO-2.1.20.0.tar.gz Portfile checksum: OpenImageIO-2.1.20.0.tar.gz sha256 75222543286d3a12473aa03fdb4e6c9f98760c5ad1ad89d3cf82a5da41385ae0 Distfile checksum: OpenImageIO-2.1.20.0.tar.gz sha256 0ad46bda55d6357a3c474b8c8ccbb41d9732313247cffaf4a65fc50e6aad9e78 Portfile checksum: OpenImageIO-2.1.20.0.tar.gz size 29115990 Distfile checksum: OpenImageIO-2.1.20.0.tar.gz size 29116032 Error: Checksum (size) mismatch for OpenImageIO-2.1.20.0.tar.gz The correct checksum line may be: checksums rmd160 7f241baddcc6e731a29fb37090e4582953560f38 \ sha256 0ad46bda55d6357a3c474b8c8ccbb41d9732313247cffaf4a65fc50e6aad9e78 \ size 29116032 Error: Failed to mirror openimageio: portmirror: checksum failed: Unable to verify file checksums
Change History (5)
comment:1 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mohd-akram added |
---|
comment:2 Changed 7 months ago by mohd-akram (Mohamed Akram)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | fixed |
---|---|
Status: | closed → reopened |
But you can't just change the checksums when you change the contents of a distfile. This is a stealth update.
comment:4 follow-up: 5 Changed 7 months ago by mohd-akram (Mohamed Akram)
I think it was a stealth update before my PR. Since the PR changed the name of the GitHub project from oiio to OpenImageIO, the name of the distfile also changed.
comment:5 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Replying to mohd-akram:
I think it was a stealth update before my PR.
Ah you're right. Upstream changing the name of their repository is what caused the enclosing directory name to be changed. The archive
value of github.tarball_from
insulates us against developers moving their repository to a different GitHub developer name but does not insulate us from repository name changes. The only insulation from that would be if upstream provided their own release tarballs. Unfortunately, openimageio doesn't. I've suggested they do so in the upstream issue: https://github.com/AcademySoftwareFoundation/OpenImageIO/issues/4003
Since the PR changed the name of the GitHub project from oiio to OpenImageIO, the name of the distfile also changed.
Right again. I misremembered the default distfile name of the github portgroup. I thought it was based on the port name, but it is indeed based on the GitHub project name.
My apologies. I need more coffee.
The difference between the old and new files is the name of the enclosing directory, which used to be oiio-2.1.20.0 and is now OpenImageIO-2.1.20.0. This problem was caused by [41c2d0da6bcc085d8bd4be8e1086ac87e27d9c3b/macports-ports].