Hi ! I'm currently using a test machine to run vservers, and I was about to configure X server on it when I realized portage was about to install gentoo-sources, while I was already running a 2.6.15-vserver. I searched for a while, trying to understand how dependencies are dealed with in portage, and I think I found what happens : ati-drivers : DEPEND=">=virtual/linux-sources-2.4 I looked at gentoo-sources and vserver-sources ebuilds, and I think the problem is located directly in the naming convention of the vserver-sources. More particularly, the kernel_is* functions of the kernel-2 eclass causes this behaviour. vserver-sources ebuilds are named vservers-sources-2.0.1-rx, for example. So, major version number is 2, but minor one is 0. Neither the kernel_is_2_6 nor the kernel_is_2_4 function are able to understand that this is a real 2.6 kernel, despite the versionning. The simpliest solution to this problem seems to patch the ati-drivers ebuilds as follows. An other way to deal with would be to name the vserver-sources series, following the kernel version thay are based on. but I guess there would be a very good reason not to do so ;-)
Created attachment 86610 [details, diff] ati-drivers ebuild patch
Hi ! Is there a problem with this patch ? Maybe this is just not the way you wish to deal this problem with ? Let me know, to allow me to work on it ? Thanks !
*** This bug has been marked as a duplicate of 118442 ***