Opened 3 months ago

Last modified 3 months ago

#70520 assigned defect

py-feedparser: checksum mismatch

Reported by: barracuda156 Owned by: kurthindenburg (Kurt Hindenburg)
Priority: Normal Milestone:
Component: ports Version: 2.10.0
Keywords: Cc:
Port: py-feedparser

Description

--->  Fetching distfiles for py27-feedparser
--->  feedparser-5.2.1.tar.gz does not exist in /opt/local/var/macports/distfiles/py-feedparser
--->  Attempting to fetch feedparser-5.2.1.tar.gz from https://github.com/kurtmckee/feedparser/archive/6.0.11
  % 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  247k    0  247k    0     0   225k      0 --:--:--  0:00:01 --:--:--  366k
--->  Verifying checksums for py27-feedparser
--->  Checksumming feedparser-5.2.1.tar.gz
Error: Checksum (rmd160) mismatch for feedparser-5.2.1.tar.gz
Portfile checksum: feedparser-5.2.1.tar.gz rmd160 22f74a36800fc02a57a69a16f3b793c23b863375
Distfile checksum: feedparser-5.2.1.tar.gz rmd160 b3df488d869882a31f2c1b71511339682aa1ea27
Error: Checksum (sha256) mismatch for feedparser-5.2.1.tar.gz
Portfile checksum: feedparser-5.2.1.tar.gz sha256 53a133aed63977066b772b44e8b4d7e2d9c3e1ab80a6a549a8f587db4bc8956f
Distfile checksum: feedparser-5.2.1.tar.gz sha256 7474d23c879a4a7a2367801b417e2797c4abf25449e516d1b9139a3873af7ade
Error: Checksum (size) mismatch for feedparser-5.2.1.tar.gz
Portfile checksum: feedparser-5.2.1.tar.gz size 249223
Distfile checksum: feedparser-5.2.1.tar.gz size 253205
The correct checksum line may be:
checksums           rmd160  b3df488d869882a31f2c1b71511339682aa1ea27 \
                    sha256  7474d23c879a4a7a2367801b417e2797c4abf25449e516d1b9139a3873af7ade \
                    size    253205
Error: Failed to checksum py27-feedparser: Unable to verify file checksums

Change History (2)

comment:1 Changed 3 months ago by barracuda156

Somehow it uses a wrong tarball, this is a checksum for a newer version. Correct is this one (but portfile still has it mismatched):

checksums           rmd160  5a459330ed5feb5511a88c544adb0bbb05f9777b \
                    sha256  09367f95e58b9c5f70da70061d3e7f397ed8ec5d3c970e231ef011ff62de462f \
                    size    249338

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

This is what happens when you try to call github.setup multiple times which is why you shouldn't do that, and why generally python module ports avoid the github portgroup entirely and fetch from pecl instead.

Note: See TracTickets for help on using tickets.