Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920493 - baselayout fails to install in stage1 for riscv multilib
Summary: baselayout fails to install in stage1 for riscv multilib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-21 23:33 UTC by Andreas K. Hüttel
Modified: 2024-04-27 23:45 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Hüttel archtester gentoo-dev 2023-12-21 23:33:10 UTC
baselayout fails to install in stage1 for riscv 23.0 (i.e. merged-lib) multilib
nuff said

this is mostly a note/reminder to myself...
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2023-12-22 21:22:19 UTC
Not specific to 23.0 profiles. However, likely specific to merged-usr. 



emerge --quiet --jobs 10 --load-average 32.0 --usepkg --buildpkg --binpkg-respect-use=y --newuse --oneshot --nodeps sys-apps/baselayout
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-apps/baselayout-2.14-r1::gentoo for /tmp/stage1root/
>>> Failed to emerge sys-apps/baselayout-2.14-r1 for /tmp/stage1root/, Log file:
>>>  '/var/log/portage/sys-apps:baselayout-2.14-r1:20231219-105125.log'
ESC[32m * ESC[39;49;00mPackage:    sys-apps/baselayout-2.14-r1:0
ESC[32m * ESC[39;49;00mRepository: gentoo
ESC[32m * ESC[39;49;00mMaintainer: williamh@gentoo.org base-system@gentoo.org
ESC[32m * ESC[39;49;00mUSE:        build elibc_glibc kernel_linux riscv
ESC[32m * ESC[39;49;00mFEATURES:   preserve-libs sandbox userpriv usersandbox
 ESC[32m*ESC[0m symlinking /tmp/stage1root/lib64 to usr/lib64
 ESC[32m*ESC[0m symlinking /tmp/stage1root/lib64 to usr/lib64
/usr/bin/ln: failed to create symbolic link '/tmp/stage1root/lib64': File exists
 ESC[31;01m*ESC[0m ERROR: sys-apps/baselayout-2.14-r1::gentoo failed (setup phase):
 ESC[31;01m*ESC[0m   Unable to make /tmp/stage1root/lib64 symlink
 ESC[31;01m*ESC[0m 
 ESC[31;01m*ESC[0m Call stack:
 ESC[31;01m*ESC[0m                   ebuild.sh, line 136:  Called pkg_setup
 ESC[31;01m*ESC[0m   baselayout-2.14-r1.ebuild, line 191:  Called multilib_layout
 ESC[31;01m*ESC[0m   baselayout-2.14-r1.ebuild, line  74:  Called die
 ESC[31;01m*ESC[0m The specific snippet of code:
 ESC[31;01m*ESC[0m                                              die "Unable to make ${dir} symlink"
 ESC[31;01m*ESC[0m 
 ESC[31;01m*ESC[0m If you need support, post the output of `emerge --info '=sys-apps/baselayout-2.14-r1::gentoo'`,
 ESC[31;01m*ESC[0m the complete build log and the output of `emerge -pqv '=sys-apps/baselayout-2.14-r1::gentoo'`.
 ESC[31;01m*ESC[0m The complete build log is located at '/var/log/portage/sys-apps:baselayout-2.14-r1:20231219-105125.log'.
 ESC[31;01m*ESC[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/baselayout-2.14-r1/temp/build.log'.
 ESC[31;01m*ESC[0m The ebuild environment file is located at '/var/tmp/portage/sys-apps/baselayout-2.14-r1/temp/die.env'.
 ESC[31;01m*ESC[0m Working directory: '/var/tmp/portage/sys-apps/baselayout-2.14-r1/empty'
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2024-04-27 23:45:08 UTC
commit 652b5e27bb7c15574678d9cd837f6e24639e713b
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Fri Feb 9 13:16:31 2024 +0100

    sys-apps/baselayout: Add bugfix for riscv multilib stage builds
    
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sys-apps/baselayout/baselayout-2.14-r3.ebuild | 364 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sys-apps/baselayout/baselayout-9999.ebuild    |  18 ++++++--
 2 files changed, 379 insertions(+), 3 deletions(-)