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