[MacPorts] #65481: py-pikepdf: checksum fails

MacPorts noreply at macports.org
Sat Feb 25 05:08:18 UTC 2023


#65481: py-pikepdf: checksum fails
--------------------------+-------------------------
  Reporter:  nxexcelsior  |      Owner:  Schamschula
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.7.2
Resolution:               |   Keywords:
      Port:  py-pikepdf   |
--------------------------+-------------------------
Changes (by ryandesign):

 * cc: ryandesign (added)


Comment:

 Replying to [comment:7 Schamschula]:
 > Why are you trying to build {{{py37-pikepdf @7.0.0_0}}}?

 The port version is 6.2.9_1 but it tries to download a newer distfile.

 https://build.macports.org/builders/ports-
 13_arm64-builder/builds/1253/steps/install-port/logs/stdio

 {{{
 --->  Verifying checksums for py37-pikepdf
 DEBUG: Executing org.macports.checksum (py37-pikepdf)
 --->  Checksumming pikepdf-7.1.1.tar.gz
 DEBUG: Calculated (rmd160) is 3fa54bd9c0ea7300382067f9050e5361a02e82d6
 Error: Checksum (rmd160) mismatch for pikepdf-7.1.1.tar.gz
 Portfile checksum: pikepdf-7.1.1.tar.gz rmd160
 79294c2dceb2a0774d8c0579bfa52b0ede7fe68b
 Distfile checksum: pikepdf-7.1.1.tar.gz rmd160
 3fa54bd9c0ea7300382067f9050e5361a02e82d6
 DEBUG: Calculated (sha256) is
 d888d013afc028598515a5e995861aab87a5070fe311b53a66da891ae22794e2
 Error: Checksum (sha256) mismatch for pikepdf-7.1.1.tar.gz
 Portfile checksum: pikepdf-7.1.1.tar.gz sha256
 9872117bc835cdab8732998c03b0f9334556865ed10bf99bf17df90345493c34
 Distfile checksum: pikepdf-7.1.1.tar.gz sha256
 d888d013afc028598515a5e995861aab87a5070fe311b53a66da891ae22794e2
 Portfile checksum: pikepdf-7.1.1.tar.gz size 2906113
 Distfile checksum: pikepdf-7.1.1.tar.gz size 2901248
 DEBUG: Calculated (size) is 2901248
 Error: Checksum (size) mismatch for pikepdf-7.1.1.tar.gz
 The correct checksum line may be:
 checksums           rmd160  3fa54bd9c0ea7300382067f9050e5361a02e82d6 \
                     sha256
 d888d013afc028598515a5e995861aab87a5070fe311b53a66da891ae22794e2 \
                     size    2901248
 Error: Failed to checksum py37-pikepdf: Unable to verify file checksums
 }}}

 I think you need to call `github.setup` again in the py37 section, not
 just change `version`.

-- 
Ticket URL: <https://trac.macports.org/ticket/65481#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list