Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 821571 - sys-apps/portage: ebuild manifest command does not resume partial download
Summary: sys-apps/portage: ebuild manifest command does not resume partial download
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2021-11-04 04:10 UTC by Zac Medico
Modified: 2022-03-05 06:56 UTC (History)
1 user (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 Zac Medico gentoo-dev 2021-11-04 04:10:47 UTC
If theres a partial download with the .__download__ suffix in ${DISTDIR}, then the ebuild manifest command will abort without trying to resume the download.
Comment 1 Larry the Git Cow gentoo-dev 2021-11-08 22:37:42 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=776ede149514db41c9c08276594b43b2682ba1a4

commit 776ede149514db41c9c08276594b43b2682ba1a4
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2021-11-05 04:08:19 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2021-11-05 04:22:48 +0000

    fetch: enable resume for digestgen case
    
    Enable resume for the digestgen case (no digests available), when
    the temporary file exceeds PORTAGE_FETCH_RESUME_MIN_SIZE. This
    fixes a case which caused the ebuild digest command to skip the
    download and fail with a message like this:
    
    !!! File b'/var/cache/distfiles/foo.tar.xz' doesn't exist, can't update Manifest
    
    Bug: https://bugs.gentoo.org/821571
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 lib/portage/package/ebuild/fetch.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)