Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946482 - sys-apps/attr-2.5.2-r1: Installs to /bin when the crossdev profile is set to use merged-usr
Summary: sys-apps/attr-2.5.2-r1: Installs to /bin when the crossdev profile is set to ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-14 19:39 UTC by zen
Modified: 2024-12-14 20:08 UTC (History)
1 user (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 zen 2024-12-14 19:39:11 UTC
crossdev --target aarch64-generic-linux-gnu
PORTAGE_CONFIGROOT=/usr/aarch64-generic-linux-gnu eselect profile set default/linux/arm64/23.0 
aarch64-generic-linux-gnu-emerge -v1 sys-libs/glibc
aarch64-generic-linux-gnu-emerge -v1 @system

fails after sys-apps-attr because it installs to /bin:

>>> Installing (40 of 154) sys-apps/attr-2.5.2-r1::gentoo to /usr/aarch64-generic-linux-gnu/
 * checking 23 files for package collisions
>>> Merging sys-apps/attr-2.5.2-r1 to /usr/aarch64-generic-linux-gnu/
>>> /usr/aarch64-generic-linux-gnu/bin/
>>> /usr/aarch64-generic-linux-gnu/bin/setfattr
>>> /usr/aarch64-generic-linux-gnu/bin/getfattr
>>> /usr/aarch64-generic-linux-gnu/bin/attr

...


* Messages for package dev-libs/gmp-6.3.0-r1 merged to /usr/aarch64-generic-linux-gnu/:

 * 
 * Your profile is of type merged-usr, but your directories
 * on-disk are of type split-usr.
 * Please switch back to your last valid profile setting and
 * read the documentation about merged-usr and profile changes.
 * 
 * ERROR: dev-libs/gmp-6.3.0-r1::gentoo failed (setup phase):
 *   ERROR: 23.0 merged-usr profile, but disk is split-usr
 * 
 * Call stack:
 *        ebuild.sh, line 606:  Called __source_all_bashrcs
 *        ebuild.sh, line 426:  Called __try_source '/var/db/repos/gentoo/profiles/releases/23.0/profile.bashrc'
 *        ebuild.sh, line 487:  Called __qa_source '/var/db/repos/gentoo/profiles/releases/23.0/profile.bashrc'
 *        ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/profiles/releases/23.0/profile.bashrc'
 *   profile.bashrc, line  44:  Called die
 * The specific snippet of code:
 *   		die "ERROR: 23.0 merged-usr profile, but disk is split-usr"

I was able to temporarily resole this by moving the contents of /bin to /usr/bin .
Comment 1 zen 2024-12-14 20:08:15 UTC
I think this is caused by baselayout being emerged without the build USE flag