I'm trying to install libvirt on a hardened+musl system. This pulls in net-analyzer/netcat6-1.0-r2, which tries to install /usr/share/locale/locale.alias. However, this file is already installed by sys-libs/e2fsprogs-libs-1.43.9: * Detected file collision(s): * * /usr/share/locale/locale.alias * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * sys-libs/e2fsprogs-libs-1.43.9:0::gentoo * /usr/share/locale/locale.alias * * Package 'net-analyzer/netcat6-1.0-r2' NOT merged due to file * collisions. If necessary, refer to your elog messages for the whole * content of the above message. ministore ~ # qlist sys-libs/e2fsprogs-libs /lib/libss.so.2.0 /lib/libcom_err.so.2.1 /lib/libss.so.2 /lib/libcom_err.so.2 /usr/bin/mk_cmds /usr/bin/compile_et /usr/share/doc/e2fsprogs-libs-1.43.9/README.subset.bz2 /usr/share/locale/locale.alias /usr/share/ss/ct_c.sed /usr/share/ss/ct_c.awk /usr/share/man/man3/com_err.3.bz2 /usr/share/man/man1/compile_et.1.bz2 /usr/share/man/man1/mk_cmds.1.bz2 /usr/share/et/et_h.awk /usr/share/et/et_c.awk /usr/include/ss/ss_err.h /usr/include/ss/ss.h /usr/include/com_err.h /usr/include/et/com_err.h /usr/lib/libss.so /usr/lib/libcom_err.so /usr/lib/pkgconfig/ss.pc /usr/lib/pkgconfig/com_err.pc On a glibc system this file is installed by glibc, so this seems like a problem with both e2fsprogs-libs and netcat6.
Created attachment 554697 [details] netcat6 build.log
See if you can still duplicate this, an INSTALL_MASK was introduced to address the problem. features/musl/make.defaults:INSTALL_MASK="charset.alias"