Created attachment 689724 [details] build.log showing file collisions The pre-built gentoo-kernel-bin installs to the same directory as vanilla-sources, /usr/src/linux-${PV}, preventing install due to file conflicts. =emerge -pvqO vanilla-sources:5.11.3 [ebuild R ] sys-kernel/vanilla-sources-5.11.3 USE="-build -symlink" =emerge -1 gentoo-kernel-bin:5.11.3 ... * Package 'sys-kernel/gentoo-kernel-bin-5.11.3-r2' NOT merged due to * file collisions. If necessary, refer to your elog messages for the * whole content of the above message. Ideally, the -bin should either install to a different directory, or block same-version vanilla-sources.
Hmm, I'm wondering if we should force -gentoo suffix like gentoo-sources do, for a start. We could also add an extra '-dist' suffix or sth like that to prevent collisions even further. That said, I'm not sure if there's a point in trying to prevent collisions between source and -bin variants, as they're practically the same thing.
(In reply to Michał Górny from comment #1) > That said, I'm not sure if there's a point in trying to prevent collisions > between source and -bin variants, as they're practically the same thing. Except you can't actually build a kernel with what it provides, making switching (at least to vanilla-sources) at best tedious and, at worst, confusing.
(In reply to Sam Jorna (wraeth) from comment #2) > (In reply to Michał Górny from comment #1) > > That said, I'm not sure if there's a point in trying to prevent collisions > > between source and -bin variants, as they're practically the same thing. > > Except you can't actually build a kernel with what it provides, making > switching (at least to vanilla-sources) at best tedious and, at worst, > confusing. I meant between gentoo-kernel and gentoo-kernel-bin.
(In reply to Michał Górny from comment #3) > (In reply to Sam Jorna (wraeth) from comment #2) > > (In reply to Michał Górny from comment #1) > > > That said, I'm not sure if there's a point in trying to prevent collisions > > > between source and -bin variants, as they're practically the same thing. > > > > Except you can't actually build a kernel with what it provides, making > > switching (at least to vanilla-sources) at best tedious and, at worst, > > confusing. > > I meant between gentoo-kernel and gentoo-kernel-bin. Ah, that makes sense. Agreed, there's probably not much point getting gentoo-kernel and gentoo-kernel-bin installed side-by-side. The problem is just with installing to the same directory as actual sources.
If everything goes fine, today's bump will use -dist and -gentoo-dist suffixes appropriately.