Opened 6 months ago

Last modified 5 months ago

#70091 assigned defect

py27-feedparser: checksum mismatch

Reported by: barracuda156 Owned by: kurthindenburg (Kurt Hindenburg)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc:
Port: py27-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   290k      0 --:--:-- --:--:-- --:--:--  411k
--->  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

Change History (3)

comment:1 Changed 6 months ago by barracuda156

And then it also fails to install:

--->  Building py27-feedparser
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-feedparser/py27-feedparser/work/feedparser-5.2.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build 
  File "setup.py", line 40
    name = f"{name}_{os.getenv('NAME_SUFFIX')}"
                                              ^
SyntaxError: invalid syntax
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-feedparser/py27-feedparser/work/feedparser-5.2.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build 
Exit code: 1
Error: Failed to build py27-feedparser: command execution failed

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

--->  Attempting to fetch feedparser-5.2.1.tar.gz from https://github.com/kurtmckee/feedparser/archive/6.0.11

It's actually downloading 6.0.11 based on the URL being used. IIRC calling github.setup multiple times doesn't work well. Any reason not to download all versions from PyPI?

Last edited 6 months ago by jmroot (Joshua Root) (previous) (diff)

comment:3 in reply to:  2 Changed 5 months ago by barracuda156

Replying to jmroot:

--->  Attempting to fetch feedparser-5.2.1.tar.gz from https://github.com/kurtmckee/feedparser/archive/6.0.11

It's actually downloading 6.0.11 based on the URL being used. IIRC calling github.setup multiple times doesn't work well. Any reason not to download all versions from PyPI?

Oh, I do not know anything about this port, it was just pulled in as a dependency for something else I tried to build. Whichever way it is fixable gonna do. As I understand, python27 needs a somewhat earlier version of the port, maybe PyPi does not carry it?

Note: See TracTickets for help on using tickets.