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.
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?
(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.