Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907252 - net-nntp/pan-0.154-r1: Download doesn't match expected filesize
Summary: net-nntp/pan-0.154-r1: Download doesn't match expected filesize
Status: RESOLVED UPSTREAM
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Joe Kappus
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-27 16:24 UTC by Emil Jacobs
Modified: 2023-08-04 22:33 UTC (History)
0 users

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 Emil Jacobs 2023-05-27 16:24:44 UTC
!!! Fetched file: pan-v0.154.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      1787849
!!! Expected: 1787904
Refetching... File renamed to '/var/cache/distfiles/pan-v0.154.tar.bz2._checksum_failure_.65h2dk5q'

Seems like a checksum mismatch.
Comment 1 Joe Kappus 2023-05-28 07:33:13 UTC
I think this is a gitlab issue where it regenerates the tarball (changing the checksum). It doesn't look like the release was retagged.

I'm going to regenerate the manifest right now but leave the bug open because it will break at some point. I'll ask upstream to have their gitlab generate releases because I can see void and arch have different checksums for the same file:

Arch: https://gitlab.archlinux.org/archlinux/packaging/packages/pan/-/blob/main/PKGBUILD

Void: https://github.com/void-linux/void-packages/blob/master/srcpkgs/pan/template

(they both use sha256sum)
Comment 2 Larry the Git Cow gentoo-dev 2023-05-28 15:01:05 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b47b5ba82727a77b2c777b66be62796799fbcf9a

commit b47b5ba82727a77b2c777b66be62796799fbcf9a
Author:     Joe Kappus <joe@wt.gd>
AuthorDate: 2023-05-28 07:35:26 +0000
Commit:     Joe Kappus <joe@wt.gd>
CommitDate: 2023-05-28 07:35:26 +0000

    net-nntp/pan: update Manifest
    
    Bug: https://bugs.gentoo.org/907252
    Signed-off-by: Joe Kappus <joe@wt.gd>

 net-nntp/pan/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Joe Kappus 2023-08-04 22:33:58 UTC
This hasn't broken again and upstream is aware of how the issue might happen in the future.