=sys-libs/glibc-2.33-r1 regressed at handling ROOT=/. I have a `crossdev -t x86_64-HEAD-linux-gnu` target installed. Today glibc failed to install with a collision with sys-libs/glibc: * checking 1404 files for package collisions * This package will overwrite one or more files that may belong to other * packages (see list below). You can use a command such as `portageq * owners / <filename>` to identify the installed package that owns a * file. If portageq reports that only one package owns a file then do * NOT file a bug report. A bug report is only useful if it identifies at * least two or more packages that are known to install the same file(s). * If a collision occurs and you can not explain where the file came from * then you should simply ignore the collision since there is not enough * information to determine if a real problem exists. Please do NOT file * a bug report at https://bugs.gentoo.org/ unless you report exactly * which two packages install the same file(s). See * https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how * to solve the problem. And once again, please do NOT file a bug report * unless you have completely understood the above message. * * Detected file collision(s): * * /lib64/ld-lsb-x86-64.so.3 * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * sys-libs/glibc-2.33-r1:2.2::gentoo * /lib64/ld-lsb-x86-64.so.3 * * Package 'cross-x86_64-HEAD-linux-gnu/glibc-2.33-r1' NOT merged due to * file collisions. If necessary, refer to your elog messages for the * whole content of the above message.
I think it's gentoo's own code that fails to account for $(alt_prefix): local lsb_ldso_name native_ldso_name lsb_ldso_abi local lsb_ldso_abi_list=( # x86 amd64 ld-linux-x86-64.so.2 ld-lsb-x86-64.so.3 ) for (( i = 0; i < ${#lsb_ldso_abi_list[@]}; i += 3 )) ; do lsb_ldso_abi=${lsb_ldso_abi_list[i]} native_ldso_name=${lsb_ldso_abi_list[i+1]} lsb_ldso_name=${lsb_ldso_abi_list[i+2]} has ${lsb_ldso_abi} $(get_install_abis) || continue if [[ ! -L ${ED}/$(get_abi_LIBDIR ${lsb_ldso_abi})/${lsb_ldso_name} && ! -e ${ED}/$(get_abi_LIBDIR ${lsb_ldso_abi})/${lsb_ldso_name} ]] ; then dosym ${native_ldso_name} "/$(get_abi_LIBDIR ${lsb_ldso_abi})/${lsb_ldso_name}" fi done
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57e4d1f2840ce7048d43f553a1d00caa48abb919 commit 57e4d1f2840ce7048d43f553a1d00caa48abb919 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-06-12 11:35:43 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-06-12 11:39:02 +0000 sys-libs/glibc: fix symlink path for ld-lsb for cross-* packages Closes: https://bugs.gentoo.org/795582 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-libs/glibc/glibc-2.33-r1.ebuild | 2 +- sys-libs/glibc/glibc-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)