This only happens in prestrip phase for EAPI=6 and older ebuilds. The content of build-info/NEEDED is with EPREFIX, the following sed should only prepend the paths with D. See the patch attached. Reproducible: Always
Created attachment 792170 [details, diff] estrip-double-prefix.patch
Nit, but git author doesn't match sign off.
Thanks, I'll apply now!
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=095d8c5b040eb399c245db1d3923d6a85747bbcf commit 095d8c5b040eb399c245db1d3923d6a85747bbcf Author: Benda Xu <heroxbd@gentoo.org> AuthorDate: 2022-07-18 15:04:02 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-18 15:16:46 +0000 estrip: fix double prefix The content of build-info/NEEDED is with EPREFIX, the following sed should only prepend the paths with D. Bug: https://bugs.gentoo.org/749624 Bug: https://bugs.gentoo.org/858818 Reference: https://github.com/gentoo/portage/pull/794 Signed-off-by: Benda Xu <heroxbd@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org> bin/estrip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12cec950b69ca41a94fdc756e4025c6ea85c41a1 commit 12cec950b69ca41a94fdc756e4025c6ea85c41a1 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-07-18 21:43:03 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-18 21:43:12 +0000 sys-apps/portage: add 3.0.33 Closes: https://bugs.gentoo.org/858824 Closes: https://bugs.gentoo.org/857933 Closes: https://bugs.gentoo.org/858407 Closes: https://bugs.gentoo.org/858818 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/portage/Manifest | 1 + sys-apps/portage/portage-3.0.33.ebuild | 273 +++++++++++++++++++++++++++++++++ 2 files changed, 274 insertions(+)
(In reply to Sam James from comment #2) > Nit, but git author doesn't match sign off. oops, sorry. Thanks Sam to taking care of the patch!