Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 901125 - [guru] app-text/epubgrep-0.6.2 fetches file(s) that do not match recorded size
Summary: [guru] app-text/epubgrep-0.6.2 fetches file(s) that do not match recorded size
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: tea
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-14 08:54 UTC by Agostino Sarubbo
Modified: 2023-03-14 16:35 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,3.13 KB, text/plain)
2023-03-14 08:54 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-03-14 08:54:09 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-text/epubgrep-0.6.2 fetches file(s) that do not match recorded size.
Discovered on: amd64 (internal ref: guru_tinderbox)

NOTE:
While the resolution of this bug may be trivial I'd like to suggest to pay attention at WHY and if it is the case of a tarball fraudulently replaced (hacked mirror).
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-14 08:54:11 UTC
Created attachment 857569 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-03-14 08:54:12 UTC
Error(s) that match a know pattern:


 * Fetch failed for 'app-text/epubgrep-0.6.2', Log file:
!!! Reason: Filesize does not match recorded size
Comment 3 tea 2023-03-14 12:10:53 UTC
Git 2.38 changed from external gzip to internal gzip implementation.[1] The Gitea instance's host upgraded to dev-vcs/git-2.38.2 on 2022-12-20. The archives are broken since then, presumably.

I have verified that
  git archive --format=tar --prefix=epubgrep/ 0.6.2 | gzip > epubgrep-0.6.2.tar.gz
has the same hash as the old file and
  git archive --format=tar.gz --prefix=epubgrep/ 0.6.2 > epubgrep-0.6.2.tar.gz
has the same hash as the new file. I tested this with my local copy of the git repo that i have not fetched into since before i generated the Manifest.

[1] <https://lwn.net/Articles/921787/>
Comment 4 Larry the Git Cow gentoo-dev 2023-03-14 16:35:38 UTC
The bug has been closed via the following commit(s):

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

commit ede3595c50c13ed90161e8f6231e5beb4d7a7852
Author:     Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
AuthorDate: 2023-03-14 12:13:56 +0000
Commit:     Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
CommitDate: 2023-03-14 12:21:56 +0000

    app-text/epubgrep: update Manifest
    
    Closes: https://bugs.gentoo.org/901125
    Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>

 app-text/epubgrep/Manifest | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)