Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927957 - bootstrap-prefix.sh using the shortcut fails with "/home/user/gentoo/tmp/usr/lib64 should be a symlink to lib"
Summary: bootstrap-prefix.sh using the shortcut fails with "/home/user/gentoo/tmp/usr/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-27 12:38 UTC by Florian Schmaus
Modified: 2024-03-29 11:52 UTC (History)
1 user (show)

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


Attachments
stage1.log (stage1.log,245 bytes, text/x-log)
2024-03-27 12:38 UTC, Florian Schmaus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Schmaus gentoo-dev 2024-03-27 12:38:34 UTC
Created attachment 888766 [details]
stage1.log

Creating a new prefix installation using the shortcut, i.e., when the host itself is a Gentoo installation, fails with /home/user/gentoo/tmp/usr/lib64 should be a symlink to lib".

This check was added with https://gitweb.gentoo.org/repo/proj/prefix.git/diff/?id=15ae1999d07446d243021983ee77d89f2335f141

I wonder if it is still required, as I was able to boostrap prefix with the check removed.
Comment 1 Fabian Groffen gentoo-dev 2024-03-27 13:37:40 UTC
Hmmm, but why is your lib64 not a symlink?  Who created it?
Comment 2 Florian Schmaus gentoo-dev 2024-03-27 13:44:46 UTC
(In reply to Fabian Groffen from comment #1)
> Hmmm, but why is your lib64 not a symlink?  Who created it?

Using the shortcut links prefix's ROOT/tmp to HOST_GENTOO_ROOT: https://github.com/gentoo/prefix/blob/bf8c6e96498309932dbdc975462ef93eb0c1c347/scripts/bootstrap-prefix.sh#L1411

And on my Gentoo host /usr/lib64 is not a symlink.
Comment 3 Larry the Git Cow gentoo-dev 2024-03-29 11:52:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=fc8ff18f3a1a54c592dcfdb3a5c0a514de6f0ad7

commit fc8ff18f3a1a54c592dcfdb3a5c0a514de6f0ad7
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2024-03-29 11:51:23 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2024-03-29 11:51:23 +0000

    scripts/bootstrap-prefix: fix Gentoo host shortcut path
    
    Thanks flow for pointing out.
    
    Closes: https://bugs.gentoo.org/927957
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 scripts/bootstrap-prefix.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)