when emerging a Kernel with emerge the symbolic link to the old source is not deleted. So genkernel uses the old source, even when the old source was unmerged previously Reproducible: Always Steps to Reproduce: 1.unmerge old kernel source 2.emerge new kernel in a higher version 3.run genkernel Expected Results: create a new sybolic link to the source
if you unmerged it but it still had object files laying around then the directory would still be there and thus the symlink would be valid and thus it would not be removed ... so is the old dir still there ?
so is the old dir still there ? yes that was it! has portage some additional parameter that will also delete the dir's? When you have much (and many different versions) to unmerge it isn't comfortable to find each dir and type rm....
portage doesn't anything about files created during the kernel build process so it can't delete them. I agree that it's annoying to unmerge old kernel sources and delete old object files by hand, but I haven't seen a better solution yet.
not a problem that portage will handle