Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133015 - ati-drivers does not accept vserver-sources as a valid kernel package
Summary: ati-drivers does not accept vserver-sources as a valid kernel package
Status: RESOLVED DUPLICATE of bug 118442
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-11 06:36 UTC by Hubert Mercier (RETIRED)
Modified: 2006-10-24 02:53 UTC (History)
0 users

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


Attachments
ati-drivers ebuild patch (ati-drivers-8.21.7-r1.ebuild.patch,408 bytes, patch)
2006-05-11 06:36 UTC, Hubert Mercier (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hubert Mercier (RETIRED) gentoo-dev 2006-05-11 06:36:16 UTC
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 ;-)
Comment 1 Hubert Mercier (RETIRED) gentoo-dev 2006-05-11 06:36:59 UTC
Created attachment 86610 [details, diff]
ati-drivers ebuild patch
Comment 2 Hubert Mercier (RETIRED) gentoo-dev 2006-06-22 06:42:03 UTC
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 !
Comment 3 Benedikt Böhm (RETIRED) gentoo-dev 2006-10-24 02:53:57 UTC

*** This bug has been marked as a duplicate of 118442 ***