🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.gentoo.user
4 messages
4 total messages Started by Pocket Wed, 18 Nov 2026 00:20
[gentoo-user] Collision linux-headers
#191
Author: 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
Re: [gentoo-user] Collision linux-headers
#194
Author: Eli Schwartz
Date: Wed, 18 Nov 2026 02:50
87 lines
5153 bytes
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------Uf0vKLIPkpsqZT0uuAMT5eL0
Content-Type: multipart/mixed; boundary="------------tbidTPxQV7zjKEp01mOrqic1";
 protected-headers="v1"; hp="clear"
Message-ID: <4bb70a45-3a1f-45b1-9675-c4b1f08d4de9@gentoo.org>
Date: Tue, 17 Nov 2026 21:39:00 -0500
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: [gentoo-user] Collision linux-headers
To: gentoo-user@lists.gentoo.org
References: <cf126320-14b9-4b96-bac4-c3a5347946b8@oldfart.online>
Content-Language: en-US
From: Eli Schwartz <eschwartz@gentoo.org>
Autocrypt: addr=eschwartz@gentoo.org; keydata=
 xjMEZmeRNBYJKwYBBAHaRw8BAQdAYNZ7pUDWhx1i2f3p6L2ZLu4FcY18UoeGC04Gq/khqwfN
 I0VsaSBTY2h3YXJ0eiA8ZXNjaHdhcnR6QGdlbnRvby5vcmc+wpYEExYKAD4CGwMFCwkIBwMF
 FQoJCAsFFgIDAQACHgUCF4AWIQTvUdMIsc4jCIi+DYTqQj6ToWND8QUCauABDQUJCJCIWQAK
 CRDqQj6ToWND8bXlAQDhi6hUxiss56cdPbsemrWdVQe3CtkpqlQccxV/4a4/QgD/dUCR+SGn
 YxNZj6lir6i/TBr0yfSSrMtKgGO1+lClSwLOOARmZ5E0EgorBgEEAZdVAQUBAQdATT46Z06b
 1X9xjXFCYFxmq/Tj3tSEKZInDWTpoHQp4l8DAQgHwn4EGBYKACYCGwwWIQTvUdMIsc4jCIi+
 DYTqQj6ToWND8QUCauABGAUJCJCIZAAKCRDqQj6ToWND8c4xAQCWj7iWpgEJUM+wf2bZCkgM
 EKEVVdv5aBJrj6Xa22UhIQEA0bIv2t9jUqUeBMHl/6i0L28s5Mrtr0ZSX3Sg/zeyrAM=
X-Clacks-Overhead: GNU Terry Pratchett
In-Reply-To: <cf126320-14b9-4b96-bac4-c3a5347946b8@oldfart.online>

--------------tbidTPxQV7zjKEp01mOrqic1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 11/17/26 7:12 PM, Pocket wrote:

> 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.=C2=A0 I searched on how to do that and I didn't find a way th=
at I
> could do so.
>=20
> How do you list the currently installed packages/emerged ebuilds?
>=20
> How can you list the files in a particular installed ebuild?
>=20
> 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).=



There are two helpful packages here:

app-portage/gentoolkit provides the "equery" command.

app-portage/portage-utils provides the various "q*" commands:
- qlist
- qfile


To list files in a particular installed ebuild, you can use "equery
files XXX" or "qlist XXX"

To list all installed packages, there is "equery list" or "qlist
--installed".

To list which package owns a file, there is "equery belongs
/path/to/file" or "qfile /path/to/file".

Both portage-utils and gentoolkit have various other nifty commands you
may find useful as well, so I would definitely encourage you to check
them out.

--=20
Eli Schwartz

--------------tbidTPxQV7zjKEp01mOrqic1--

--------------Uf0vKLIPkpsqZT0uuAMT5eL0
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature.asc"

-----BEGIN PGP SIGNATURE-----

wnsEABYIACMWIQTnFNnmK0TPZHnXm3qEp9ErcA0vVwUCav0PxAUDAAAAAAAKCRCEp9ErcA0vV01R
AQCBNQoIt55PpVVfd7dEVg8Pi2EO5Oa8FKwobguZ1E1n3QEA92u7cFcgCWAcE+2KFo2PnDot9MU3
pceNCBMorAcmnAE=
=qXkZ
-----END PGP SIGNATURE-----

