Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927326 - [guru] games-emulation/conty-1.25.2 fetches file(s) that do not match recorded size
Summary: [guru] games-emulation/conty-1.25.2 fetches file(s) that do not match recorde...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Vitaly Zdanevich
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-20 08:30 UTC by Agostino Sarubbo
Modified: 2024-03-21 23:06 UTC (History)
3 users (show)

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


Attachments
build.log.xz (build.log.xz,50.93 KB, application/x-xz)
2024-03-20 08:30 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 2024-03-20 08:30:19 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-emulation/conty-1.25.2 fetches file(s) that do not match recorded size.
Discovered on: amd64 (internal ref: guru_ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0018
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-20 08:30:20 UTC
Created attachment 887964 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-20 08:30:21 UTC
Error(s) that match a know pattern:


!!! Reason: Filesize does not match recorded size
Comment 3 Vitaly Zdanevich 2024-03-20 11:09:25 UTC
Looks like temp problem, in log I see that was downloaded 617 MB - the real file  size is 1.4G

From the log:

```
1367550K .......... .......... .......... .......... .......... 99%  475M 0s
1367600K .......... .......... .......... .......... .......... 99%  606M 0s
1367650K .......... .......... .......... .......... .......... 99%  630M 0s
1367700K .......... .......... .......... .......... .......... 99%  574M 0s
1367750K .......... .......... .......... .......... .......... 99%  587M 0s
1367800K .......... .......... .......... .......... .......... 99%  615M 0s
1367850K .......... .......... .......... .......... .......... 99%  614M 0s
1367900K .......... .......... .......... .......... .......... 99%  617M 0s
1367950K .......... .......... ....                            100%  475M=2.9s

2024-03-20 01:19:34 (466 MB/s) - ‘/usr/portage/distfiles/conty_lite_dwarfs.sh.__download__’ saved [1400806116/1400806116]

!!! Fetched file: conty_lite_dwarfs.sh VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      1400806116
!!! Expected: 1406491989
Refetching... File renamed to '/usr/portage/distfiles/conty_lite_dwarfs.sh._checksum_failure_.095oy16g'
```
Comment 4 Takuya Wakazono 2024-03-20 11:32:26 UTC
No. The file has been downloaded correctly.
Your Manifest still has 1.25.1 distfile.
Comment 5 Vitaly Zdanevich 2024-03-20 12:23:55 UTC
Hm, I did

ebuild conty-1.25.2.ebuild manifest

but Manifest did not change..
Comment 6 Vitaly Zdanevich 2024-03-20 12:27:41 UTC
See official Releases page https://github.com/Kron4ek/Conty/releases

conty_lite_dwarfs.sh is 1.3 GB
Comment 7 Takuya Wakazono 2024-03-20 12:57:53 UTC
> Looks like temp problem, in log I see that was downloaded 617 MB - the real file  size is 1.4G
617 MB is not the file size, but download speed (617 MB/s).

> but Manifest did not change..
It's because the filename is the same as previous version. You should add version to the name the distfile.
ex. conty_lite_dwarfs-1.25.2.sh
Comment 8 Takuya Wakazono 2024-03-20 13:05:07 UTC
or you can recreate Manifest file by `ebuild conty-1.25.2.ebuild manifest --force`.
Comment 9 Takuya Wakazono 2024-03-20 13:13:07 UTC
(In reply to Takuya Wakazono from comment #8)
> or you can recreate Manifest file by `ebuild conty-1.25.2.ebuild manifest
> --force`.
You probably can't do this because you have already downloaded the distfile. Forget about it.
Comment 10 Larry the Git Cow gentoo-dev 2024-03-21 23:06:45 UTC
The bug has been closed via the following commit(s):

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

commit 12fce83847989247b8bed7f972a267f3129794db
Author:     Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
AuthorDate: 2024-03-20 14:21:56 +0000
Commit:     Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
CommitDate: 2024-03-20 14:21:56 +0000

    games-emulation/conty: every version - executable name different
    
    Closes: https://bugs.gentoo.org/927326
    Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>

 games-emulation/conty/Manifest            | 3 ++-
 games-emulation/conty/conty-1.25.1.ebuild | 4 ++--
 games-emulation/conty/conty-1.25.2.ebuild | 4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)