Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708948 - dev-python/line_profiler-3.0.2 - Fetched file: line_profiler-3.0.2.tar.gz VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 45185 !!! Expected: 44005
Summary: dev-python/line_profiler-3.0.2 - Fetched file: line_profiler-3.0.2.tar.gz VER...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-02-10 10:01 UTC by Amel Hodzic
Modified: 2020-11-18 13:02 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amel Hodzic 2020-02-10 10:01:06 UTC
The Manifest shows the wrong checksum hash for line_profiler-3.0.2.tar.gz

SHA512 7db74c7e34bc0b95b49920330f2c8bf615c84f24e2a10056e1ad9fa7046d1939cb438f45a826faea05e6aedf472560e8d30d15cdd9485073ac81a65c4ae4553b

The actual hash should be db6cd96c7dbab9b0d4844a3283c65dc56724d50ebe1ce439f6a2b3410e96209d812c2baf2795e2c8d78af23e3cd01c67a92aa0aca4533e8e4b661bf2e63f63c1

While the ebuild shows the SRC_URI as a mirror on pypi, I'm guessing that it should match the archive from github.



Reproducible: Always
Comment 1 Benda Xu gentoo-dev 2020-02-10 11:39:18 UTC
What's the story behind github vs pypi SRC_URI?
Comment 2 Andrew Ammerlaan gentoo-dev 2020-02-10 11:54:56 UTC
> What's the story behind github vs pypi SRC_URI?

https://github.com/rkern/line_profiler has latest version 2.1, it says in the README that versions 2.1.2 from pypi don't work. So I initially switched to the github tarballs in my PR, but then I found https://github.com/pyutils/line_profiler which contains the 3.0 versions. The 3.0+ versions on pypi seem to work just fine, so I switched SRC_URI back to the pypi tarballs. Somewhere along the way the manifest seems to have become broken, sorry about that.

In any case the manifest in my new PR (which fixes tests if the package is not yet installed) https://github.com/gentoo/gentoo/pull/14604 seems to work fine ( I re-tested it just now after removing the line_profiler tarballs from distfiles). So if we merge that, it should fix this as well.
Comment 3 Larry the Git Cow gentoo-dev 2020-02-12 01:55:57 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d89b88862a71b6113cf286d729c3a6811fbf14f

commit 4d89b88862a71b6113cf286d729c3a6811fbf14f
Author:     Andrew Ammerlaan <andrewammerlaan@riseup.net>
AuthorDate: 2020-02-09 14:57:31 +0000
Commit:     Benda Xu <heroxbd@gentoo.org>
CommitDate: 2020-02-12 01:55:47 +0000

    dev-python/line_profiler: 3.0.2 fix test and manifest.
    
    Closes: https://github.com/gentoo/gentoo/pull/14604
    Bug: https://bugs.gentoo.org/708948
    
    Package-Manager: Portage-2.3.88, Repoman-2.3.20
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
    Signed-off-by: Benda Xu <heroxbd@gentoo.org>

 dev-python/line_profiler/Manifest                   |  2 +-
 dev-python/line_profiler/line_profiler-3.0.2.ebuild | 17 ++++++++++++++++-
 2 files changed, 17 insertions(+), 2 deletions(-)