In commit b736fab6, the full path is used of do_emerge_pkgs(). It is OK for stage3. However, in stage2 the EPREFIX is "${ROOT}"/tmp, which causes the duplicate "tmp" in path. Maybe a conditional statement for distinguishing stage2 and stage3 is required. Reproducible: Always Actual Results: Bootstrap interrupted in stage 2
thanks for pointing that out, it seems that changes wasn't very well tested, sorry!
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=7032312c7616e5d19a62ada3b0bf594035bc984c commit 7032312c7616e5d19a62ada3b0bf594035bc984c Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2024-05-28 03:21:05 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2024-05-28 03:21:05 +0000 scripts/bootstrap-prefix: attempt to fix b736fab6 do_emerge_pkgs Use ROOT, which should be the same between stages, such that we don't reference tmp/tmp. Thanks huxnu for pointing out. Bug: https://bugs.gentoo.org/933079 Signed-off-by: Fabian Groffen <grobian@gentoo.org> scripts/bootstrap-prefix.sh | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-)