The rizin-0.3.2 ebuild has: EAPI=8 [snip] SRC_URI="mirror+https://github.com/rizinorg/rizin/releases/download/v${PV}/rizin-src-v${PV}.tar.xz test? ( https://github.com/rizinorg/rizin-testbins/archive/${BINS_COMMIT}.tar.gz -> rizin-testbins-${BINS_COMMIT}.tar.gz )" [snip] # Need to audit licenses of the binaries used for testing RESTRICT="fetch !test? ( test )" The source tarball should be fetchable and mirrorable, but emerge reports it as unfetchable: ~ # emerge -pv rizin These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild RF ] dev-util/rizin-0.3.2:0/0.3.2::gentoo USE="(-test)" 62,667 KiB Total: 1 package (1 reinstall), Size of downloads: 62,667 KiB Fetch Restriction: 1 package (1 unsatisfied) Fetch instructions for dev-util/rizin-0.3.2: * The following files cannot be fetched for rizin: * rizin-src-v0.3.2.tar.xz * Messages for package dev-util/rizin-0.3.2: * The following files cannot be fetched for rizin: * rizin-src-v0.3.2.tar.xz But emerge can fetch the tarball successfully if I drop the -p, so this seems to only be an output issue.
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(-)