--------------Uf0vKLIPkpsqZT0uuAMT5eL0--
Re: [gentoo-user] Collision linux-headers
#204
Author: D. Ben Knoble
Date: Fri, 20 Nov 2026 20:30
47 lines
4873 bytes
On Tue, Nov 17, 2026 at 9:39 PM Eli Schwartz <eschwartz@gentoo.org> wrote:
>
> On 11/17/26 7:12 PM, Pocket wrote:
>
> > 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).
>
>
> There are two helpful packages here:
>
> app-portage/gentoolkit provides the "equery" command.
>
> app-portage/portage-utils provides the various "q*" commands:
> - qlist
> - qfile
>
>
> To list files in a particular installed ebuild, you can use "equery
> files XXX" or "qlist XXX"
>
> To list all installed packages, there is "equery list" or "qlist
> --installed".
>
> To list which package owns a file, there is "equery belongs
> /path/to/file" or "qfile /path/to/file".
>
> Both portage-utils and gentoolkit have various other nifty commands you
> may find useful as well, so I would definitely encourage you to check
> them out.
>
> --
> Eli Schwartz

There is also "e-file" from app-portage/pfl :)

-- 
D. Ben Knoble
Re: [gentoo-user] Collision linux-headers
#205
Author: Eli Schwartz
Date: Fri, 20 Nov 2026 21:00
60 lines
4447 bytes
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------hVbJ5Yk575REX7GDHbmuhXre
Content-Type: multipart/mixed; boundary="------------t5UMgKBy4cqOr11nUVIfECU9";
 protected-headers="v1"; hp="clear"
Message-ID: <80586319-a430-47be-bb87-d156be6f592b@gentoo.org>
Date: Fri, 20 Nov 2026 15:49:42 -0500
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: [gentoo-user] Collision linux-headers
To: gentoo-user@lists.gentoo.org
References: <cf126320-14b9-4b96-bac4-c3a5347946b8@oldfart.online>
 <4bb70a45-3a1f-45b1-9675-c4b1f08d4de9@gentoo.org>
 <CALnO6CDpRrTYvF1P5htqTgsMVosD9MZgF54xP4HxpfANQ1a9PA@mail.gmail.com>
Content-Language: en-US
From: Eli Schwartz <eschwartz@gentoo.org>
Autocrypt: addr=eschwartz@gentoo.org; keydata=
 xjMEZmeRNBYJKwYBBAHaRw8BAQdAYNZ7pUDWhx1i2f3p6L2ZLu4FcY18UoeGC04Gq/khqwfN
 I0VsaSBTY2h3YXJ0eiA8ZXNjaHdhcnR6QGdlbnRvby5vcmc+wpYEExYKAD4CGwMFCwkIBwMF
 FQoJCAsFFgIDAQACHgUCF4AWIQTvUdMIsc4jCIi+DYTqQj6ToWND8QUCauABDQUJCJCIWQAK
 CRDqQj6ToWND8bXlAQDhi6hUxiss56cdPbsemrWdVQe3CtkpqlQccxV/4a4/QgD/dUCR+SGn
 YxNZj6lir6i/TBr0yfSSrMtKgGO1+lClSwLOOARmZ5E0EgorBgEEAZdVAQUBAQdATT46Z06b
 1X9xjXFCYFxmq/Tj3tSEKZInDWTpoHQp4l8DAQgHwn4EGBYKACYCGwwWIQTvUdMIsc4jCIi+
 DYTqQj6ToWND8QUCauABGAUJCJCIZAAKCRDqQj6ToWND8c4xAQCWj7iWpgEJUM+wf2bZCkgM
 EKEVVdv5aBJrj6Xa22UhIQEA0bIv2t9jUqUeBMHl/6i0L28s5Mrtr0ZSX3Sg/zeyrAM=
X-Clacks-Overhead: GNU Terry Pratchett
In-Reply-To: <CALnO6CDpRrTYvF1P5htqTgsMVosD9MZgF54xP4HxpfANQ1a9PA@mail.gmail.com>

--------------t5UMgKBy4cqOr11nUVIfECU9
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 11/20/26 3:27 PM, D. Ben Knoble wrote:


> There is also "e-file" from app-portage/pfl :)


That does not tell you what files map to installed ebuilds, it tells you
what files map to *uninstalled* ebuilds. :)


--=20
Eli Schwartz

--------------t5UMgKBy4cqOr11nUVIfECU9--

--------------hVbJ5Yk575REX7GDHbmuhXre
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature.asc"

-----BEGIN PGP SIGNATURE-----

wnsEABYIACMWIQTnFNnmK0TPZHnXm3qEp9ErcA0vVwUCawCyZwUDAAAAAAAKCRCEp9ErcA0vV5nD
AQDFXj0hS3/KExh3vq3rS4Lse1zJx9X2j6pxur29k/g+2QEAsJQDZIOy7YxTMvKBlY/1DHdKRUnT
KfnGRcu6kgrB8AY=
=nbzY
-----END PGP SIGNATURE-----

--------------hVbJ5Yk575REX7GDHbmuhXre--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads