#68617 closed defect (fixed)

py-pdfminer @20221105: checksum mismatch

Reported by: cooljeanius (Eric Gallager) Owned by: eborisch (Eric A. Borisch)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: py-pdfminer

Description

When trying to upgrade py310-pdfminer, it fails in the checksum step with the following error:

DEBUG: checksum phase started at Wed Nov  1 20:13:10 EDT 2023
--->  Verifying checksums for py310-pdfminer
DEBUG: Executing org.macports.checksum (py310-pdfminer)
--->  Checksumming pdfminer.six-20221105.tar.gz
DEBUG: Calculated (rmd160) is 4e058de64eaf449acd0041c676067e441e9c4493
Error: Checksum (rmd160) mismatch for pdfminer.six-20221105.tar.gz
Portfile checksum: pdfminer.six-20221105.tar.gz rmd160 31e26ab1ff6e93ae882692f5f1df04c66636fc1f
Distfile checksum: pdfminer.six-20221105.tar.gz rmd160 4e058de64eaf449acd0041c676067e441e9c4493
DEBUG: Calculated (sha256) is 64a59ca8fbb1b81f1826971a0443424663ad80f14bd891a13201b9bae9b757b8
Error: Checksum (sha256) mismatch for pdfminer.six-20221105.tar.gz
Portfile checksum: pdfminer.six-20221105.tar.gz sha256 4853dec1240f4c6d2d00c9116a565bd9a2a0c16476dcc234410bad5e49b5a7a6
Distfile checksum: pdfminer.six-20221105.tar.gz sha256 64a59ca8fbb1b81f1826971a0443424663ad80f14bd891a13201b9bae9b757b8
DEBUG: Calculated (size) is 10858387
Error: Checksum (size) mismatch for pdfminer.six-20221105.tar.gz
Portfile checksum: pdfminer.six-20221105.tar.gz size 10853262
Distfile checksum: pdfminer.six-20221105.tar.gz size 10858387
The correct checksum line may be:
checksums           rmd160  4e058de64eaf449acd0041c676067e441e9c4493 \
                    sha256  64a59ca8fbb1b81f1826971a0443424663ad80f14bd891a13201b9bae9b757b8 \
                    size    10858387
Error: Failed to checksum py310-pdfminer: Unable to verify file checksums
DEBUG: Error code: NONE
DEBUG: Backtrace: Unable to verify file checksums
    while executing
"$procedure $targetname"

Similar errors happen for py311-pdfminer (when upgrading the versionless py-pdfminer), too.

Change History (2)

comment:1 Changed 12 months ago by jmroot (Joshua Root)

Cc: eborisch removed
Owner: set to eborisch
Status: newassigned

It's using an autogenerated github tarball. Downloading from pypi instead would prevent this happening in future. https://pypi.org/project/pdfminer.six/

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

Resolution: fixed
Status: assignedclosed

In 254f8566730530910d43481f92453b40b85e582d/macports-ports (master):

py-pdfminer: fetch from pypi, fix checksums

Also add missing deps.

See: https://github.com/macports/macports-ports/pull/20792
Closes: #68617

Note: See TracTickets for help on using tickets.