The file /usr/bin/updatedb gets installed from both sys-apps/findutils-4.1.7-r3 and sys-apps/slocate-2.7. # qpkg -f `which updatedb` sys-apps/findutils * sys-apps/slocate * The same is true for locate and the manpages: # qpkg -f /usr/share/man/man1/updatedb.1.gz sys-apps/findutils * sys-apps/slocate * # qpkg -f /usr/bin/locate sys-apps/findutils * sys-apps/slocate * # qpkg -f /usr/share/man/man1/locate.1.gz sys-apps/findutils * sys-apps/slocate * Problems because of this: Unfortunately the two updatedb versions are not compatible. If the findutils overwrites updatedb from slocate then the cron script from slocate fails because findutils' updatedb doesn't understand the -f option (which is used in the cron script). Thus installing findutils after slocate breaks slocate. I just took a look. Mandrake and Red Hat's findutils doesn't install it's own updatedb and locate at all.
*** Bug 18898 has been marked as a duplicate of this bug. ***
Created attachment 10491 [details, diff] patch to remove locate and updatedb from findutils.ebuild Here's a patch to remove locate and updatedb from the findutils ebuild. I'm not sure if this is the recommended way of doing this. I was shooting for the least amount of change to the package as delivered from upstream.
I've just committed findutils-4.1.7-r4 to fix this problem. It's ~-masked at the moment because I'm paranoid, but it should be right. Please give it a try.
Marked stable on x86 and alpha in cvs, closing this bug.
Created attachment 11194 [details, diff] attempt to exclude 'locate' only if USE=slang
Oops... about Attachment #11194 [details, diff] I prefer this patch, as I dont want to be forced to use slang and slocate (and have them commented out of my /etc/make.profile) Unfortunatly there will be confilcts when: 1.) USE has -slang 2.) slocate is active in /etc/make.profile This could be solved by removing slocate from the profile and/or getting portage to understand USE when building the 'system' (ie: emerge system)
Created attachment 11195 [details, diff] attempt to exclude 'locate' only if USE=slang #2 Oops... folded back in to the patch what was removed from findutils-4.1.7-r3.ebuild
I don't see what slang and slocate have to do with each other. Could you please elaborate?
No comments for almost two weeks so I'm going to close this one again. nega, you may re-open is you still think slang and slocate a related.
why not add a new (auto-)USE-Flag "slocate" ?
*** Bug 201346 has been marked as a duplicate of this bug. ***