Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158620 - Portage should remember the package that files under configuration file protection belong to
Summary: Portage should remember the package that files under configuration file prote...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-19 22:03 UTC by Petteri Räty (RETIRED)
Modified: 2007-06-06 00:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2006-12-19 22:03:47 UTC
Frequently when emerging external kernel modules I get file collisions like:

man:
gzipping man page: ndiswrapper.8
strip: i686-pc-linux-gnu-strip --strip-unneeded
   sbin/loadndisdriver
* checking 11 files for package collisions
existing file /lib/modules/2.6.18-gentoo-r3/misc/ndiswrapper.ko is not owned by this package
* spent 0.0637781620026 seconds checking for file collisions
* This package is blocked because it wants to overwrite
* files belonging to other packages (see messages above).
* If you have no clue what this is all about report it
* as a bug for this package on http://bugs.gentoo.org

This is cause by doing the following:
1. emerge a kernel module for version x.1
2. emerge a kernel module for version x.2
3. emerge a kernel module for version x.1

So I propose we record the package that files under a configuration file protection belong to so that when emerging again for version x.1. Portage
would not give a file collision.
Comment 1 Zac Medico gentoo-dev 2006-12-19 22:11:44 UTC
Is COLLISION_IGNORE="/lib/modules" in make.conf good enough?  It's already implemented...
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-12-20 01:43:23 UTC
(In reply to comment #1)
> Is COLLISION_IGNORE="/lib/modules" in make.conf good enough?  It's already
> implemented...

Indeed, this is exactly why I requested this feature in Bug 149412. :) Another special cases for kernel modules stuff are not a good idea IMHO, the hardcoded COLLISION_PROTECT on /lib/modules sucks enough :)
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2007-01-10 01:20:31 UTC
So can this be closed?
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2007-06-06 00:52:00 UTC
No answer == positive answer