I got this issue with my ebuild I wrote for raspberry pi kernel
I complained that the kernel needs bc so I added this to my ebuild
RDEPEND="sys-devel/bc"
* 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):
*
* /usr/bin/bc
* /usr/bin/dc
*
* Searching all installed packages for file collisions...
*
* Press Ctrl-C to Stop
*
* None of the installed packages claim the file(s).
*
* Package 'app-alternatives/bc-0' merged despite file collisions. If
* necessary, refer to your elog messages for the whole content of the
* above message.
* Regenerating GNU info directory index...
* Processed 106 info files.
* IMPORTANT: 15 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
Is sys-devel/bc the correct dependency for bc or should I have used
app-alternatives/bc-0?
find /var/db/repos/gentoo/ -type d -name bc
/var/db/repos/gentoo/app-alternatives/bc
/var/db/repos/gentoo/sys-devel/bc
I choose the latter and it pulled in the app-alternatives/bc, I don't know why. There isn't an ebuild for dc
find /var/db/repos/gentoo/ -type d -name dc
The ebuild did complete.
I am still in the learning phase.
--
Hindi madali ang maging ako