Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670785 - Multiple ebuilds try to install /usr/share/locale/locale.alias on hardened+musl
Summary: Multiple ebuilds try to install /usr/share/locale/locale.alias on hardened+musl
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-09 19:29 UTC by Stijn Tintel
Modified: 2019-08-22 02:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
netcat6 build.log (build.log,50.23 KB, text/x-log)
2018-11-09 19:30 UTC, Stijn Tintel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stijn Tintel 2018-11-09 19:29:44 UTC
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.
Comment 1 Stijn Tintel 2018-11-09 19:30:55 UTC
Created attachment 554697 [details]
netcat6 build.log
Comment 2 Jory A. Pratt gentoo-dev 2019-08-22 02:28:19 UTC
See if you can still duplicate this, an INSTALL_MASK was introduced to address the problem.

features/musl/make.defaults:INSTALL_MASK="charset.alias"