Opened 4 years ago

Closed 4 years ago

#60444 closed defect (fixed)

py38-llvmlite @0.32.0: checksum failure

Reported by: mfacorcoran Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: py-llvmlite

Description

I was trying to install py38-numba but got a checksum error on one of the dependencies, py38-llvmlite:

Error: Checksum (rmd160) mismatch for llvmlite-0.32.0.tar.gz
Error: Checksum (sha256) mismatch for llvmlite-0.32.0.tar.gz
Error: Checksum (size) mismatch for llvmlite-0.32.0.tar.gz
Error: Failed to checksum py38-llvmlite: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_github.com_macports_macports-ports_python_py-llvmlite/py38-llvmlite/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port py38-numba failed

Attachments (1)

main.log (3.1 KB) - added by mfacorcoran 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by mfacorcoran

Attachment: main.log added

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

Owner: set to stromnov
Port: py-llvmlite added
Priority: HighNormal
Status: newassigned
Summary: checksum failure for py38-llvmlitepy38-llvmlite @0.32.0: checksum failure
Version: 2.6.2

Confirmed. Here is the difference between the copy of the file we mirrored on April 20, 2020 and the one now on GitHub:

--- 0/numba-llvmlite-78426de/llvmlite/_version.py	2020-04-15 13:37:27.000000000 -0500
+++ 1/numba-llvmlite-78426de/llvmlite/_version.py	2020-04-15 13:37:27.000000000 -0500
@@ -9,7 +9,7 @@
 # versioneer-0.12 (https://github.com/warner/python-versioneer)

 # these strings will be replaced by git during git-archive
-git_refnames = " (tag: v0.32.0, release0.32)"
+git_refnames = " (tag: v0.32.0)"
 git_full = "26059d238f4ba23dff74703dd27168591d889edd"

 # these strings are filled in when 'setup.py versioneer' creates _version.py

The file in their repository actually has the following contents:

# these strings will be replaced by git during git-archive
git_refnames = "$Format:%d$"
git_full = "$Format:%H$"

So apparently $Format:%d$ and $Format:%H$ get replaced at the time that GitHub creates the archive. And it looks like something changed between April 20 and now. I would guess that on April 20 the repository contained two tags, one named v0.32.0 and another named release0.32, both pointing to the 0.32.0 code, and that some time between then and now the release0.32 tag was removed.

I guess we have to handle this as a stealth update. Or if the next version is released soon we could just wait for that. The changelog says version 0.32.1 will be released tomorrow.

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

0.32.1 was released. Andrew, could you update the port to that version to fix this problem?

comment:3 Changed 4 years ago by stromnov (Andrey Stromnov)

Resolution: fixed
Status: assignedclosed

In 320979c13a0f9c96c3f1432618a2bd131f179bb9/macports-ports (master):

py-llvmlite: update to 0.32.1

Closes: #60444

Note: See TracTickets for help on using tickets.