Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 765658 - sys-apps/portage: "ebuild ... manifest" doesn't resume download
Summary: sys-apps/portage: "ebuild ... manifest" doesn't resume download
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
Depends on:
Reported: 2021-01-16 18:05 UTC by Nikita Zlobin
Modified: 2021-01-16 18:05 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Zlobin 2021-01-16 18:05:23 UTC
This ebuild command to update manifest usually downloads sources:
$ ebuild file.ebuild manifest

However, if previous download was interrupted (e.g. by lost internet connection), subsequent attempts end with such error:
!!! File b'/path' doesn't exist, can't update Manifest

There was quetion forum topic since nearly 2013, but no answers are even close to problem (including question, what 'b' in begining means). It starts working only after temporary file '/path.__download__' is removed from distfiles dir. Until next iterruption.

This problem affects me always due to hardware/bios bug, when wifi irq process freezes after some usage, with only working solutions - suspend or reboot. I handled this by writing dedicated watchdong, doing suspend & wake when cpu usage for that irq is above threshold.
Back to portage - when doing regular emerge, I usually keep monitoring emerge-fetch.log, manually interrupting and restarting emerge if there are unfinished downloads after each suspend/wake cycle. Emerge has no problem resuming downloads, which is not case for ebuild manifest.