Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 798969 - games-fps/eduke32-20210624.9393: VERIFY FAILED!
Summary: games-fps/eduke32-20210624.9393: VERIFY FAILED!
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-28 01:27 UTC by BT
Modified: 2021-06-28 19:19 UTC (History)
1 user (show)

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


Attachments
EBuild with new SRC_URI which is insensitive to latest release (eduke32-20210624.9393-r1.ebuild,5.65 KB, text/plain)
2021-06-28 18:44 UTC, David Turner
Details
Patch for SRC_URI as per modified ebuild (ebuild.patch,877 bytes, patch)
2021-06-28 18:46 UTC, David Turner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description BT 2021-06-28 01:27:39 UTC
It appears that eduke32_src_20210624-9393-39e8f1852.tar.xz doesn't exist anymore.

>>> Downloading 'http://dukeworld.com/eduke32/synthesis/latest/eduke32_src_20210624-9393-39e8f1852.tar.xz'
--2021-06-28 11:12:20--  http://dukeworld.com/eduke32/synthesis/latest/eduke32_src_20210624-9393-39e8f1852.tar.xz
Resolving dukeworld.com... 212.8.242.16
Connecting to dukeworld.com|212.8.242.16|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: / [following]
--2021-06-28 11:12:21--  http://dukeworld.com/
Reusing existing connection to dukeworld.com:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘/var/cache/distfiles/eduke32_src_20210624-9393-39e8f1852.tar.xz.__download__’

/var/cache/distfile     [ <=>                ]   8.99K  --.-KB/s    in 0.001s  

2021-06-28 11:12:21 (7.84 MB/s) - ‘/var/cache/distfiles/eduke32_src_20210624-9393-39e8f1852.tar.xz.__download__’ saved [9201]

!!! Fetched file: eduke32_src_20210624-9393-39e8f1852.tar.xz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      9201
!!! Expected: 20562500
Refetching... File renamed to '/var/cache/distfiles/eduke32_src_20210624-9393-39e8f1852.tar.xz._checksum_failure_.4yhgprft'

!!! Couldn't download 'eduke32_src_20210624-9393-39e8f1852.tar.xz'. Aborting.
Comment 1 David Turner 2021-06-28 18:41:20 UTC
Occurred here as well. 

The cause is that the ebuild has a SRC_URI which contains "/latest/" in
the URL so will only work reliably if the eduke32 ebuild version matches
the last release.

To fix this, the SRC_URI can be updated to match without using the latest
path which looks to be a symlink on the server side.

This previously probably didn't cause an issue as the distfiles mirroring
occurred before the next release and thus users got the source from the
mirrors.

@BT: You can work around this by downloading the source package from here
and placing this in the portage distfiles directory:
https://dukeworld.duke4.net/eduke32/synthesis/20210624-9393-39e8f1852/eduke32_src_20210624-9393-39e8f1852.tar.xz
Comment 2 David Turner 2021-06-28 18:44:18 UTC
Created attachment 719868 [details]
EBuild with new SRC_URI which is insensitive to latest release
Comment 3 David Turner 2021-06-28 18:46:54 UTC
Created attachment 719871 [details, diff]
Patch for SRC_URI as per modified ebuild
Comment 4 Larry the Git Cow gentoo-dev 2021-06-28 19:19:24 UTC
The bug has been closed via the following commit(s):

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

commit ee60ed2e115c430c390d32696ea3a48d80863388
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2021-06-28 19:18:37 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2021-06-28 19:18:37 +0000

    games-fps/eduke32: fix SRC_URI
    
    Closes: https://bugs.gentoo.org/798969
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 games-fps/eduke32/eduke32-20210624.9393.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)