Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931691 - sys-apps/shadow: Fails to install after rebuild on new installation with "default/linux/amd64/17.1/desktop" profile
Summary: sys-apps/shadow: Fails to install after rebuild on new installation with "def...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-10 19:14 UTC by Ingebrigt
Modified: 2024-05-10 23:01 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 Ingebrigt 2024-05-10 19:14:22 UTC
I am in the process of installing Gentoo to my new laptop and decided to do a @world rebuild with -march=native after first boot.

sys-apps/shadow failed to install the compiled files with the following error message:

 * Package 'sys-apps/shadow-4.14.2' has internal collisions between non-
 * identical files (located in separate directories in the installation
 * image (${D}) corresponding to merged directories in the target
 * filesystem (${ROOT})):
 * 
 *      /usr/bin/passwd
 *              /bin/passwd
 *              /usr/bin/passwd
 *                      Differences: type, mode
 * 
 * Package 'sys-apps/shadow-4.14.2' NOT merged due to internal collisions
 * between non-identical files. If necessary, refer to your elog messages
 * for the whole content of the above message.

app-alternatives/awk
and
sys-apps/coreutils

fails with similar error messages.

I noticed that these three packages have the "split-usr" flag set by the ebuild. Thinking that might be the cause I made a local overlay with a new version of awk where I edited out any reference to split-usr. Rebuilding awk with that ebuild completed successfully.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-10 19:19:58 UTC
Have you done osmething like select a 17.1 profile after picking a 23.0 (merged-usr, which is teh default) stage3? Which tarball did you download?
Comment 2 Ingebrigt 2024-05-10 19:46:06 UTC
(In reply to Sam James from comment #1)
> Have you done osmething like select a 17.1 profile after picking a 23.0
> (merged-usr, which is teh default) stage3? Which tarball did you download?

I downloaded "stage 3 desktop profile openrc" from may 5.
I glossed over the fact that the first profiles on the list was 17.1 profiles,so I mistakenly selected that desktop profile.
Now, after changing to:
default/linux/amd64/23.0/desktop (stable) *
shadow build and installs properly.

So it seems we can put this one down to user error.