Summary: | sys-apps/portage: emerge reports "mirror+" URLs as unfetchable, but can fetch them | ||
---|---|---|---|
Product: | Portage Development | Reporter: | John Helmert III <ajak> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 377365 |
Description
John Helmert III
2022-01-08 10:45:01 UTC
There's this code inside lib/_emerge/resolver/output.py that doesn't account for mirror+ yet:
> if not pkg.built and pkg.operation == "merge" and "fetch" in pkg.restrict:
> if pkg_info.ordered:
> self.counters.restrict_fetch += 1
> pkg_info.attr_display.fetch_restrict = True
> if not self.portdb.getfetchsizes(
> pkg.cpv, useflags=pkg_info.use, myrepo=pkg.repo
> ):
> pkg_info.attr_display.fetch_restrict_satisfied = True
> if pkg_info.ordered:
> self.counters.restrict_fetch_satisfied += 1
> else:
> if pkg_info.ebuild_path is not None:
> self.restrict_fetch_list[pkg] = pkg_info
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=518e078d14bed66819f979d2012bff69a838c205 commit 518e078d14bed66819f979d2012bff69a838c205 Author: John Helmert III <ajak@gentoo.org> AuthorDate: 2023-02-19 00:52:12 +0000 Commit: John Helmert III <ajak@gentoo.org> CommitDate: 2023-02-19 00:57:56 +0000 dev-util/rizin: add a workaround for portage display issue Bug: https://bugs.gentoo.org/830763 Thanks-To: Maciej Barć <xgqt@gentoo.org> Signed-off-by: John Helmert III <ajak@gentoo.org> dev-util/rizin/rizin-0.4.1.ebuild | 4 ++-- dev-util/rizin/rizin-0.5.0.ebuild | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) |