🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.gentoo.user
Article #191

[gentoo-user] Collision linux-headers

#191
From: Pocket
Date: Wed, 18 Nov 2026 00:20
86 lines
3236 bytes
I wrote an ebuild to install linux api headers from the upstream 
raspberry pi kernel sources

It generated the following:

  Searching all installed packages for file collisions... 

  * 

  * Press Ctrl-C to Stop 

  * 

  * sys-kernel/linux-headers-6.18:0::gentoo 

  *      /usr/include/asm-generic/auxvec.h 

  *      /usr/include/asm-generic/bitsperlong.h 

  *      /usr/include/asm-generic/bpf_perf_event.h 

  *      /usr/include/asm-generic/errno-base.h 

  *      /usr/include/asm-generic/errno.h 

  *      /usr/include/asm-generic/fcntl.h 

  *      /usr/include/asm-generic/hugetlb_encode.h 

  *      /usr/include/asm-generic/int-l64.h 

  *      /usr/include/asm-generic/int-ll64.h 

  *      /usr/include/asm-generic/ioctl.h 

  *      /usr/include/asm-generic/ioctls.h 

  *      /usr/include/asm-generic/ipcbuf.h 

  *      /usr/include/asm-generic/kvm_para.h 

  *      /usr/include/asm-generic/mman-common.h 

  *      /usr/include/asm-generic/mman.h 

  *      /usr/include/asm-generic/msgbuf.h 

  *      /usr/include/asm-generic/param.h 

  *      /usr/include/asm-generic/poll.h 

  *      /usr/include/asm-generic/posix_types.h 

  *      /usr/include/asm-generic/resource.h 

  * 

  * Package 'sys-kernel/linux-api-headers-6.18.50' NOT merged due to 
file
  * collisions. If necessary, refer to your elog messages for the whole 

  * content of the above message

Ok, I have a link headers package already installed:
I see that sys-kernel/linux-headers-6.18:0 contains api headers

I then started to research that and I came to the conclusion that I 
don't know what I am doing and I need to list all the installed 
packages.  I searched on how to do that and I didn't find a way that I 
could do so.

How do you list the currently installed packages/emerged ebuilds?

How can you list the files in a particular installed ebuild?

This will give me a path on how to resolve this issue (maybe I already 
have the linux headers installed and there is not anything to resolve).

What would the issue be if I remove sys-kernel/linux-headers-6.18:0 and 
emerge my linux-api-headers-6.18.50.ebuild ?

glibc breakage?


-- 
Hindi madali ang maging ako
Technical Details
Message-ID: <O0Bz3-cyi3-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!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!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Pocket <pocket@oldfart.online>
Newsgroups: linux.gentoo.user
Subject: [gentoo-user] Collision linux-headers
Date: Wed, 18 Nov 2026 01:20:01 +0100
Message-ID: <O0Bz3-cyi3-3@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: 86
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 17 Nov 2026 19:12:23 -0500
X-Original-Message-ID: <cf126320-14b9-4b96-bac4-c3a5347946b8@oldfart.online>