🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.gentoo.user
Article #181

[gentoo-user] emerge conflict

#181
From: Pocket
Date: Tue, 17 Nov 2026 18:50
97 lines
3357 bytes
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
Technical Details
Message-ID: <O0wpH-cvr7-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Pocket <pocket@oldfart.online>
Newsgroups: linux.gentoo.user
Subject: [gentoo-user] emerge conflict
Date: Tue, 17 Nov 2026 19:50:01 +0100
Message-ID: <O0wpH-cvr7-1@gated-at.bofh.it>
List-ID: Gentoo Linux mail <gentoo-user.gentoo.org>
Reply-To: gentoo-user@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Envelope-From: pocket@oldfart.online
Approved: robomod@news.nic.it
Lines: 97
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 17 Nov 2026 13:45:09 -0500
X-Original-Message-ID: <2d5739bf-ede8-40cd-bcd1-8d72da2f0456@oldfart.online>